Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
188cd2b5
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
188cd2b5
编写于
8月 19, 2011
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ALSA: hda - Remove ALC662 model=levono-101e model quirk
Signed-off-by:
N
Takashi Iwai
<
tiwai@suse.de
>
上级
965f1b2e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
51 deletion
+0
-51
Documentation/sound/alsa/HD-Audio-Models.txt
Documentation/sound/alsa/HD-Audio-Models.txt
+0
-1
sound/pci/hda/alc662_quirks.c
sound/pci/hda/alc662_quirks.c
+0
-50
未找到文件。
Documentation/sound/alsa/HD-Audio-Models.txt
浏览文件 @
188cd2b5
...
...
@@ -73,7 +73,6 @@ ALC662/663/272
3stack-6ch 3-stack (6-channel)
3stack-6ch-dig 3-stack (6-channel) with SPDIF
5stack-dig 5-stack with SPDIF
lenovo-101e Lenovo laptop
eeepc-ep20 ASUS Eeepc EP20
m51va ASUS M51VA
g71v ASUS G71V
...
...
sound/pci/hda/alc662_quirks.c
浏览文件 @
188cd2b5
...
...
@@ -10,7 +10,6 @@ enum {
ALC662_3ST_6ch_DIG
,
ALC662_3ST_6ch
,
ALC662_5ST_DIG
,
ALC662_LENOVO_101E
,
ALC662_ASUS_EEEPC_EP20
,
ALC663_ASUS_M51VA
,
ALC663_ASUS_G71V
,
...
...
@@ -207,19 +206,6 @@ static const struct snd_kcontrol_new alc662_3ST_6ch_mixer[] = {
{
}
/* end */
};
static
const
struct
snd_kcontrol_new
alc662_lenovo_101e_mixer
[]
=
{
HDA_CODEC_VOLUME
(
"Front Playback Volume"
,
0x02
,
0x0
,
HDA_OUTPUT
),
HDA_BIND_MUTE
(
"Front Playback Switch"
,
0x02
,
2
,
HDA_INPUT
),
HDA_CODEC_VOLUME
(
"Speaker Playback Volume"
,
0x03
,
0x0
,
HDA_OUTPUT
),
HDA_BIND_MUTE
(
"Speaker Playback Switch"
,
0x03
,
2
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"Headphone Playback Switch"
,
0x1b
,
0x0
,
HDA_OUTPUT
),
HDA_CODEC_VOLUME
(
"Line Playback Volume"
,
0x0b
,
0x02
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"Line Playback Switch"
,
0x0b
,
0x02
,
HDA_INPUT
),
HDA_CODEC_VOLUME
(
"Mic Playback Volume"
,
0x0b
,
0x1
,
HDA_INPUT
),
HDA_CODEC_MUTE
(
"Mic Playback Switch"
,
0x0b
,
0x1
,
HDA_INPUT
),
{
}
/* end */
};
static
const
struct
snd_kcontrol_new
alc662_eeepc_ep20_mixer
[]
=
{
ALC262_HIPPO_MASTER_SWITCH
,
HDA_CODEC_VOLUME
(
"Front Playback Volume"
,
0x02
,
0x0
,
HDA_OUTPUT
),
...
...
@@ -492,12 +478,6 @@ static const struct hda_verb alc662_eapd_init_verbs[] = {
{
}
};
static
const
struct
hda_verb
alc662_sue_init_verbs
[]
=
{
{
0x14
,
AC_VERB_SET_UNSOLICITED_ENABLE
,
AC_USRSP_EN
|
ALC_FRONT_EVENT
},
{
0x1b
,
AC_VERB_SET_UNSOLICITED_ENABLE
,
AC_USRSP_EN
|
ALC_HP_EVENT
},
{}
};
/* Set Unsolicited Event*/
static
const
struct
hda_verb
alc662_eeepc_ep20_sue_init_verbs
[]
=
{
{
0x1b
,
AC_VERB_SET_PIN_WIDGET_CONTROL
,
PIN_OUT
},
...
...
@@ -668,19 +648,6 @@ static const struct snd_kcontrol_new alc272_auto_capture_mixer[] = {
{
}
/* end */
};
static
void
alc662_lenovo_101e_setup
(
struct
hda_codec
*
codec
)
{
struct
alc_spec
*
spec
=
codec
->
spec
;
spec
->
autocfg
.
hp_pins
[
0
]
=
0x1b
;
spec
->
autocfg
.
line_out_pins
[
0
]
=
0x14
;
spec
->
autocfg
.
speaker_pins
[
0
]
=
0x15
;
spec
->
automute
=
1
;
spec
->
detect_line
=
1
;
spec
->
automute_lines
=
1
;
spec
->
automute_mode
=
ALC_AUTOMUTE_AMP
;
}
static
void
alc662_eeepc_ep20_setup
(
struct
hda_codec
*
codec
)
{
struct
alc_spec
*
spec
=
codec
->
spec
;
...
...
@@ -861,7 +828,6 @@ static const char * const alc662_models[ALC662_MODEL_LAST] = {
[
ALC662_3ST_6ch_DIG
]
=
"3stack-6ch-dig"
,
[
ALC662_3ST_6ch
]
=
"3stack-6ch"
,
[
ALC662_5ST_DIG
]
=
"5stack-dig"
,
[
ALC662_LENOVO_101E
]
=
"lenovo-101e"
,
[
ALC662_ASUS_EEEPC_EP20
]
=
"eeepc-ep20"
,
[
ALC663_ASUS_M51VA
]
=
"m51va"
,
[
ALC663_ASUS_G71V
]
=
"g71v"
,
...
...
@@ -945,12 +911,10 @@ static const struct snd_pci_quirk alc662_cfg_tbl[] = {
SND_PCI_QUIRK
(
0x152d
,
0x2304
,
"Quanta WH1"
,
ALC663_ASUS_H13
),
SND_PCI_QUIRK
(
0x1565
,
0x820f
,
"Biostar TA780G M2+"
,
ALC662_3ST_6ch_DIG
),
SND_PCI_QUIRK
(
0x1631
,
0xc10c
,
"PB RS65"
,
ALC663_ASUS_M51VA
),
SND_PCI_QUIRK
(
0x17aa
,
0x101e
,
"Lenovo"
,
ALC662_LENOVO_101E
),
SND_PCI_QUIRK
(
0x1849
,
0x3662
,
"ASROCK K10N78FullHD-hSLI R3.0"
,
ALC662_3ST_6ch_DIG
),
SND_PCI_QUIRK_MASK
(
0x1854
,
0xf000
,
0x2000
,
"ASUS H13-200x"
,
ALC663_ASUS_H13
),
SND_PCI_QUIRK
(
0x1991
,
0x5628
,
"Ordissimo EVE"
,
ALC662_LENOVO_101E
),
{}
};
...
...
@@ -999,20 +963,6 @@ static const struct alc_config_preset alc662_presets[] = {
.
channel_mode
=
alc662_5stack_modes
,
.
input_mux
=
&
alc662_capture_source
,
},
[
ALC662_LENOVO_101E
]
=
{
.
mixers
=
{
alc662_lenovo_101e_mixer
},
.
init_verbs
=
{
alc662_init_verbs
,
alc662_eapd_init_verbs
,
alc662_sue_init_verbs
},
.
num_dacs
=
ARRAY_SIZE
(
alc662_dac_nids
),
.
dac_nids
=
alc662_dac_nids
,
.
num_channel_mode
=
ARRAY_SIZE
(
alc662_3ST_2ch_modes
),
.
channel_mode
=
alc662_3ST_2ch_modes
,
.
input_mux
=
&
alc662_lenovo_101e_capture_source
,
.
unsol_event
=
alc_sku_unsol_event
,
.
setup
=
alc662_lenovo_101e_setup
,
.
init_hook
=
alc_inithook
,
},
[
ALC662_ASUS_EEEPC_EP20
]
=
{
.
mixers
=
{
alc662_eeepc_ep20_mixer
,
alc662_chmode_mixer
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录