* Sound broken in 3.2.0 and 3.2.1
@ 2012-01-13 19:44 Joseph Parmelee
2012-01-22 19:11 ` Maciej Rutecki
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Joseph Parmelee @ 2012-01-13 19:44 UTC (permalink / raw)
To: linux-kernel
Hello:
I have built standard kernels 3.2.0 and 3.2.1 and their respective modules.
Both exhibit no sound with the following sound modules installed:
snd_pcm_oss
snd_mixer_oss
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
snd_pcm
snd_timer
snd
soundcore
snd_page_alloc
Kernels 3.1.8 works as expected with the same set of modules (for 3.1.8)
installed.
What appears to be happening is that the available controls are not being
properly elucidated in 3.2.x. For example both aumix and gamix show that
the PCM control is missing; it appears normally in 3.1.x using the same set
of driver modules. This is causing the immediate problem as this control is
set to zero on bootup and cannot be accessed thereafter. Sound appears to
play normally through the alsa driver in mplayer for example, and the
internal mplayer volume control appears to work normally, but there is no
sound.
The controls elucidated differ as follows (taken from gamix) for the same
hardware (intel hda with realtek alc662 codec):
3.1.x:
1 - PCM
2 - Headphone
3 - Rear Mic
4 - Front Mic
5 - Line
6 - Auto-mute Mode
7 - Capture
8 - Capture 1
9 - Input Source
10 - Input Source 1
11 - IEC958
12 - Master
3.2.x:
1 - Master
2 - Channel Mode
3 - Front
4 - Surround
5 - Center
6 - LFE
7 - Headphone
8 - Rear Mic
9 - Line
10 - Auto-mute Mode
11 - Capture
12 - Capture 1
13 - Input Source
14 - Input Source 1
15 - IEC958
Yours,
Joseph Parmelee
Wild Bear Systems
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Sound broken in 3.2.0 and 3.2.1
2012-01-13 19:44 Sound broken in 3.2.0 and 3.2.1 Joseph Parmelee
@ 2012-01-22 19:11 ` Maciej Rutecki
2012-01-23 9:44 ` Takashi Iwai
2012-01-23 20:27 ` Joseph Parmelee
2 siblings, 0 replies; 7+ messages in thread
From: Maciej Rutecki @ 2012-01-22 19:11 UTC (permalink / raw)
To: Joseph Parmelee; +Cc: linux-kernel
On piątek, 13 stycznia 2012 o 20:44:03 Joseph Parmelee wrote:
> Hello:
>
> I have built standard kernels 3.2.0 and 3.2.1 and their respective modules.
> Both exhibit no sound with the following sound modules installed:
>
> snd_pcm_oss
> snd_mixer_oss
> snd_hda_codec_realtek
> snd_hda_intel
> snd_hda_codec
> snd_pcm
> snd_timer
> snd
> soundcore
> snd_page_alloc
>
> Kernels 3.1.8 works as expected with the same set of modules (for 3.1.8)
> installed.
>
> What appears to be happening is that the available controls are not being
> properly elucidated in 3.2.x. For example both aumix and gamix show that
> the PCM control is missing; it appears normally in 3.1.x using the same set
> of driver modules. This is causing the immediate problem as this control
> is set to zero on bootup and cannot be accessed thereafter. Sound appears
> to play normally through the alsa driver in mplayer for example, and the
> internal mplayer volume control appears to work normally, but there is no
> sound.
>
> The controls elucidated differ as follows (taken from gamix) for the same
> hardware (intel hda with realtek alc662 codec):
>
> 3.1.x:
>
> 1 - PCM
> 2 - Headphone
> 3 - Rear Mic
> 4 - Front Mic
> 5 - Line
> 6 - Auto-mute Mode
> 7 - Capture
> 8 - Capture 1
> 9 - Input Source
> 10 - Input Source 1
> 11 - IEC958
> 12 - Master
>
>
> 3.2.x:
>
> 1 - Master
> 2 - Channel Mode
> 3 - Front
> 4 - Surround
> 5 - Center
> 6 - LFE
> 7 - Headphone
> 8 - Rear Mic
> 9 - Line
> 10 - Auto-mute Mode
> 11 - Capture
> 12 - Capture 1
> 13 - Input Source
> 14 - Input Source 1
> 15 - IEC958
>
>
I created a Bugzilla entry at
https://bugzilla.kernel.org/show_bug.cgi?id=42631
for your bug report, please add your address to the CC list in there, thanks!
--
Maciej Rutecki
http://www.mrutecki.pl
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Sound broken in 3.2.0 and 3.2.1
2012-01-13 19:44 Sound broken in 3.2.0 and 3.2.1 Joseph Parmelee
2012-01-22 19:11 ` Maciej Rutecki
@ 2012-01-23 9:44 ` Takashi Iwai
2012-01-23 20:27 ` Joseph Parmelee
2 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2012-01-23 9:44 UTC (permalink / raw)
To: Joseph Parmelee; +Cc: linux-kernel
At Fri, 13 Jan 2012 13:44:03 -0600 (CST),
Joseph Parmelee wrote:
>
> Hello:
>
> I have built standard kernels 3.2.0 and 3.2.1 and their respective modules.
> Both exhibit no sound with the following sound modules installed:
>
> snd_pcm_oss
> snd_mixer_oss
> snd_hda_codec_realtek
> snd_hda_intel
> snd_hda_codec
> snd_pcm
> snd_timer
> snd
> soundcore
> snd_page_alloc
>
> Kernels 3.1.8 works as expected with the same set of modules (for 3.1.8)
> installed.
>
> What appears to be happening is that the available controls are not being
> properly elucidated in 3.2.x. For example both aumix and gamix show that
> the PCM control is missing; it appears normally in 3.1.x using the same set
> of driver modules. This is causing the immediate problem as this control is
> set to zero on bootup and cannot be accessed thereafter. Sound appears to
> play normally through the alsa driver in mplayer for example, and the
> internal mplayer volume control appears to work normally, but there is no
> sound.
>
> The controls elucidated differ as follows (taken from gamix) for the same
> hardware (intel hda with realtek alc662 codec):
>
> 3.1.x:
>
> 1 - PCM
> 2 - Headphone
> 3 - Rear Mic
> 4 - Front Mic
> 5 - Line
> 6 - Auto-mute Mode
> 7 - Capture
> 8 - Capture 1
> 9 - Input Source
> 10 - Input Source 1
> 11 - IEC958
> 12 - Master
>
>
> 3.2.x:
>
> 1 - Master
> 2 - Channel Mode
> 3 - Front
> 4 - Surround
> 5 - Center
> 6 - LFE
> 7 - Headphone
> 8 - Rear Mic
> 9 - Line
> 10 - Auto-mute Mode
> 11 - Capture
> 12 - Capture 1
> 13 - Input Source
> 14 - Input Source 1
> 15 - IEC958
It seems that the driver can now support multi-channel playbacks.
Could you give alsa-info.sh outputs on both 3.1.x and 3.2.x kernels?
Then we can analyze in more details.
thanks,
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Sound broken in 3.2.0 and 3.2.1
2012-01-13 19:44 Sound broken in 3.2.0 and 3.2.1 Joseph Parmelee
2012-01-22 19:11 ` Maciej Rutecki
2012-01-23 9:44 ` Takashi Iwai
@ 2012-01-23 20:27 ` Joseph Parmelee
2012-01-24 8:44 ` Takashi Iwai
2 siblings, 1 reply; 7+ messages in thread
From: Joseph Parmelee @ 2012-01-23 20:27 UTC (permalink / raw)
To: linux-kernel; +Cc: Takashi Iwai
Hello again:
I have managed to find a work-around for this problem so that we are now
running 3.2.1 on our production system. For that reason I can't run
also-info.sh on the 3.1.x system. I do however have the results from
/proc/asound/Intel/codec#2 for both systems taken earlier. See below.
To "fix" 3.2.1, I made the following changes to the system startup file:
I discovered that the PCM control, though absent in 3.2.1 on loading the
sound modules with
modprobe snd_hda_intel
modprobe snd_pcm_oss
appears after aplay is called on any sound file. Also the main playback
volume control has been shifted from "PCM" to "Front" which can be set with:
/usr/bin/amixer sset "Front",0 64,64
I then found that if I rebuilt mplayer2 from git (with the 3.2.1 sound
module loaded) mplayer no longer installs its own volume control filter and
used the "PCM" control normally. Because I neglected to try rebuilding with
the existing mplayer2 version before updating from git, this could be due to
a change in mplayer2.
In any event this makes the sound system usable for our purposes in 3.2.1
but is clearly a kludge around the regression reported above, particularly
the need to call aplay.
The contents of /proc/asound/Intel/codec#2 for 3.1.8 and 3.2.1 immediately
after the modules are loaded follows:
3.1.9:
Codec: Realtek ALC662 rev1
Address: 2
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0662
Subsystem Id: 0x1565821f
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="PCM Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC662 rev1 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x00 0x00]
Converter: stream=0, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=0, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Headphone Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x00 0x00]
Converter: stream=0, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
Device: name="ALC662 rev1 Digital", type="SPDIF", device=1
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Switch", index=0, device=0
Control: name="Capture Volume", index=0, device=0
Device: name="ALC662 rev1 Analog", type="Audio", device=0
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Switch", index=1, device=0
Control: name="Capture Volume", index=1, device=0
Device: name="ALC662 rev1 Analog", type="Audio", device=2
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Rear Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Rear Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Front Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Front Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Line Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Control: name="Line Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 9
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x04 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="PCM Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0001003c: IN OUT HP EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x01014410: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x0c
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00010034: IN OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Rear Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00001734: IN OUT Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x01a19c30: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Front Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000173c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02a19c31: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x1
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 2
0x0c* 0x0e
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x0181343f: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x3, Sequence = 0xf
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000173c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02214c1f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=04, enabled=1
Connection: 2
0x0c 0x0e*
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x4004c601: [N/A] Line Out at Ext N/A
Conn = RCA, Color = UNKNOWN
DefAssociation = 0x0, Sequence = 0x1
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x01441120: [Jack] SPDIF Out at Ext Rear
Conn = RCA, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=12
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Input Source", index=1, device=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Input Source", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
3.2.1:
Codec: Realtek ALC662 rev1
Address: 2
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0662
Subsystem Id: 0x1565821f
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Front Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC662 rev1 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x00 0x00]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Surround Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Center Playback Volume", index=0, device=0
ControlAmp: chs=1, dir=Out, idx=0, ofs=0
Control: name="LFE Playback Volume", index=0, device=0
ControlAmp: chs=2, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
Device: name="ALC662 rev1 Digital", type="SPDIF", device=1
Converter: stream=8, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Switch", index=0, device=0
Control: name="Capture Volume", index=0, device=0
Device: name="ALC662 rev1 Analog", type="Audio", device=0
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Switch", index=1, device=0
Control: name="Capture Volume", index=1, device=0
Device: name="ALC662 rev1 Analog", type="Audio", device=2
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Rear Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Rear Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Front Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Front Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Line Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Control: name="Line Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 9
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x04 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Front Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0001003c: IN OUT HP EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x01014410: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x0c
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00010034: IN OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Center Playback Switch", index=0, device=0
ControlAmp: chs=1, dir=Out, idx=0, ofs=0
Control: name="LFE Playback Switch", index=0, device=0
ControlAmp: chs=2, dir=Out, idx=0, ofs=0
Control: name="Rear Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00001734: IN OUT Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x01a19c30: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Front Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000173c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02a19c31: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x1
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 2
0x0c* 0x0e
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Surround Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x0181343f: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x3, Sequence = 0xf
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000173c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02214c1f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=04, enabled=1
Connection: 2
0x0c* 0x0e
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x4004c601: [N/A] Line Out at Ext N/A
Conn = RCA, Color = UNKNOWN
DefAssociation = 0x0, Sequence = 0x1
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x01441120: [Jack] SPDIF Out at Ext Rear
Conn = RCA, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=12
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Input Source", index=1, device=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Input Source", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
These results were obtained after rebuilding (in this order) alsalibs,
alsautils, gamix, aumix, and sox in linux-3.2.1 with the sound modules for
3.2.1 installed.
Both the PCM and Front sound controls now show in alsamixer and amixer, and
work normally.
The PCM slider now shows in gamix and moving it does affect the setting, but
it does not track the PCM setting from other sources. The Front slider also
now appears in gamix and works normally.
Neither the PCM nor Front control shows in aumix.
The output from /proc/asound/Intel/codec#2 for 3.2.1 after the kludges above
in the startup file follows. Note that the only change is due to the Front
volume being set with amixer. In particular the PCM control is still
missing here but now shows and works normallly in amixer and alsamixer, and
it controls the sound output normally in aplay, play, and mplayer2.
Codec: Realtek ALC662 rev1
Address: 2
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0662
Subsystem Id: 0x1565821f
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Front Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC662 rev1 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Surround Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Center Playback Volume", index=0, device=0
ControlAmp: chs=1, dir=Out, idx=0, ofs=0
Control: name="LFE Playback Volume", index=0, device=0
ControlAmp: chs=2, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
Device: name="ALC662 rev1 Digital", type="SPDIF", device=1
Converter: stream=8, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Switch", index=0, device=0
Control: name="Capture Volume", index=0, device=0
Device: name="ALC662 rev1 Analog", type="Audio", device=0
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Switch", index=1, device=0
Control: name="Capture Volume", index=1, device=0
Device: name="ALC662 rev1 Analog", type="Audio", device=2
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Rear Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Rear Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Front Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Front Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Line Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Control: name="Line Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 9
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x04 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Front Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0001003c: IN OUT HP EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x01014410: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x0c
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00010034: IN OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Center Playback Switch", index=0, device=0
ControlAmp: chs=1, dir=Out, idx=0, ofs=0
Control: name="LFE Playback Switch", index=0, device=0
ControlAmp: chs=2, dir=Out, idx=0, ofs=0
Control: name="Rear Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00001734: IN OUT Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x01a19c30: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Front Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000173c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02a19c31: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x1
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 2
0x0c* 0x0e
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Surround Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x0181343f: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x3, Sequence = 0xf
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000173c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02214c1f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=04, enabled=1
Connection: 2
0x0c* 0x0e
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x4004c601: [N/A] Line Out at Ext N/A
Conn = RCA, Color = UNKNOWN
DefAssociation = 0x0, Sequence = 0x1
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x01441120: [Jack] SPDIF Out at Ext Rear
Conn = RCA, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=12
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Input Source", index=1, device=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Input Source", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
If you need additional information, please contact me and I will try to
provide it.
Yours,
Joseph Parmelee
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Sound broken in 3.2.0 and 3.2.1
2012-01-23 20:27 ` Joseph Parmelee
@ 2012-01-24 8:44 ` Takashi Iwai
2012-01-24 14:31 ` Joseph Parmelee
0 siblings, 1 reply; 7+ messages in thread
From: Takashi Iwai @ 2012-01-24 8:44 UTC (permalink / raw)
To: Joseph Parmelee; +Cc: linux-kernel
At Mon, 23 Jan 2012 14:27:01 -0600 (CST),
Joseph Parmelee wrote:
>
> Hello again:
>
> I have managed to find a work-around for this problem so that we are now
> running 3.2.1 on our production system. For that reason I can't run
> also-info.sh on the 3.1.x system. I do however have the results from
> /proc/asound/Intel/codec#2 for both systems taken earlier. See below.
Hm, could you run alsa-info.sh now? The proc codec file isn't
comprehensive and lacks of many info. Also, if you get alsa-info.sh
outputs, please use attachments. It's more handy to have them in
separate files than in embedded texts.
> To "fix" 3.2.1, I made the following changes to the system startup file:
>
> I discovered that the PCM control, though absent in 3.2.1 on loading the
> sound modules with
>
> modprobe snd_hda_intel
> modprobe snd_pcm_oss
>
> appears after aplay is called on any sound file. Also the main playback
> volume control has been shifted from "PCM" to "Front" which can be set with:
>
> /usr/bin/amixer sset "Front",0 64,64
The main volume control is always "Master". It wasn't changed. "PCM"
is an additional control. Now the driver supports multi-channel
playback, thus "PCM" control is split to each channel.
Usually alsactl should initialize such uninitialized volumes
appropriately at boot time, but this didn't seem to work in your
case. Maybe it's a bug that was recently fixed in alsa-utils
package.
thanks,
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Sound broken in 3.2.0 and 3.2.1
2012-01-24 8:44 ` Takashi Iwai
@ 2012-01-24 14:31 ` Joseph Parmelee
2012-01-24 14:37 ` Takashi Iwai
0 siblings, 1 reply; 7+ messages in thread
From: Joseph Parmelee @ 2012-01-24 14:31 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-kernel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 3292 bytes --]
On Tue, 24 Jan 2012, Takashi Iwai wrote:
> Hm, could you run alsa-info.sh now? The proc codec file isn't
> comprehensive and lacks of many info. Also, if you get alsa-info.sh
> outputs, please use attachments. It's more handy to have them in
> separate files than in embedded texts.
>
Attached please find result of alsa-info.sh run on 3.2.1 AFTER the startup
file has been run. As I mentioned before, this is a production system and I
have had to take it down too many times already in dealing with this
problem. This regression is not to the test version of linux, where one
expects to play adventure, but to the supposedly stable version.
>> To "fix" 3.2.1, I made the following changes to the system startup file:
>>
>> I discovered that the PCM control, though absent in 3.2.1 on loading the
>> sound modules with
>>
>> modprobe snd_hda_intel
>> modprobe snd_pcm_oss
>>
>> appears after aplay is called on any sound file. Also the main playback
>> volume control has been shifted from "PCM" to "Front" which can be set with:
>>
>> /usr/bin/amixer sset "Front",0 64,64
>
> The main volume control is always "Master". It wasn't changed. "PCM"
> is an additional control. Now the driver supports multi-channel
> playback, thus "PCM" control is split to each channel.
>
The key point here is that the FRONT control is new and initialized to zero,
and the PCM control for the channel being used does not appear until after
aplay is run from the command line. Prior to that, PCM is invisible and
cannot be reached by any of the mixers. Moreover, it is not activated by
mplayer which is what caused our immediate problem; aplay has to be run from
the command line on some sound file.
As you say the MASTER control (mono) affects everything. I should have said
the new FRONT control (stereo, initialized to zero) appears to affect all
playback (at least through the channel we use) and there is still no control
named MASTER PLAYBACK visible, though it now shows in the output of alsactl
initialized to max. There is only one PCM control visible (after aplay is
run) which affects play, aplay, and mplayer. There are probably more
controls that are not yet visible, particularly those involving capture
which we don't use. Some of these are likely also initialized to zero and
will cause trouble for those trying to use them. As I mentioned, this is a
kludge for our system developed by playing adventure and is not claimed to
be general in any sense.
> Usually alsactl should initialize such uninitialized volumes
> appropriately at boot time, but this didn't seem to work in your
> case. Maybe it's a bug that was recently fixed in alsa-utils
> package.
>
How is that supposed to work the first time alsactl is called? We rely
ultimately on the sound modules appropriately initializing the controls on
loading. If there is now a dependence on alsactl to initialize, as well as
save/restore the sound state, that should be clearly documented and/or a
suitable initial asound.state provided for each module.
As I mentioned, I first rebuilt everything using the latest released
versions to avoid just this scenario. If there is a fix in alsa-utils for
this which is still stuck in the repository, please see that it is released
immediately.
Yours,
Joseph Parmelee
[-- Attachment #2: Output of alsa-info.sh --]
[-- Type: TEXT/PLAIN, Size: 34897 bytes --]
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################
!!Script ran on: Tue Jan 24 13:38:53 UTC 2012
!!Linux Distribution
!!------------------
!!DMI Information
!!---------------
Manufacturer: BIOSTAR Group
Product Name: 945GC-M4
Product Version: None
!!Kernel Information
!!------------------
Kernel release: 3.2.1
Operating System: GNU/Linux
Architecture: i686
Processor: unknown
SMP Enabled: No
!!ALSA Version
!!------------
Driver version: 1.0.24
Library version: 1.0.24.1
Utilities version: 1.0.24.2
!!Loaded ALSA modules
!!-------------------
snd_hda_intel
!!Sound Servers on this system
!!----------------------------
ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - No
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfbe38000 irq 41
!!PCI Soundcards installed in the system
!!--------------------------------------
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!--------------------------------------------------------
00:1b.0 0403: 8086:27d8 (rev 01)
Subsystem: 1565:821f
!!Loaded sound module options
!!--------------------------
!!Module: snd_hda_intel
align_buffer_size : N
bdl_pos_adj : 1,-1,-1,-1,-1,-1,-1,-1
enable : Y,Y,Y,Y,Y,Y,Y,Y
enable_msi : -1
id : (null),(null),(null),(null),(null),(null),(null),(null)
index : -1,-1,-1,-1,-1,-1,-1,-1
model : (null),(null),(null),(null),(null),(null),(null),(null)
patch : (null),(null),(null),(null),(null),(null),(null),(null)
position_fix : 0,0,0,0,0,0,0,0
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1
probe_only : 0,0,0,0,0,0,0,0
single_cmd : N
snoop : Y
!!HDA-Intel Codec information
!!---------------------------
--startcollapse--
Codec: Realtek ALC662 rev1
Address: 2
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0662
Subsystem Id: 0x1565821f
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Front Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Device: name="ALC662 rev1 Analog", type="Audio", device=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Surround Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Center Playback Volume", index=0, device=0
ControlAmp: chs=1, dir=Out, idx=0, ofs=0
Control: name="LFE Playback Volume", index=0, device=0
ControlAmp: chs=2, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
Amp-Out vals: [0x40 0x40]
Converter: stream=8, channel=0
PCM:
rates [0x160]: 44100 48000 96000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
Device: name="ALC662 rev1 Digital", type="SPDIF", device=1
Converter: stream=8, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Switch", index=0, device=0
Control: name="Capture Volume", index=0, device=0
Device: name="ALC662 rev1 Analog", type="Audio", device=0
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Control: name="Capture Switch", index=1, device=0
Control: name="Capture Volume", index=1, device=0
Device: name="ALC662 rev1 Analog", type="Audio", device=2
Amp-In caps: ofs=0x09, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Rear Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Rear Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Front Mic Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Front Mic Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=1, ofs=0
Control: name="Line Playback Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Control: name="Line Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=In, idx=2, ofs=0
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 9
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x00 0x00]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2
0x04 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Front Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0001003c: IN OUT HP EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x01014410: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1
0x0c
Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00010034: IN OUT EAPD Detect
EAPD 0x2: EAPD
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Center Playback Switch", index=0, device=0
ControlAmp: chs=1, dir=Out, idx=0, ofs=0
Control: name="LFE Playback Switch", index=0, device=0
ControlAmp: chs=2, dir=Out, idx=0, ofs=0
Control: name="Rear Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00001734: IN OUT Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x01a19c30: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 1
0x0e
Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Front Mic Boost Volume", index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x0000173c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02a19c31: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x3, Sequence = 0x1
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 2
0x0c* 0x0e
Node 0x1a [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Surround Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x0181343f: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x3, Sequence = 0xf
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 1
0x0d
Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Control: name="Headphone Playback Switch", index=0, device=0
ControlAmp: chs=3, dir=Out, idx=0, ofs=0
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-Out vals: [0x00 0x00]
Pincap 0x0000173c: IN OUT HP Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x02214c1f: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0xf
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=04, enabled=1
Connection: 2
0x0c* 0x0e
Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x4004c601: [N/A] Line Out at Ext N/A
Conn = RCA, Color = UNKNOWN
DefAssociation = 0x0, Sequence = 0x1
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x01441120: [Jack] SPDIF Out at Ext Rear
Conn = RCA, Color = Black
DefAssociation = 0x2, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=12
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Input Source", index=1, device=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Control: name="Input Source", index=0, device=0
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x25 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x26 [Vendor Defined Widget] wcaps 0xf00000: Mono
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 0 Jul 18 2011 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 32 Jul 18 2011 /dev/snd/controlC1
crw-rw---- 1 root audio 116, 64 Jul 18 2011 /dev/snd/controlC2
crw-rw---- 1 root audio 116, 96 Jul 18 2011 /dev/snd/controlC3
crw-rw---- 1 root audio 116, 4 Jul 18 2011 /dev/snd/hwC0D0
crw-rw---- 1 root audio 116, 5 Jul 18 2011 /dev/snd/hwC0D1
crw-rw---- 1 root audio 116, 6 Jul 18 2011 /dev/snd/hwC0D2
crw-rw---- 1 root audio 116, 7 Jul 18 2011 /dev/snd/hwC0D3
crw-rw---- 1 root audio 116, 36 Jul 18 2011 /dev/snd/hwC1D0
crw-rw---- 1 root audio 116, 37 Jul 18 2011 /dev/snd/hwC1D1
crw-rw---- 1 root audio 116, 38 Jul 18 2011 /dev/snd/hwC1D2
crw-rw---- 1 root audio 116, 39 Jul 18 2011 /dev/snd/hwC1D3
crw-rw---- 1 root audio 116, 68 Jul 18 2011 /dev/snd/hwC2D0
crw-rw---- 1 root audio 116, 69 Jul 18 2011 /dev/snd/hwC2D1
crw-rw---- 1 root audio 116, 70 Jul 18 2011 /dev/snd/hwC2D2
crw-rw---- 1 root audio 116, 71 Jul 18 2011 /dev/snd/hwC2D3
crw-rw---- 1 root audio 116, 100 Jul 18 2011 /dev/snd/hwC3D0
crw-rw---- 1 root audio 116, 101 Jul 18 2011 /dev/snd/hwC3D1
crw-rw---- 1 root audio 116, 102 Jul 18 2011 /dev/snd/hwC3D2
crw-rw---- 1 root audio 116, 103 Jul 18 2011 /dev/snd/hwC3D3
crw-rw---- 1 root audio 116, 8 Jul 18 2011 /dev/snd/midiC0D0
crw-rw---- 1 root audio 116, 9 Jul 18 2011 /dev/snd/midiC0D1
crw-rw---- 1 root audio 116, 10 Jul 18 2011 /dev/snd/midiC0D2
crw-rw---- 1 root audio 116, 11 Jul 18 2011 /dev/snd/midiC0D3
crw-rw---- 1 root audio 116, 12 Jul 18 2011 /dev/snd/midiC0D4
crw-rw---- 1 root audio 116, 13 Jul 18 2011 /dev/snd/midiC0D5
crw-rw---- 1 root audio 116, 14 Jul 18 2011 /dev/snd/midiC0D6
crw-rw---- 1 root audio 116, 15 Jul 18 2011 /dev/snd/midiC0D7
crw-rw---- 1 root audio 116, 40 Jul 18 2011 /dev/snd/midiC1D0
crw-rw---- 1 root audio 116, 41 Jul 18 2011 /dev/snd/midiC1D1
crw-rw---- 1 root audio 116, 42 Jul 18 2011 /dev/snd/midiC1D2
crw-rw---- 1 root audio 116, 43 Jul 18 2011 /dev/snd/midiC1D3
crw-rw---- 1 root audio 116, 44 Jul 18 2011 /dev/snd/midiC1D4
crw-rw---- 1 root audio 116, 45 Jul 18 2011 /dev/snd/midiC1D5
crw-rw---- 1 root audio 116, 46 Jul 18 2011 /dev/snd/midiC1D6
crw-rw---- 1 root audio 116, 47 Jul 18 2011 /dev/snd/midiC1D7
crw-rw---- 1 root audio 116, 72 Jul 18 2011 /dev/snd/midiC2D0
crw-rw---- 1 root audio 116, 73 Jul 18 2011 /dev/snd/midiC2D1
crw-rw---- 1 root audio 116, 74 Jul 18 2011 /dev/snd/midiC2D2
crw-rw---- 1 root audio 116, 75 Jul 18 2011 /dev/snd/midiC2D3
crw-rw---- 1 root audio 116, 76 Jul 18 2011 /dev/snd/midiC2D4
crw-rw---- 1 root audio 116, 77 Jul 18 2011 /dev/snd/midiC2D5
crw-rw---- 1 root audio 116, 78 Jul 18 2011 /dev/snd/midiC2D6
crw-rw---- 1 root audio 116, 79 Jul 18 2011 /dev/snd/midiC2D7
crw-rw---- 1 root audio 116, 104 Jul 18 2011 /dev/snd/midiC3D0
crw-rw---- 1 root audio 116, 105 Jul 18 2011 /dev/snd/midiC3D1
crw-rw---- 1 root audio 116, 106 Jul 18 2011 /dev/snd/midiC3D2
crw-rw---- 1 root audio 116, 107 Jul 18 2011 /dev/snd/midiC3D3
crw-rw---- 1 root audio 116, 108 Jul 18 2011 /dev/snd/midiC3D4
crw-rw---- 1 root audio 116, 109 Jul 18 2011 /dev/snd/midiC3D5
crw-rw---- 1 root audio 116, 110 Jul 18 2011 /dev/snd/midiC3D6
crw-rw---- 1 root audio 116, 111 Jul 18 2011 /dev/snd/midiC3D7
crw-rw---- 1 root audio 116, 24 Jul 18 2011 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 16 Jan 23 16:30 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 25 Jul 18 2011 /dev/snd/pcmC0D1c
crw-rw---- 1 root audio 116, 17 Jul 18 2011 /dev/snd/pcmC0D1p
crw-rw---- 1 root audio 116, 26 Jul 18 2011 /dev/snd/pcmC0D2c
crw-rw---- 1 root audio 116, 18 Jul 18 2011 /dev/snd/pcmC0D2p
crw-rw---- 1 root audio 116, 27 Jul 18 2011 /dev/snd/pcmC0D3c
crw-rw---- 1 root audio 116, 19 Jul 18 2011 /dev/snd/pcmC0D3p
crw-rw---- 1 root audio 116, 28 Jul 18 2011 /dev/snd/pcmC0D4c
crw-rw---- 1 root audio 116, 20 Jul 18 2011 /dev/snd/pcmC0D4p
crw-rw---- 1 root audio 116, 29 Jul 18 2011 /dev/snd/pcmC0D5c
crw-rw---- 1 root audio 116, 21 Jul 18 2011 /dev/snd/pcmC0D5p
crw-rw---- 1 root audio 116, 30 Jul 18 2011 /dev/snd/pcmC0D6c
crw-rw---- 1 root audio 116, 22 Jul 18 2011 /dev/snd/pcmC0D6p
crw-rw---- 1 root audio 116, 31 Jul 18 2011 /dev/snd/pcmC0D7c
crw-rw---- 1 root audio 116, 23 Jul 18 2011 /dev/snd/pcmC0D7p
crw-rw---- 1 root audio 116, 56 Jul 18 2011 /dev/snd/pcmC1D0c
crw-rw---- 1 root audio 116, 48 Jul 18 2011 /dev/snd/pcmC1D0p
crw-rw---- 1 root audio 116, 57 Jul 18 2011 /dev/snd/pcmC1D1c
crw-rw---- 1 root audio 116, 49 Jul 18 2011 /dev/snd/pcmC1D1p
crw-rw---- 1 root audio 116, 58 Jul 18 2011 /dev/snd/pcmC1D2c
crw-rw---- 1 root audio 116, 50 Jul 18 2011 /dev/snd/pcmC1D2p
crw-rw---- 1 root audio 116, 59 Jul 18 2011 /dev/snd/pcmC1D3c
crw-rw---- 1 root audio 116, 51 Jul 18 2011 /dev/snd/pcmC1D3p
crw-rw---- 1 root audio 116, 60 Jul 18 2011 /dev/snd/pcmC1D4c
crw-rw---- 1 root audio 116, 52 Jul 18 2011 /dev/snd/pcmC1D4p
crw-rw---- 1 root audio 116, 61 Jul 18 2011 /dev/snd/pcmC1D5c
crw-rw---- 1 root audio 116, 53 Jul 18 2011 /dev/snd/pcmC1D5p
crw-rw---- 1 root audio 116, 62 Jul 18 2011 /dev/snd/pcmC1D6c
crw-rw---- 1 root audio 116, 54 Jul 18 2011 /dev/snd/pcmC1D6p
crw-rw---- 1 root audio 116, 63 Jul 18 2011 /dev/snd/pcmC1D7c
crw-rw---- 1 root audio 116, 55 Jul 18 2011 /dev/snd/pcmC1D7p
crw-rw---- 1 root audio 116, 88 Jul 18 2011 /dev/snd/pcmC2D0c
crw-rw---- 1 root audio 116, 80 Jul 18 2011 /dev/snd/pcmC2D0p
crw-rw---- 1 root audio 116, 89 Jul 18 2011 /dev/snd/pcmC2D1c
crw-rw---- 1 root audio 116, 81 Jul 18 2011 /dev/snd/pcmC2D1p
crw-rw---- 1 root audio 116, 90 Jul 18 2011 /dev/snd/pcmC2D2c
crw-rw---- 1 root audio 116, 82 Jul 18 2011 /dev/snd/pcmC2D2p
crw-rw---- 1 root audio 116, 91 Jul 18 2011 /dev/snd/pcmC2D3c
crw-rw---- 1 root audio 116, 83 Jul 18 2011 /dev/snd/pcmC2D3p
crw-rw---- 1 root audio 116, 92 Jul 18 2011 /dev/snd/pcmC2D4c
crw-rw---- 1 root audio 116, 84 Jul 18 2011 /dev/snd/pcmC2D4p
crw-rw---- 1 root audio 116, 93 Jul 18 2011 /dev/snd/pcmC2D5c
crw-rw---- 1 root audio 116, 85 Jul 18 2011 /dev/snd/pcmC2D5p
crw-rw---- 1 root audio 116, 94 Jul 18 2011 /dev/snd/pcmC2D6c
crw-rw---- 1 root audio 116, 86 Jul 18 2011 /dev/snd/pcmC2D6p
crw-rw---- 1 root audio 116, 95 Jul 18 2011 /dev/snd/pcmC2D7c
crw-rw---- 1 root audio 116, 87 Jul 18 2011 /dev/snd/pcmC2D7p
crw-rw---- 1 root audio 116, 120 Jul 18 2011 /dev/snd/pcmC3D0c
crw-rw---- 1 root audio 116, 112 Jul 18 2011 /dev/snd/pcmC3D0p
crw-rw---- 1 root audio 116, 121 Jul 18 2011 /dev/snd/pcmC3D1c
crw-rw---- 1 root audio 116, 113 Jul 18 2011 /dev/snd/pcmC3D1p
crw-rw---- 1 root audio 116, 122 Jul 18 2011 /dev/snd/pcmC3D2c
crw-rw---- 1 root audio 116, 114 Jul 18 2011 /dev/snd/pcmC3D2p
crw-rw---- 1 root audio 116, 123 Jul 18 2011 /dev/snd/pcmC3D3c
crw-rw---- 1 root audio 116, 115 Jul 18 2011 /dev/snd/pcmC3D3p
crw-rw---- 1 root audio 116, 124 Jul 18 2011 /dev/snd/pcmC3D4c
crw-rw---- 1 root audio 116, 116 Jul 18 2011 /dev/snd/pcmC3D4p
crw-rw---- 1 root audio 116, 125 Jul 18 2011 /dev/snd/pcmC3D5c
crw-rw---- 1 root audio 116, 117 Jul 18 2011 /dev/snd/pcmC3D5p
crw-rw---- 1 root audio 116, 126 Jul 18 2011 /dev/snd/pcmC3D6c
crw-rw---- 1 root audio 116, 118 Jul 18 2011 /dev/snd/pcmC3D6p
crw-rw---- 1 root audio 116, 127 Jul 18 2011 /dev/snd/pcmC3D7c
crw-rw---- 1 root audio 116, 119 Jul 18 2011 /dev/snd/pcmC3D7p
crw-rw---- 1 root audio 116, 1 Jul 18 2011 /dev/snd/seq
crw-rw---- 1 root audio 116, 33 Jul 18 2011 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 2: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Intel]
Card hw:0 'Intel'/'HDA Intel at 0xfbe38000 irq 41'
Mixer name : 'Realtek ALC662 rev1'
Components : 'HDA:10ec0662,1565821f,00100101'
Controls : 33
Simple ctrls : 20
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pswitch penum
Playback channels: Front Left - Front Right
Mono:
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'PCM',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [on]
Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front Mic Boost',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Surround',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 64
Mono:
Front Left: Playback 64 [100%] [0.00dB] [off]
Front Right: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Center',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'LFE',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-13.50dB] [off]
Front Right: Capture 0 [0%] [-13.50dB] [off]
Simple mixer control 'Capture',1
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-13.50dB] [off]
Front Right: Capture 0 [0%] [-13.50dB] [off]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
Capabilities: enum
Items: '2ch' '4ch' '6ch'
Item0: '2ch'
Simple mixer control 'Input Source',0
Capabilities: cenum
Items: 'Rear Mic' 'Front Mic' 'Line'
Item0: 'Rear Mic'
Simple mixer control 'Input Source',1
Capabilities: cenum
Items: 'Rear Mic' 'Front Mic' 'Line'
Item0: 'Rear Mic'
Simple mixer control 'Rear Mic',0
Capabilities: pvolume pswitch penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear Mic Boost',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
!!Alsactl output
!!-------------
--startcollapse--
state.Intel {
control.1 {
iface MIXER
name 'Channel Mode'
value '2ch'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 '2ch'
item.1 '4ch'
item.2 '6ch'
}
}
control.2 {
iface MIXER
name 'Front Playback Volume'
value.0 64
value.1 64
comment {
access 'read write'
type INTEGER
count 2
range '0 - 64'
dbmin -6400
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.3 {
iface MIXER
name 'Front Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.4 {
iface MIXER
name 'Surround Playback Volume'
value.0 64
value.1 64
comment {
access 'read write'
type INTEGER
count 2
range '0 - 64'
dbmin -6400
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
control.5 {
iface MIXER
name 'Surround Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.6 {
iface MIXER
name 'Center Playback Volume'
value 64
comment {
access 'read write'
type INTEGER
count 1
range '0 - 64'
dbmin -6400
dbmax 0
dbvalue.0 0
}
}
control.7 {
iface MIXER
name 'LFE Playback Volume'
value 64
comment {
access 'read write'
type INTEGER
count 1
range '0 - 64'
dbmin -6400
dbmax 0
dbvalue.0 0
}
}
control.8 {
iface MIXER
name 'Center Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.9 {
iface MIXER
name 'LFE Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.10 {
iface MIXER
name 'Headphone Playback Switch'
value.0 true
value.1 true
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.11 {
iface MIXER
name 'Rear Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.12 {
iface MIXER
name 'Rear Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.13 {
iface MIXER
name 'Front Mic Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.14 {
iface MIXER
name 'Front Mic Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.15 {
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -3450
dbmax 1200
dbvalue.0 -3450
dbvalue.1 -3450
}
}
control.16 {
iface MIXER
name 'Line Playback Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.17 {
iface MIXER
name 'Auto-Mute Mode'
value Enabled
comment {
access 'read write'
type ENUMERATED
count 1
item.0 Disabled
item.1 Enabled
}
}
control.18 {
iface MIXER
name 'Rear Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
}
control.19 {
iface MIXER
name 'Front Mic Boost Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 3'
dbmin 0
dbmax 3000
dbvalue.0 0
dbvalue.1 0
}
}
control.20 {
iface MIXER
name 'Capture Switch'
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.21 {
iface MIXER
name 'Capture Switch'
index 1
value.0 false
value.1 false
comment {
access 'read write'
type BOOLEAN
count 2
}
}
control.22 {
iface MIXER
name 'Capture Volume'
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -1350
dbmax 3300
dbvalue.0 -1350
dbvalue.1 -1350
}
}
control.23 {
iface MIXER
name 'Capture Volume'
index 1
value.0 0
value.1 0
comment {
access 'read write'
type INTEGER
count 2
range '0 - 31'
dbmin -1350
dbmax 3300
dbvalue.0 -1350
dbvalue.1 -1350
}
}
control.24 {
iface MIXER
name 'Input Source'
value 'Rear Mic'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Rear Mic'
item.1 'Front Mic'
item.2 Line
}
}
control.25 {
iface MIXER
name 'Input Source'
index 1
value 'Rear Mic'
comment {
access 'read write'
type ENUMERATED
count 1
item.0 'Rear Mic'
item.1 'Front Mic'
item.2 Line
}
}
control.26 {
iface MIXER
name 'IEC958 Playback Con Mask'
value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.27 {
iface MIXER
name 'IEC958 Playback Pro Mask'
value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access read
type IEC958
count 1
}
}
control.28 {
iface MIXER
name 'IEC958 Playback Default'
value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
comment {
access 'read write'
type IEC958
count 1
}
}
control.29 {
iface MIXER
name 'IEC958 Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.30 {
iface MIXER
name 'IEC958 Default PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.31 {
iface MIXER
name 'Master Playback Volume'
value 64
comment {
access 'read write'
type INTEGER
count 1
range '0 - 64'
dbmin -6400
dbmax 0
dbvalue.0 0
}
}
control.32 {
iface MIXER
name 'Master Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.33 {
iface MIXER
name 'PCM Playback Volume'
value.0 255
value.1 255
comment {
access 'read write user'
type INTEGER
count 2
range '0 - 255'
tlv '0000000100000008ffffec1400000014'
dbmin -5100
dbmax 0
dbvalue.0 0
dbvalue.1 0
}
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
floppy
uhci_hcd
ehci_hcd
usbcore
usb_common
snd_pcm_oss
snd_mixer_oss
snd_hda_codec_realtek
snd_hda_intel
snd_hda_codec
snd_hwdep
snd_pcm
snd_timer
snd
soundcore
snd_page_alloc
pcspkr
8139too
r8169
ipt_REJECT
xt_tcpudp
iptable_filter
ip_tables
x_tables
it87
hwmon_vid
8250
serial_core
rtc_cmos
!!Sysfs Files
!!-----------
/sys/class/sound/hwC0D2/init_pin_configs:
0x14 0x01014410
0x15 0x411111f0
0x16 0x411111f0
0x18 0x01a19c30
0x19 0x02a19c31
0x1a 0x0181343f
0x1b 0x02214c1f
0x1c 0x411111f0
0x1d 0x4004c601
0x1e 0x01441120
/sys/class/sound/hwC0D2/driver_pin_configs:
/sys/class/sound/hwC0D2/user_pin_configs:
/sys/class/sound/hwC0D2/init_verbs:
!!ALSA/HDA dmesg
!!------------------
[ 19.913040] input: PC Speaker as /devices/platform/pcspkr/input/input2
[ 20.337927] snd_hda_intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 20.338193] snd_hda_intel 0000:00:1b.0: irq 41 for MSI/MSI-X
[ 20.338216] snd_hda_intel 0000:00:1b.0: setting latency timer to 64
[ 21.697687] r8169 0000:02:00.0: eth0: link up
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Sound broken in 3.2.0 and 3.2.1
2012-01-24 14:31 ` Joseph Parmelee
@ 2012-01-24 14:37 ` Takashi Iwai
0 siblings, 0 replies; 7+ messages in thread
From: Takashi Iwai @ 2012-01-24 14:37 UTC (permalink / raw)
To: Joseph Parmelee; +Cc: linux-kernel
At Tue, 24 Jan 2012 08:31:21 -0600 (CST),
Joseph Parmelee wrote:
>
>
>
>
> On Tue, 24 Jan 2012, Takashi Iwai wrote:
>
> > Hm, could you run alsa-info.sh now? The proc codec file isn't
> > comprehensive and lacks of many info. Also, if you get alsa-info.sh
> > outputs, please use attachments. It's more handy to have them in
> > separate files than in embedded texts.
> >
>
> Attached please find result of alsa-info.sh run on 3.2.1 AFTER the startup
> file has been run. As I mentioned before, this is a production system and I
> have had to take it down too many times already in dealing with this
> problem. This regression is not to the test version of linux, where one
> expects to play adventure, but to the supposedly stable version.
Thanks.
> >> To "fix" 3.2.1, I made the following changes to the system startup file:
> >>
> >> I discovered that the PCM control, though absent in 3.2.1 on loading the
> >> sound modules with
> >>
> >> modprobe snd_hda_intel
> >> modprobe snd_pcm_oss
> >>
> >> appears after aplay is called on any sound file. Also the main playback
> >> volume control has been shifted from "PCM" to "Front" which can be set with:
> >>
> >> /usr/bin/amixer sset "Front",0 64,64
> >
> > The main volume control is always "Master". It wasn't changed. "PCM"
> > is an additional control. Now the driver supports multi-channel
> > playback, thus "PCM" control is split to each channel.
> >
>
> The key point here is that the FRONT control is new and initialized to zero,
> and the PCM control for the channel being used does not appear until after
> aplay is run from the command line. Prior to that, PCM is invisible and
> cannot be reached by any of the mixers. Moreover, it is not activated by
> mplayer which is what caused our immediate problem; aplay has to be run from
> the command line on some sound file.
It's because "PCM" volume is implemented in alsa-lib softvol plugin.
This isn't the thing handled in the driver at all.
> As you say the MASTER control (mono) affects everything. I should have said
> the new FRONT control (stereo, initialized to zero) appears to affect all
> playback (at least through the channel we use) and there is still no control
> named MASTER PLAYBACK visible, though it now shows in the output of alsactl
> initialized to max.
This is odd. If alsactl shows the Master volume, the mixer must show
it too.
> There is only one PCM control visible (after aplay is
> run) which affects play, aplay, and mplayer. There are probably more
> controls that are not yet visible, particularly those involving capture
> which we don't use. Some of these are likely also initialized to zero and
> will cause trouble for those trying to use them. As I mentioned, this is a
> kludge for our system developed by playing adventure and is not claimed to
> be general in any sense.
>
> > Usually alsactl should initialize such uninitialized volumes
> > appropriately at boot time, but this didn't seem to work in your
> > case. Maybe it's a bug that was recently fixed in alsa-utils
> > package.
> >
>
> How is that supposed to work the first time alsactl is called?
"alsactl init" initializes the volumes to some audible values. Then
it tries to restore the values from the last saved state file.
> We rely
> ultimately on the sound modules appropriately initializing the controls on
> loading.
No, it's never been so. The driver is "appropriately" initializing to
the safe value -- i.e. usually the muted status.
Takashi
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-01-24 14:37 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-13 19:44 Sound broken in 3.2.0 and 3.2.1 Joseph Parmelee
2012-01-22 19:11 ` Maciej Rutecki
2012-01-23 9:44 ` Takashi Iwai
2012-01-23 20:27 ` Joseph Parmelee
2012-01-24 8:44 ` Takashi Iwai
2012-01-24 14:31 ` Joseph Parmelee
2012-01-24 14:37 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).