* HD-audio generic parser merged to linux-next
@ 2013-01-23 8:30 Takashi Iwai
2013-01-23 8:55 ` Raymond Yau
` (2 more replies)
0 siblings, 3 replies; 26+ messages in thread
From: Takashi Iwai @ 2013-01-23 8:30 UTC (permalink / raw)
To: alsa-devel
Hi,
as most of feedbacks about the new generic parser migration were
positive, I decided to take a risk: now all commit that have been in
test/hda-migrate branch in sound-unstable git tree are merged to
for-next branch of sound git tree for better test coverage.
It means that all changes are merged to linux-next, i.e. will be
included in 3.9 kernel.
For the early adapter people, I'm going to keep test/hda-migrate
branch of sound-unstable git tree updated for a while, but the branch
will be abandoned some time later.
If you encounter any regression by the recent update, please let me
know.
thanks,
Takashi
^ permalink raw reply [flat|nested] 26+ messages in thread* Re: HD-audio generic parser merged to linux-next 2013-01-23 8:30 HD-audio generic parser merged to linux-next Takashi Iwai @ 2013-01-23 8:55 ` Raymond Yau 2013-01-23 9:09 ` Takashi Iwai 2013-01-23 13:49 ` Manolo Díaz 2013-02-11 14:20 ` Raymond Yau 2 siblings, 1 reply; 26+ messages in thread From: Raymond Yau @ 2013-01-23 8:55 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel > > as most of feedbacks about the new generic parser migration were > positive, I decided to take a risk: now all commit that have been in > test/hda-migrate branch in sound-unstable git tree are merged to > for-next branch of sound git tree for better test coverage. > It means that all changes are merged to linux-next, i.e. will be > included in 3.9 kernel. > > For the early adapter people, I'm going to keep test/hda-migrate > branch of sound-unstable git tree updated for a while, but the branch > will be abandoned some time later. > > If you encounter any regression by the recent update, please let me > know. > Neither alsa-info.sh nor system log provide any info when user has customised those hints Some feature is only available when the hardware meet minimum requirement e.g. independent headphone require at least two DAC ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 8:55 ` Raymond Yau @ 2013-01-23 9:09 ` Takashi Iwai 2013-01-24 3:26 ` Raymond Yau 0 siblings, 1 reply; 26+ messages in thread From: Takashi Iwai @ 2013-01-23 9:09 UTC (permalink / raw) To: Raymond Yau; +Cc: alsa-devel At Wed, 23 Jan 2013 16:55:09 +0800, Raymond Yau wrote: > > > > > as most of feedbacks about the new generic parser migration were > > positive, I decided to take a risk: now all commit that have been in > > test/hda-migrate branch in sound-unstable git tree are merged to > > for-next branch of sound git tree for better test coverage. > > It means that all changes are merged to linux-next, i.e. will be > > included in 3.9 kernel. > > > > For the early adapter people, I'm going to keep test/hda-migrate > > branch of sound-unstable git tree updated for a while, but the branch > > will be abandoned some time later. > > > > If you encounter any regression by the recent update, please let me > > know. > > > > Neither alsa-info.sh nor system log provide any info when user has > customised those hints Fix alsa-info.sh :) It'd be a one-liner. > Some feature is only available when the hardware meet minimum requirement > e.g. independent headphone require at least two DAC Why it's a regression? Takashi ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 9:09 ` Takashi Iwai @ 2013-01-24 3:26 ` Raymond Yau 2013-01-24 6:31 ` Takashi Iwai 0 siblings, 1 reply; 26+ messages in thread From: Raymond Yau @ 2013-01-24 3:26 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel > > > Some feature is only available when the hardware meet minimum requirement > > e.g. independent headphone require at least two DAC > > Why it's a regression? > Those hda codecs with a single DAC (e.g. stac920x, alc260) and ad1986a does no support independent headphone Also those alc66x datasheet does not mention the support of multi-streaming playback Don't create the control when there is internal speaker When driver assign two DAC to internal speaker and subwoofer (vt1802 on Asus g75) and it is confusing when there is no headphone playback volume control Don't create the control when there is no headphone Jack when the user is retasked the headphone Jack to Mic by early patching Automatically disable for those headphone mic jack when the HP Jack is retasked as mic ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-24 3:26 ` Raymond Yau @ 2013-01-24 6:31 ` Takashi Iwai 0 siblings, 0 replies; 26+ messages in thread From: Takashi Iwai @ 2013-01-24 6:31 UTC (permalink / raw) To: Raymond Yau; +Cc: alsa-devel At Thu, 24 Jan 2013 11:26:35 +0800, Raymond Yau wrote: > > > > > > Some feature is only available when the hardware meet minimum > requirement > > > e.g. independent headphone require at least two DAC > > > > Why it's a regression? > > > > Those hda codecs with a single DAC (e.g. stac920x, alc260) and ad1986a > does no support independent headphone I still don't understand what you are trying to say... The independent HP mode is created only for certain codecs like AD and VT codecs, so far. Moreover, how would "independent" HP work with a single DAC at all? The independent HP means that the individual PCM stream can be played through the headphone. It doesn't make any sense for the hardware with a single DAC. > Also those alc66x datasheet does not mention the support of multi-streaming > playback There has been no change wrt Realtek codec. We're talking about regression. > Don't create the control when there is internal speaker More context please. > When driver assign two DAC to internal speaker and subwoofer (vt1802 on > Asus g75) and it is confusing when there is no headphone playback volume > control It's rather a fix. The headphone volume was wrongly picked up although it's identical with the speaker volume. > Don't create the control when there is no headphone Jack when the user is > retasked the headphone Jack to Mic by early patching When user says it's a mic jack, how can you know it's a headphone? > Automatically disable for those headphone mic jack when the HP Jack is > retasked as mic The old behavior was rather buggy, and this is actually a fix. Think of the other scenarios: if we inactivate the control element, you may get again the crash of application as you've seen with the old AD codec parser. OTOH, if we change the value of automute mode enum, how should we do once when the independent HP is turned off again? You can't know whether user want to keep the value off or not. Takashi ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 8:30 HD-audio generic parser merged to linux-next Takashi Iwai 2013-01-23 8:55 ` Raymond Yau @ 2013-01-23 13:49 ` Manolo Díaz 2013-01-23 13:54 ` Takashi Iwai 2013-02-11 14:20 ` Raymond Yau 2 siblings, 1 reply; 26+ messages in thread From: Manolo Díaz @ 2013-01-23 13:49 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel [-- Attachment #1: Type: text/plain, Size: 1715 bytes --] El mié, 23 ene 2013 a las 9:30 horas Takashi Iwai escribió: >Hi, > >as most of feedbacks about the new generic parser migration were >positive, I decided to take a risk: now all commit that have been in >test/hda-migrate branch in sound-unstable git tree are merged to >for-next branch of sound git tree for better test coverage. >It means that all changes are merged to linux-next, i.e. will be >included in 3.9 kernel. > >For the early adapter people, I'm going to keep test/hda-migrate >branch of sound-unstable git tree updated for a while, but the branch >will be abandoned some time later. > >If you encounter any regression by the recent update, please let me >know. > > >thanks, > >Takashi >_______________________________________________ >Alsa-devel mailing list >Alsa-devel@alsa-project.org >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel Hi, Recording and (multi stream) playing seem to work fine, but auto-mute doesn't. For example, front speakers may remain muted after disconnecting the HP. cat /sys/kernel/debug/tracing/trace # tracer: nop # # entries-in-buffer/entries-written: 0/0 #P:2 # # _-----=> irqs-off # / _----=> need-resched # | / _---=> hardirq/softirq # || / _--=> preempt-depth # ||| / delay # TASK-PID CPU# |||| TIMESTAMP FUNCTION # | | | |||| | | I've connected and disconnected the HP jack several times before. branch: test/hda-migrate commit 6f4c53a1467c51966e06a1d29c6f0fee85d5c6f6 Regards, -- Manolo Díaz [-- Attachment #2: alsa-info.txt --] [-- Type: text/plain, Size: 39955 bytes --] upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.61 !!################################ !!Script ran on: Wed Jan 23 13:27:59 UTC 2013 !!Linux Distribution !!------------------ ^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/" !!DMI Information !!--------------- Manufacturer: System manufacturer Product Name: System Product Name Product Version: System Version Firmware Version: 1801 !!Kernel Information !!------------------ Kernel release: 3.8.0-rc3+ Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k3.8.0-rc3+ Library version: 1.0.25 Utilities version: 1.0.25 !!Loaded ALSA modules !!------------------- !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfe8f4000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfe9ec000 irq 42 !!PCI Soundcards installed in the system !!-------------------------------------- 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) 01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series] !!Advanced information - PCI Vendor/Device/Subsystem ID's !!------------------------------------------------------- 00:14.2 0403: 1002:4383 Subsystem: 1043:8288 -- 01:00.1 0403: 1002:aa10 Subsystem: 1043:aa10 !!Loaded sound module options !!--------------------------- !!HDA-Intel Codec information !!--------------------------- --startcollapse-- Codec: Analog Devices AD1989B Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x11d4989b Subsystem Id: 0x10438311 Revision Id: 0x100300 No Modem Function Group found Default PCM: rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 State of AFG node 0x01: Power states: D0 D3 Power: setting=D0, actual=D0 GPIO: io=3, 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=1, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x30211: 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="AD1989B Digital", type="SPDIF", device=1 Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 3 samples Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="AD1989B Analog", type="Audio", device=2 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x23 0x23] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Front Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="AD1989B Analog", type="Audio", device=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x23 0x23] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x05 [Audio Output] wcaps 0x405: 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=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x23 0x23] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x06 [Audio Output] wcaps 0x405: 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=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x23 0x23] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital Converter: stream=0, channel=0 SDI-Select: 0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Unsolicited: tag=00, enabled=0 Delay: 3 samples Connection: 1 0x1c Node 0x08 [Audio Input] wcaps 0x100501: Stereo Device: name="AD1989B Analog", type="Audio", device=0 Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0c Node 0x09 [Audio Input] wcaps 0x100501: Stereo Device: name="AD1989B Analog", type="Audio", device=2 Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0d Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Side Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x23 0x23] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 3 samples Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0x36 0x36] Connection: 11 0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 0x1f Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0xb6 0xb6] Connection: 10 0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=2, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=2, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0xb6 0xb6] Connection: 10 0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 Node 0x0f [Audio Input] wcaps 0x100501: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0e Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1 Amp-Out vals: [0x8f] Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Front Headphone Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x02214030: [Jack] HP Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0xc0: OUT HP VREF_HIZ Unsolicited: tag=01, enabled=1 Connection: 1 0x22 Node 0x12 [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 Control: name="Line Out Front Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01014010: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT VREF_HIZ Unsolicited: tag=02, enabled=1 Connection: 1 0x29 Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x9f] Pincap 0x00000010: OUT Pin Default 0x511711f0: [N/A] Speaker at Int Rear Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x2d Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Front Mic Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x02a1902e: [Jack] Mic at Ext Front Conn = 1/8, Color = Pink DefAssociation = 0x2, Sequence = 0xe Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=06, enabled=1 Connection: 1 0x2b Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Line Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00003737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01813021: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue DefAssociation = 0x2, Sequence = 0x1 Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=08, enabled=1 Connection: 1 0x2c Node 0x16 [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 Control: name="Line Out Surround Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01011012: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0x2 Pin-ctls: 0x40: OUT Unsolicited: tag=03, enabled=1 Connection: 1 0x2a Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L Control: name="Rear Mic Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00003737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01a19020: [Jack] Mic at Ext Rear Conn = 1/8, Color = Pink DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=07, enabled=1 Connection: 1 0x26 Node 0x18 [Pin Complex] wcaps 0x400081: Stereo Control: name="CD Phantom Jack", index=0, device=0 Pincap 0x00000024: IN Detect Pin Default 0x99331122: [Fixed] CD at Int ATAPI Conn = ATAPI, Color = Black DefAssociation = 0x2, Sequence = 0x2 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x19 [Power Widget] wcaps 0x500500: Mono Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x20 0x21 Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin Default 0x911711f0: [Fixed] Speaker at Int Rear Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out Control: name="SPDIF Phantom Jack", index=0, device=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1 Amp-Out vals: [0x27 0x27] Pincap 0x00000010: OUT Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear Conn = Optical, Color = Other DefAssociation = 0xa, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x02 Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x97 0x97] Pincap 0x00000020: IN Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear Conn = Optical, Color = Other DefAssociation = 0x6, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out Control: name="HDMI Phantom Jack", index=1, device=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1 Amp-Out vals: [0x27 0x27] Pincap 0x00000010: OUT Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Other DefAssociation = 0xb, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x0b Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x36 0x21 Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] [0x97 0x97] Connection: 8 0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x9f 0x9f] Connection: 1 0x20 Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x37 0x21 Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono Connection: 18 0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21 Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L 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="Line Out CLFE Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01016011: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Orange DefAssociation = 0x1, Sequence = 0x1 Pin-ctls: 0x40: OUT Unsolicited: tag=04, enabled=1 Connection: 1 0x27 Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Side Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Line Out Side Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01012014: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Grey DefAssociation = 0x1, Sequence = 0x4 Pin-ctls: 0x40: OUT Unsolicited: tag=05, enabled=1 Connection: 1 0x28 Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x32 0x21 Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x05 0x21 Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x0a 0x21 Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x04 0x21 Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x06 0x21 Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x30 0x21 Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x31 0x21 Node 0x2d [Audio Mixer] wcaps 0x200100: Mono Connection: 1 0x1e Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono Connection: 6 0x11* 0x12 0x14 0x15 0x16 0x17 Node 0x30 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03* 0x04 0x06 Node 0x31 [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x04* 0x0a Node 0x32 [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x05* 0x04 Node 0x33 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x3a* 0x25 0x24 Node 0x34 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x3c* 0x25 0x24 Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x36 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03* 0x04 0x06 Node 0x37 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03* 0x04 0x06 Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x11 Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x14 Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x15 Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x17 Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x12 Codec: ATI R6xx HDMI Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x1002aa01 Subsystem Id: 0x00aa0100 Revision Id: 0x100000 No Modem Function Group found Default PCM: rates [0x40]: 48000 bits [0x2]: 16 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A State of AFG node 0x01: Power states: D0 D3 Power: setting=D0, actual=D0 GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0 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="ELD", index=0, device=3 Pincap 0x00000094: OUT Detect HDMI Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=01, enabled=1 Connection: 1 0x02 --endcollapse-- !!ALSA Device nodes !!----------------- crw-rw---T 1 root audio 116, 7 Jan 23 13:41 /dev/snd/controlC0 crw-rw---T 1 root audio 116, 9 Jan 23 13:41 /dev/snd/controlC1 crw-rw---T 1 root audio 116, 6 Jan 23 14:22 /dev/snd/pcmC0D0c crw-rw---T 1 root audio 116, 5 Jan 23 14:24 /dev/snd/pcmC0D0p crw-rw---T 1 root audio 116, 4 Jan 23 13:41 /dev/snd/pcmC0D1p crw-rw---T 1 root audio 116, 3 Jan 23 13:41 /dev/snd/pcmC0D2c crw-rw---T 1 root audio 116, 2 Jan 23 14:02 /dev/snd/pcmC0D2p crw-rw---T 1 root audio 116, 8 Jan 23 13:41 /dev/snd/pcmC1D3p crw-rw---T 1 root audio 116, 1 Jan 23 13:41 /dev/snd/seq crw-rw---T 1 root audio 116, 33 Jan 23 13:41 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 80 Jan 23 13:41 . drwxr-xr-x 3 root root 260 Jan 23 13:41 .. lrwxrwxrwx 1 root root 12 Jan 23 13:41 pci-0000:00:14.2 -> ../controlC0 lrwxrwxrwx 1 root root 12 Jan 23 13:41 pci-0000:01:00.1 -> ../controlC1 !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 2: AD1989B Analog [AD1989B Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 !!Amixer output !!------------- !!-------Mixer controls for card 0 [SB] Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16' Mixer name : 'Analog Devices AD1989B' Components : 'HDA:11d4989b,10438311,00100300' Controls : 49 Simple ctrls : 19 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 35 [90%] [-6.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [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 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Surround',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Center',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'LFE',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Side',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [on] 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 [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [on] Front Right: Capture 54 [100%] [22.50dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [off] Front Right: Capture 54 [100%] [22.50dB] [off] Simple mixer control 'Capture',2 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [off] Front Right: Capture 54 [100%] [22.50dB] [off] Simple mixer control 'Auto-Mute Mode',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Disabled' Simple mixer control 'Digital',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 60 [50%] [0.00dB] Front Right: Capture 60 [50%] [0.00dB] Simple mixer control 'Independent HP',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Disabled' Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' Item0: 'Front Mic' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' Item0: 'Front Mic' Simple mixer control 'Input Source',2 Capabilities: cenum Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' Item0: 'Front Mic' !!-------Mixer controls for card 1 [HDMI] Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42' Mixer name : 'ATI R6xx HDMI' Components : 'HDA:1002aa01,00aa0100,00100000' Controls : 7 Simple ctrls : 1 Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] !!Alsactl output !!-------------- --startcollapse-- state.SB { control.1 { iface MIXER name 'Front Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.2 { iface MIXER name 'Front Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.3 { iface MIXER name 'Surround Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.4 { iface MIXER name 'Surround Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.5 { iface MIXER name 'Center Playback Volume' value 39 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 } } control.6 { iface MIXER name 'LFE Playback Volume' value 39 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 } } control.7 { iface MIXER name 'Center Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.8 { iface MIXER name 'LFE Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.9 { iface MIXER name 'Side Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.10 { iface MIXER name 'Side Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.11 { iface MIXER name 'Headphone Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.12 { iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.13 { iface MIXER name 'Independent HP' value Disabled comment { access 'read write' type ENUMERATED count 1 item.0 Disabled item.1 Enabled } } control.14 { iface MIXER name 'Auto-Mute Mode' value Disabled comment { access 'read write' type ENUMERATED count 1 item.0 Disabled item.1 Enabled } } control.15 { iface MIXER name 'Input Source' value 'Front Mic' comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 'Rear Mic' item.2 Line item.3 CD } } control.16 { iface MIXER name 'Input Source' index 1 value 'Front Mic' comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 'Rear Mic' item.2 Line item.3 CD } } control.17 { iface MIXER name 'Input Source' index 2 value 'Front Mic' comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 'Rear Mic' item.2 Line item.3 CD } } control.18 { iface MIXER name 'Capture Volume' value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } control.19 { iface MIXER name 'Capture Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.20 { iface MIXER name 'Capture Volume' index 1 value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } 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' index 2 value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } control.23 { iface MIXER name 'Capture Switch' index 2 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.24 { iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.25 { iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.26 { iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read write' type IEC958 count 1 } } control.27 { iface MIXER name 'IEC958 Playback Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.28 { iface MIXER name 'IEC958 Default PCM Playback Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.29 { iface MIXER name 'Master Playback Volume' value 35 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 -600 } } control.30 { iface MIXER name 'Master Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.31 { iface CARD name 'Line Out Front Jack' value false comment { access read type BOOLEAN count 1 } } control.32 { iface CARD name 'Line Out Surround Jack' value false comment { access read type BOOLEAN count 1 } } control.33 { iface CARD name 'Line Out CLFE Jack' value false comment { access read type BOOLEAN count 1 } } control.34 { iface CARD name 'Line Out Side Jack' value false comment { access read type BOOLEAN count 1 } } control.35 { iface CARD name 'Front Headphone Jack' value true comment { access read type BOOLEAN count 1 } } control.36 { iface CARD name 'Front Mic Jack' value false comment { access read type BOOLEAN count 1 } } control.37 { iface CARD name 'Rear Mic Jack' value true comment { access read type BOOLEAN count 1 } } control.38 { iface CARD name 'Line Jack' value false comment { access read type BOOLEAN count 1 } } control.39 { iface CARD name 'CD Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.40 { iface CARD name 'SPDIF Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.41 { iface CARD name 'HDMI Phantom Jack' index 1 value true comment { access read type BOOLEAN count 1 } } control.42 { iface PCM name 'Playback Channel Map' value.0 0 value.1 0 value.2 0 value.3 0 value.4 0 value.5 0 value.6 0 value.7 0 comment { access read type INTEGER count 8 range '0 - 36' } } control.43 { iface PCM name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.44 { iface PCM device 1 name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.45 { iface PCM device 2 name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.46 { iface PCM device 2 name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.47 { iface PCM device 2 name 'Capture Channel Map' index 1 value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.48 { 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 } } control.49 { iface MIXER name 'Digital Capture Volume' value.0 60 value.1 60 comment { access 'read write user' type INTEGER count 2 range '0 - 120' tlv '0000000100000008fffff44800000032' dbmin -3000 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } } state.HDMI { control.1 { iface CARD name 'HDMI/DP,pcm=3 Jack' value false comment { access read type BOOLEAN count 1 } } control.2 { iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.3 { iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.4 { iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read write' type IEC958 count 1 } } control.5 { iface MIXER name 'IEC958 Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.6 { iface PCM device 3 name ELD value '' comment { access 'read volatile' type BYTES count 0 } } control.7 { iface PCM device 3 name 'Playback Channel Map' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 36' } } } --endcollapse-- !!All Loaded Modules !!------------------ !!ALSA/HDA dmesg !!-------------- [ 1.855936] usbhid: USB HID core driver [ 1.856061] hda-intel 0000:00:14.2: Using LPIB position fix [ 1.859318] hda-intel 0000:00:14.2: Enable sync_write for stable communication [ 1.926422] usb 4-2: new low-speed USB device number 2 using ohci_hcd -- [ 2.092062] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0 [ 2.221482] hda_codec: AD1989B: BIOS auto-probing. [ 2.224505] autoconfig: line_outs=4 (0x12/0x16/0x24/0x25/0x0) type:line -- [ 2.244325] CD=0x18 [ 2.267034] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4 [ 2.269345] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5 [ 2.271608] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6 [ 2.273860] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7 [ 2.276128] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8 [ 2.278392] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9 [ 2.280624] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10 [ 2.282869] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11 [ 2.285365] hda-intel 0000:01:00.1: Using LPIB position fix [ 2.287609] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X [ 2.290103] hda-intel 0000:01:00.1: Enable sync_write for stable communication [ 2.293724] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12 [ 2.296252] GACT probability NOT on -- [ 2.359278] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00) [ 2.361295] ALSA device list: [ 2.363271] #0: HDA ATI SB at 0xfe8f4000 irq 16 [ 2.365229] #1: HDA ATI HDMI at 0xfe9ec000 irq 42 [ 2.367664] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [-- Attachment #3: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 13:49 ` Manolo Díaz @ 2013-01-23 13:54 ` Takashi Iwai [not found] ` <20130123150143.6fe19b53@gmail.com> 0 siblings, 1 reply; 26+ messages in thread From: Takashi Iwai @ 2013-01-23 13:54 UTC (permalink / raw) To: Manolo Díaz; +Cc: alsa-devel At Wed, 23 Jan 2013 14:49:32 +0100, Manolo Díaz wrote: > > El mié, 23 ene 2013 a las 9:30 horas > Takashi Iwai escribió: > > >Hi, > > > >as most of feedbacks about the new generic parser migration were > >positive, I decided to take a risk: now all commit that have been in > >test/hda-migrate branch in sound-unstable git tree are merged to > >for-next branch of sound git tree for better test coverage. > >It means that all changes are merged to linux-next, i.e. will be > >included in 3.9 kernel. > > > >For the early adapter people, I'm going to keep test/hda-migrate > >branch of sound-unstable git tree updated for a while, but the branch > >will be abandoned some time later. > > > >If you encounter any regression by the recent update, please let me > >know. > > > > > >thanks, > > > >Takashi > >_______________________________________________ > >Alsa-devel mailing list > >Alsa-devel@alsa-project.org > >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > > Hi, > > Recording and (multi stream) playing seem to work fine, but auto-mute > doesn't. For example, front speakers may remain muted after > disconnecting the HP. > > cat /sys/kernel/debug/tracing/trace > # tracer: nop > # > # entries-in-buffer/entries-written: 0/0 #P:2 > # > # _-----=> irqs-off > # / _----=> need-resched > # | / _---=> hardirq/softirq > # || / _--=> preempt-depth > # ||| / delay > # TASK-PID CPU# |||| TIMESTAMP FUNCTION > # | | | |||| | | > > I've connected and disconnected the HP jack several times before. If nothing appears in the tracing (suppose you enabled the events properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather a hardware issue. Did the auto-mute work reliably before the code change? Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 26+ messages in thread
[parent not found: <20130123150143.6fe19b53@gmail.com>]
* Re: HD-audio generic parser merged to linux-next [not found] ` <20130123150143.6fe19b53@gmail.com> @ 2013-01-23 14:20 ` Takashi Iwai 2013-01-23 14:55 ` Takashi Iwai 2013-01-23 15:09 ` Manolo Díaz 0 siblings, 2 replies; 26+ messages in thread From: Takashi Iwai @ 2013-01-23 14:20 UTC (permalink / raw) To: Manolo Díaz; +Cc: alsa-devel At Wed, 23 Jan 2013 15:01:43 +0100, Manolo Díaz wrote: > > El mié, 23 ene 2013 a las 14:54 horas > Takashi Iwai escribió: > > >At Wed, 23 Jan 2013 14:49:32 +0100, > >Manolo Díaz wrote: > >> > >> El mié, 23 ene 2013 a las 9:30 horas > >> Takashi Iwai escribió: > >> > >> >Hi, > >> > > >> >as most of feedbacks about the new generic parser migration were > >> >positive, I decided to take a risk: now all commit that have been in > >> >test/hda-migrate branch in sound-unstable git tree are merged to > >> >for-next branch of sound git tree for better test coverage. > >> >It means that all changes are merged to linux-next, i.e. will be > >> >included in 3.9 kernel. > >> > > >> >For the early adapter people, I'm going to keep test/hda-migrate > >> >branch of sound-unstable git tree updated for a while, but the branch > >> >will be abandoned some time later. > >> > > >> >If you encounter any regression by the recent update, please let me > >> >know. > >> > > >> > > >> >thanks, > >> > > >> >Takashi > >> >_______________________________________________ > >> >Alsa-devel mailing list > >> >Alsa-devel@alsa-project.org > >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > >> > >> Hi, > >> > >> Recording and (multi stream) playing seem to work fine, but auto-mute > >> doesn't. For example, front speakers may remain muted after > >> disconnecting the HP. > >> > >> cat /sys/kernel/debug/tracing/trace > >> # tracer: nop > >> # > >> # entries-in-buffer/entries-written: 0/0 #P:2 > >> # > >> # _-----=> irqs-off > >> # / _----=> need-resched > >> # | / _---=> hardirq/softirq > >> # || / _--=> preempt-depth > >> # ||| / delay > >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > >> # | | | |||| | | > >> > >> I've connected and disconnected the HP jack several times before. > > > >If nothing appears in the tracing (suppose you enabled the events > >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather > >a hardware issue. > > Sorry, I've forgotten this step. > > >Did the auto-mute work reliably before the code change? > > > > > >Takashi > > Yes, it did. Did you mean when it worked? Was it before moving to the generic parser, or after it but before upgrading to the latest tree? In the latter case, try git bisection to figure out the culprit. But, it's anyway better to update the git branch. You are testing the too old version (there have been already 75 commits after your testing one). > New try, this time with hda events enabled. > > cat /sys/kernel/debug/tracing/trace > # tracer: nop > # > # entries-in-buffer/entries-written: 871/871 #P:2 > # > # _-----=> irqs-off > # / _----=> need-resched > # | / _---=> hardirq/softirq > # || / _--=> preempt-depth > # ||| / delay > # TASK-PID CPU# |||| TIMESTAMP FUNCTION > # | | | |||| | | > <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 > <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 OK, so the unsol event is generated properly. Is the alsa-info.sh output you attached previously at the state after unplugging? If so, I see no problem in the code register. The path 0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set properly. If something doesn't work as expected, we need two alsa-info outputs for comparison: the working one and non-working one. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 14:20 ` Takashi Iwai @ 2013-01-23 14:55 ` Takashi Iwai 2013-01-23 15:09 ` Takashi Iwai 2013-01-23 15:12 ` Manolo Díaz 2013-01-23 15:09 ` Manolo Díaz 1 sibling, 2 replies; 26+ messages in thread From: Takashi Iwai @ 2013-01-23 14:55 UTC (permalink / raw) To: Manolo Díaz; +Cc: alsa-devel At Wed, 23 Jan 2013 15:20:16 +0100, Takashi Iwai wrote: > > At Wed, 23 Jan 2013 15:01:43 +0100, > Manolo Díaz wrote: > > > > El mié, 23 ene 2013 a las 14:54 horas > > Takashi Iwai escribió: > > > > >At Wed, 23 Jan 2013 14:49:32 +0100, > > >Manolo Díaz wrote: > > >> > > >> El mié, 23 ene 2013 a las 9:30 horas > > >> Takashi Iwai escribió: > > >> > > >> >Hi, > > >> > > > >> >as most of feedbacks about the new generic parser migration were > > >> >positive, I decided to take a risk: now all commit that have been in > > >> >test/hda-migrate branch in sound-unstable git tree are merged to > > >> >for-next branch of sound git tree for better test coverage. > > >> >It means that all changes are merged to linux-next, i.e. will be > > >> >included in 3.9 kernel. > > >> > > > >> >For the early adapter people, I'm going to keep test/hda-migrate > > >> >branch of sound-unstable git tree updated for a while, but the branch > > >> >will be abandoned some time later. > > >> > > > >> >If you encounter any regression by the recent update, please let me > > >> >know. > > >> > > > >> > > > >> >thanks, > > >> > > > >> >Takashi > > >> >_______________________________________________ > > >> >Alsa-devel mailing list > > >> >Alsa-devel@alsa-project.org > > >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > > >> > > >> Hi, > > >> > > >> Recording and (multi stream) playing seem to work fine, but auto-mute > > >> doesn't. For example, front speakers may remain muted after > > >> disconnecting the HP. > > >> > > >> cat /sys/kernel/debug/tracing/trace > > >> # tracer: nop > > >> # > > >> # entries-in-buffer/entries-written: 0/0 #P:2 > > >> # > > >> # _-----=> irqs-off > > >> # / _----=> need-resched > > >> # | / _---=> hardirq/softirq > > >> # || / _--=> preempt-depth > > >> # ||| / delay > > >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > > >> # | | | |||| | | > > >> > > >> I've connected and disconnected the HP jack several times before. > > > > > >If nothing appears in the tracing (suppose you enabled the events > > >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather > > >a hardware issue. > > > > Sorry, I've forgotten this step. > > > > >Did the auto-mute work reliably before the code change? > > > > > > > > >Takashi > > > > Yes, it did. > > Did you mean when it worked? Was it before moving to the generic > parser, or after it but before upgrading to the latest tree? > In the latter case, try git bisection to figure out the culprit. > > But, it's anyway better to update the git branch. You are testing the > too old version (there have been already 75 commits after your testing > one). > > > > New try, this time with hda events enabled. > > > > cat /sys/kernel/debug/tracing/trace > > # tracer: nop > > # > > # entries-in-buffer/entries-written: 871/871 #P:2 > > # > > # _-----=> irqs-off > > # / _----=> need-resched > > # | / _---=> hardirq/softirq > > # || / _--=> preempt-depth > > # ||| / delay > > # TASK-PID CPU# |||| TIMESTAMP FUNCTION > > # | | | |||| | | > > <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 > > <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 > > OK, so the unsol event is generated properly. > > Is the alsa-info.sh output you attached previously at the state after > unplugging? If so, I see no problem in the code register. The path > 0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set > properly. > > If something doesn't work as expected, we need two alsa-info outputs > for comparison: the working one and non-working one. I think I found the culprit. Could you update to the latest tree and apply the patch below? Takashi --- diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 77ddd34..a22a18b 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -3824,6 +3824,7 @@ static void hda_call_codec_resume(struct hda_codec *codec) */ hda_keep_power_on(codec); hda_set_power_state(codec, AC_PWRST_D0); + snd_hda_jack_set_dirty_all(codec); restore_shutup_pins(codec); hda_exec_init_verbs(codec); if (codec->patch_ops.resume) @@ -3837,10 +3838,8 @@ static void hda_call_codec_resume(struct hda_codec *codec) if (codec->jackpoll_interval) hda_jackpoll_work(&codec->jackpoll_work.work); - else { - snd_hda_jack_set_dirty_all(codec); + else snd_hda_jack_report_sync(codec); - } codec->in_pm = 0; snd_hda_power_down(codec); /* flag down before returning */ _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 14:55 ` Takashi Iwai @ 2013-01-23 15:09 ` Takashi Iwai 2013-01-23 15:12 ` Manolo Díaz 1 sibling, 0 replies; 26+ messages in thread From: Takashi Iwai @ 2013-01-23 15:09 UTC (permalink / raw) To: Manolo Díaz; +Cc: alsa-devel At Wed, 23 Jan 2013 15:55:49 +0100, Takashi Iwai wrote: > > At Wed, 23 Jan 2013 15:20:16 +0100, > Takashi Iwai wrote: > > > > At Wed, 23 Jan 2013 15:01:43 +0100, > > Manolo Díaz wrote: > > > > > > El mié, 23 ene 2013 a las 14:54 horas > > > Takashi Iwai escribió: > > > > > > >At Wed, 23 Jan 2013 14:49:32 +0100, > > > >Manolo Díaz wrote: > > > >> > > > >> El mié, 23 ene 2013 a las 9:30 horas > > > >> Takashi Iwai escribió: > > > >> > > > >> >Hi, > > > >> > > > > >> >as most of feedbacks about the new generic parser migration were > > > >> >positive, I decided to take a risk: now all commit that have been in > > > >> >test/hda-migrate branch in sound-unstable git tree are merged to > > > >> >for-next branch of sound git tree for better test coverage. > > > >> >It means that all changes are merged to linux-next, i.e. will be > > > >> >included in 3.9 kernel. > > > >> > > > > >> >For the early adapter people, I'm going to keep test/hda-migrate > > > >> >branch of sound-unstable git tree updated for a while, but the branch > > > >> >will be abandoned some time later. > > > >> > > > > >> >If you encounter any regression by the recent update, please let me > > > >> >know. > > > >> > > > > >> > > > > >> >thanks, > > > >> > > > > >> >Takashi > > > >> >_______________________________________________ > > > >> >Alsa-devel mailing list > > > >> >Alsa-devel@alsa-project.org > > > >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > > > >> > > > >> Hi, > > > >> > > > >> Recording and (multi stream) playing seem to work fine, but auto-mute > > > >> doesn't. For example, front speakers may remain muted after > > > >> disconnecting the HP. > > > >> > > > >> cat /sys/kernel/debug/tracing/trace > > > >> # tracer: nop > > > >> # > > > >> # entries-in-buffer/entries-written: 0/0 #P:2 > > > >> # > > > >> # _-----=> irqs-off > > > >> # / _----=> need-resched > > > >> # | / _---=> hardirq/softirq > > > >> # || / _--=> preempt-depth > > > >> # ||| / delay > > > >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > > > >> # | | | |||| | | > > > >> > > > >> I've connected and disconnected the HP jack several times before. > > > > > > > >If nothing appears in the tracing (suppose you enabled the events > > > >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather > > > >a hardware issue. > > > > > > Sorry, I've forgotten this step. > > > > > > >Did the auto-mute work reliably before the code change? > > > > > > > > > > > >Takashi > > > > > > Yes, it did. > > > > Did you mean when it worked? Was it before moving to the generic > > parser, or after it but before upgrading to the latest tree? > > In the latter case, try git bisection to figure out the culprit. > > > > But, it's anyway better to update the git branch. You are testing the > > too old version (there have been already 75 commits after your testing > > one). > > > > > > > New try, this time with hda events enabled. > > > > > > cat /sys/kernel/debug/tracing/trace > > > # tracer: nop > > > # > > > # entries-in-buffer/entries-written: 871/871 #P:2 > > > # > > > # _-----=> irqs-off > > > # / _----=> need-resched > > > # | / _---=> hardirq/softirq > > > # || / _--=> preempt-depth > > > # ||| / delay > > > # TASK-PID CPU# |||| TIMESTAMP FUNCTION > > > # | | | |||| | | > > > <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 > > > <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 > > > > OK, so the unsol event is generated properly. > > > > Is the alsa-info.sh output you attached previously at the state after > > unplugging? If so, I see no problem in the code register. The path > > 0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set > > properly. > > > > If something doesn't work as expected, we need two alsa-info outputs > > for comparison: the working one and non-working one. > > I think I found the culprit. Could you update to the latest tree and > apply the patch below? Actually I could reproduce the problem by myself, so I applied the patch and updated the tree now. Check the updated tree later again. thanks, Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 14:55 ` Takashi Iwai 2013-01-23 15:09 ` Takashi Iwai @ 2013-01-23 15:12 ` Manolo Díaz 1 sibling, 0 replies; 26+ messages in thread From: Manolo Díaz @ 2013-01-23 15:12 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel El mié, 23 ene 2013 a las 15:55 horas Takashi Iwai escribió: >I think I found the culprit. Could you update to the latest tree and >apply the patch below? > > >Takashi > >--- >diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c >index 77ddd34..a22a18b 100644 >--- a/sound/pci/hda/hda_codec.c >+++ b/sound/pci/hda/hda_codec.c >@@ -3824,6 +3824,7 @@ static void hda_call_codec_resume(struct hda_codec *codec) > */ > hda_keep_power_on(codec); > hda_set_power_state(codec, AC_PWRST_D0); >+ snd_hda_jack_set_dirty_all(codec); > restore_shutup_pins(codec); > hda_exec_init_verbs(codec); > if (codec->patch_ops.resume) >@@ -3837,10 +3838,8 @@ static void hda_call_codec_resume(struct hda_codec *codec) > > if (codec->jackpoll_interval) > hda_jackpoll_work(&codec->jackpoll_work.work); >- else { >- snd_hda_jack_set_dirty_all(codec); >+ else > snd_hda_jack_report_sync(codec); >- } > > codec->in_pm = 0; > snd_hda_power_down(codec); /* flag down before returning */ Hi, if this patch is included in the 28ebfa08e2945b38e08c537faf7f749125780cbe commit, it's already tested and found to work fine. Regards, -- Manolo Díaz _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 14:20 ` Takashi Iwai 2013-01-23 14:55 ` Takashi Iwai @ 2013-01-23 15:09 ` Manolo Díaz 2013-01-23 15:12 ` Takashi Iwai 1 sibling, 1 reply; 26+ messages in thread From: Manolo Díaz @ 2013-01-23 15:09 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel El mié, 23 ene 2013 a las 15:20 horas Takashi Iwai escribió: >At Wed, 23 Jan 2013 15:01:43 +0100, >Manolo Díaz wrote: >> >> El mié, 23 ene 2013 a las 14:54 horas >> Takashi Iwai escribió: >> >> >At Wed, 23 Jan 2013 14:49:32 +0100, >> >Manolo Díaz wrote: >> >> >> >> El mié, 23 ene 2013 a las 9:30 horas >> >> Takashi Iwai escribió: >> >> >> >> >Hi, >> >> > >> >> >as most of feedbacks about the new generic parser migration were >> >> >positive, I decided to take a risk: now all commit that have been in >> >> >test/hda-migrate branch in sound-unstable git tree are merged to >> >> >for-next branch of sound git tree for better test coverage. >> >> >It means that all changes are merged to linux-next, i.e. will be >> >> >included in 3.9 kernel. >> >> > >> >> >For the early adapter people, I'm going to keep test/hda-migrate >> >> >branch of sound-unstable git tree updated for a while, but the branch >> >> >will be abandoned some time later. >> >> > >> >> >If you encounter any regression by the recent update, please let me >> >> >know. >> >> > >> >> > >> >> >thanks, >> >> > >> >> >Takashi >> >> >_______________________________________________ >> >> >Alsa-devel mailing list >> >> >Alsa-devel@alsa-project.org >> >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >> >> >> >> Hi, >> >> >> >> Recording and (multi stream) playing seem to work fine, but auto-mute >> >> doesn't. For example, front speakers may remain muted after >> >> disconnecting the HP. >> >> >> >> cat /sys/kernel/debug/tracing/trace >> >> # tracer: nop >> >> # >> >> # entries-in-buffer/entries-written: 0/0 #P:2 >> >> # >> >> # _-----=> irqs-off >> >> # / _----=> need-resched >> >> # | / _---=> hardirq/softirq >> >> # || / _--=> preempt-depth >> >> # ||| / delay >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION >> >> # | | | |||| | | >> >> >> >> I've connected and disconnected the HP jack several times before. >> > >> >If nothing appears in the tracing (suppose you enabled the events >> >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather >> >a hardware issue. >> >> Sorry, I've forgotten this step. >> >> >Did the auto-mute work reliably before the code change? >> > >> > >> >Takashi >> >> Yes, it did. > >Did you mean when it worked? Was it before moving to the generic >parser, or after it but before upgrading to the latest tree? >In the latter case, try git bisection to figure out the culprit. > >But, it's anyway better to update the git branch. You are testing the >too old version (there have been already 75 commits after your testing >one). > > >> New try, this time with hda events enabled. >> >> cat /sys/kernel/debug/tracing/trace >> # tracer: nop >> # >> # entries-in-buffer/entries-written: 871/871 #P:2 >> # >> # _-----=> irqs-off >> # / _----=> need-resched >> # | / _---=> hardirq/softirq >> # || / _--=> preempt-depth >> # ||| / delay >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION >> # | | | |||| | | >> <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 >> <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 > >OK, so the unsol event is generated properly. > >Is the alsa-info.sh output you attached previously at the state after >unplugging? If so, I see no problem in the code register. The path >0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set >properly. > >If something doesn't work as expected, we need two alsa-info outputs >for comparison: the working one and non-working one. > > >Takashi commit 28ebfa08e2945b38e08c537faf7f749125780cbe branch: test/hda-migrate Now everything's working fine (only tested 2 channels analog). Btw, I can't hear what I'm recording, unlike the latest stable kernel. Is that intentional? Regards, -- Manolo Díaz _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 15:09 ` Manolo Díaz @ 2013-01-23 15:12 ` Takashi Iwai 2013-01-23 15:30 ` Manolo Díaz 0 siblings, 1 reply; 26+ messages in thread From: Takashi Iwai @ 2013-01-23 15:12 UTC (permalink / raw) To: Manolo Díaz; +Cc: alsa-devel At Wed, 23 Jan 2013 16:09:22 +0100, Manolo Díaz wrote: > > El mié, 23 ene 2013 a las 15:20 horas > Takashi Iwai escribió: > > >At Wed, 23 Jan 2013 15:01:43 +0100, > >Manolo Díaz wrote: > >> > >> El mié, 23 ene 2013 a las 14:54 horas > >> Takashi Iwai escribió: > >> > >> >At Wed, 23 Jan 2013 14:49:32 +0100, > >> >Manolo Díaz wrote: > >> >> > >> >> El mié, 23 ene 2013 a las 9:30 horas > >> >> Takashi Iwai escribió: > >> >> > >> >> >Hi, > >> >> > > >> >> >as most of feedbacks about the new generic parser migration were > >> >> >positive, I decided to take a risk: now all commit that have been in > >> >> >test/hda-migrate branch in sound-unstable git tree are merged to > >> >> >for-next branch of sound git tree for better test coverage. > >> >> >It means that all changes are merged to linux-next, i.e. will be > >> >> >included in 3.9 kernel. > >> >> > > >> >> >For the early adapter people, I'm going to keep test/hda-migrate > >> >> >branch of sound-unstable git tree updated for a while, but the branch > >> >> >will be abandoned some time later. > >> >> > > >> >> >If you encounter any regression by the recent update, please let me > >> >> >know. > >> >> > > >> >> > > >> >> >thanks, > >> >> > > >> >> >Takashi > >> >> >_______________________________________________ > >> >> >Alsa-devel mailing list > >> >> >Alsa-devel@alsa-project.org > >> >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > >> >> > >> >> Hi, > >> >> > >> >> Recording and (multi stream) playing seem to work fine, but auto-mute > >> >> doesn't. For example, front speakers may remain muted after > >> >> disconnecting the HP. > >> >> > >> >> cat /sys/kernel/debug/tracing/trace > >> >> # tracer: nop > >> >> # > >> >> # entries-in-buffer/entries-written: 0/0 #P:2 > >> >> # > >> >> # _-----=> irqs-off > >> >> # / _----=> need-resched > >> >> # | / _---=> hardirq/softirq > >> >> # || / _--=> preempt-depth > >> >> # ||| / delay > >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > >> >> # | | | |||| | | > >> >> > >> >> I've connected and disconnected the HP jack several times before. > >> > > >> >If nothing appears in the tracing (suppose you enabled the events > >> >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather > >> >a hardware issue. > >> > >> Sorry, I've forgotten this step. > >> > >> >Did the auto-mute work reliably before the code change? > >> > > >> > > >> >Takashi > >> > >> Yes, it did. > > > >Did you mean when it worked? Was it before moving to the generic > >parser, or after it but before upgrading to the latest tree? > >In the latter case, try git bisection to figure out the culprit. > > > >But, it's anyway better to update the git branch. You are testing the > >too old version (there have been already 75 commits after your testing > >one). > > > > > >> New try, this time with hda events enabled. > >> > >> cat /sys/kernel/debug/tracing/trace > >> # tracer: nop > >> # > >> # entries-in-buffer/entries-written: 871/871 #P:2 > >> # > >> # _-----=> irqs-off > >> # / _----=> need-resched > >> # | / _---=> hardirq/softirq > >> # || / _--=> preempt-depth > >> # ||| / delay > >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > >> # | | | |||| | | > >> <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 > >> <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 > > > >OK, so the unsol event is generated properly. > > > >Is the alsa-info.sh output you attached previously at the state after > >unplugging? If so, I see no problem in the code register. The path > >0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set > >properly. > > > >If something doesn't work as expected, we need two alsa-info outputs > >for comparison: the working one and non-working one. > > > > > >Takashi > > commit 28ebfa08e2945b38e08c537faf7f749125780cbe > branch: test/hda-migrate > > Now everything's working fine (only tested 2 channels analog). Btw, > I can't hear what I'm recording, unlike the latest stable kernel. Is > that intentional? In the latest version, you should have "Line", "Front Mic" and "Rear Mic" playback volumes/switches. They are the analog-loopback things. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 15:12 ` Takashi Iwai @ 2013-01-23 15:30 ` Manolo Díaz 2013-01-23 15:40 ` Manolo Díaz 2013-01-23 16:00 ` Takashi Iwai 0 siblings, 2 replies; 26+ messages in thread From: Manolo Díaz @ 2013-01-23 15:30 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel [-- Attachment #1: Type: text/plain, Size: 5344 bytes --] El mié, 23 ene 2013 a las 16:12 horas Takashi Iwai escribió: >At Wed, 23 Jan 2013 16:09:22 +0100, >Manolo Díaz wrote: >> >> El mié, 23 ene 2013 a las 15:20 horas >> Takashi Iwai escribió: >> >> >At Wed, 23 Jan 2013 15:01:43 +0100, >> >Manolo Díaz wrote: >> >> >> >> El mié, 23 ene 2013 a las 14:54 horas >> >> Takashi Iwai escribió: >> >> >> >> >At Wed, 23 Jan 2013 14:49:32 +0100, >> >> >Manolo Díaz wrote: >> >> >> >> >> >> El mié, 23 ene 2013 a las 9:30 horas >> >> >> Takashi Iwai escribió: >> >> >> >> >> >> >Hi, >> >> >> > >> >> >> >as most of feedbacks about the new generic parser migration were >> >> >> >positive, I decided to take a risk: now all commit that have been in >> >> >> >test/hda-migrate branch in sound-unstable git tree are merged to >> >> >> >for-next branch of sound git tree for better test coverage. >> >> >> >It means that all changes are merged to linux-next, i.e. will be >> >> >> >included in 3.9 kernel. >> >> >> > >> >> >> >For the early adapter people, I'm going to keep test/hda-migrate >> >> >> >branch of sound-unstable git tree updated for a while, but the branch >> >> >> >will be abandoned some time later. >> >> >> > >> >> >> >If you encounter any regression by the recent update, please let me >> >> >> >know. >> >> >> > >> >> >> > >> >> >> >thanks, >> >> >> > >> >> >> >Takashi >> >> >> >_______________________________________________ >> >> >> >Alsa-devel mailing list >> >> >> >Alsa-devel@alsa-project.org >> >> >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >> >> >> >> >> >> Hi, >> >> >> >> >> >> Recording and (multi stream) playing seem to work fine, but auto-mute >> >> >> doesn't. For example, front speakers may remain muted after >> >> >> disconnecting the HP. >> >> >> >> >> >> cat /sys/kernel/debug/tracing/trace >> >> >> # tracer: nop >> >> >> # >> >> >> # entries-in-buffer/entries-written: 0/0 #P:2 >> >> >> # >> >> >> # _-----=> irqs-off >> >> >> # / _----=> need-resched >> >> >> # | / _---=> hardirq/softirq >> >> >> # || / _--=> preempt-depth >> >> >> # ||| / delay >> >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION >> >> >> # | | | |||| | | >> >> >> >> >> >> I've connected and disconnected the HP jack several times before. >> >> > >> >> >If nothing appears in the tracing (suppose you enabled the events >> >> >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather >> >> >a hardware issue. >> >> >> >> Sorry, I've forgotten this step. >> >> >> >> >Did the auto-mute work reliably before the code change? >> >> > >> >> > >> >> >Takashi >> >> >> >> Yes, it did. >> > >> >Did you mean when it worked? Was it before moving to the generic >> >parser, or after it but before upgrading to the latest tree? >> >In the latter case, try git bisection to figure out the culprit. >> > >> >But, it's anyway better to update the git branch. You are testing the >> >too old version (there have been already 75 commits after your testing >> >one). >> > >> > >> >> New try, this time with hda events enabled. >> >> >> >> cat /sys/kernel/debug/tracing/trace >> >> # tracer: nop >> >> # >> >> # entries-in-buffer/entries-written: 871/871 #P:2 >> >> # >> >> # _-----=> irqs-off >> >> # / _----=> need-resched >> >> # | / _---=> hardirq/softirq >> >> # || / _--=> preempt-depth >> >> # ||| / delay >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION >> >> # | | | |||| | | >> >> <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 >> >> <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 >> > >> >OK, so the unsol event is generated properly. >> > >> >Is the alsa-info.sh output you attached previously at the state after >> >unplugging? If so, I see no problem in the code register. The path >> >0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set >> >properly. >> > >> >If something doesn't work as expected, we need two alsa-info outputs >> >for comparison: the working one and non-working one. >> > >> > >> >Takashi >> >> commit 28ebfa08e2945b38e08c537faf7f749125780cbe >> branch: test/hda-migrate >> >> Now everything's working fine (only tested 2 channels analog). Btw, >> I can't hear what I'm recording, unlike the latest stable kernel. Is >> that intentional? > >In the latest version, you should have "Line", "Front Mic" and "Rear >Mic" playback volumes/switches. They are the analog-loopback things. > > >Takashi Yes, I have them. But I can't hear what I'm recording, either through headphones or through speakers, no matters if HP independent is enabled or disabled. Attached is the alsa-info.sh output after the last test: recording through the rear-mic and trying to hear through the HP with HP independent disbled, all related switches on and high volume level. Regards, -- Manolo Díaz [-- Attachment #2: alsa-info.txt --] [-- Type: text/plain, Size: 45129 bytes --] upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.61 !!################################ !!Script ran on: Wed Jan 23 15:23:30 UTC 2013 !!Linux Distribution !!------------------ ^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/" !!DMI Information !!--------------- Manufacturer: System manufacturer Product Name: System Product Name Product Version: System Version Firmware Version: 1801 !!Kernel Information !!------------------ Kernel release: 3.8.0-rc3+ Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k3.8.0-rc3+ Library version: 1.0.25 Utilities version: 1.0.25 !!Loaded ALSA modules !!------------------- !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfe8f4000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfe9ec000 irq 42 !!PCI Soundcards installed in the system !!-------------------------------------- 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) 01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series] !!Advanced information - PCI Vendor/Device/Subsystem ID's !!------------------------------------------------------- 00:14.2 0403: 1002:4383 Subsystem: 1043:8288 -- 01:00.1 0403: 1002:aa10 Subsystem: 1043:aa10 !!Loaded sound module options !!--------------------------- !!HDA-Intel Codec information !!--------------------------- --startcollapse-- Codec: Analog Devices AD1989B Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x11d4989b Subsystem Id: 0x10438311 Revision Id: 0x100300 No Modem Function Group found Default PCM: rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 State of AFG node 0x01: Power states: D0 D3 Power: setting=D0, actual=D0 GPIO: io=3, 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=1, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x30211: 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="AD1989B Digital", type="SPDIF", device=1 Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 3 samples Node 0x03 [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Headphone Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="AD1989B Alt Analog", type="Audio", device=2 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Front Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="AD1989B Analog", type="Audio", device=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x05 [Audio Output] wcaps 0x405: 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=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x06 [Audio Output] wcaps 0x405: 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=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital Converter: stream=0, channel=0 SDI-Select: 0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Unsolicited: tag=00, enabled=0 Delay: 3 samples Connection: 1 0x1c Node 0x08 [Audio Input] wcaps 0x100501: Stereo Device: name="AD1989B Analog", type="Audio", device=0 Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0c Node 0x09 [Audio Input] wcaps 0x100501: Stereo Device: name="AD1989B Alt Analog", type="Audio", device=2 Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0d Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Side Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 3 samples Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0x36 0x36] Connection: 11 0x38 0x39 0x3a 0x3b 0x3c* 0x18 0x24 0x25 0x3d 0x20 0x1f Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0xb6 0xb6] Connection: 10 0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=2, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=2, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0xb6 0xb6] Connection: 10 0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 Node 0x0f [Audio Input] wcaps 0x100501: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0e Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1 Amp-Out vals: [0x8f] Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Headphone Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Front Headphone Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x02214030: [Jack] HP Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0xc0: OUT HP VREF_HIZ Unsolicited: tag=01, enabled=1 Connection: 1 0x22 Node 0x12 [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 Control: name="Line Out Front Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01014010: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x00: VREF_HIZ Unsolicited: tag=02, enabled=1 Connection: 1 0x29 Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x9f] Pincap 0x00000010: OUT Pin Default 0x511711f0: [N/A] Speaker at Int Rear Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x2d Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Front Mic Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x02a1902e: [Jack] Mic at Ext Front Conn = 1/8, Color = Pink DefAssociation = 0x2, Sequence = 0xe Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=06, enabled=1 Connection: 1 0x2b Node 0x15 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Line Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00003737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01813021: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue DefAssociation = 0x2, Sequence = 0x1 Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=08, enabled=1 Connection: 1 0x2c Node 0x16 [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 Control: name="Line Out Surround Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01011012: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0x2 Pin-ctls: 0x00: Unsolicited: tag=03, enabled=1 Connection: 1 0x2a Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L Control: name="Rear Mic Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00003737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01a19020: [Jack] Mic at Ext Rear Conn = 1/8, Color = Pink DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=07, enabled=1 Connection: 1 0x26 Node 0x18 [Pin Complex] wcaps 0x400081: Stereo Control: name="CD Phantom Jack", index=0, device=0 Pincap 0x00000024: IN Detect Pin Default 0x99331122: [Fixed] CD at Int ATAPI Conn = ATAPI, Color = Black DefAssociation = 0x2, Sequence = 0x2 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x19 [Power Widget] wcaps 0x500500: Mono Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x20 0x21 Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin Default 0x911711f0: [Fixed] Speaker at Int Rear Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out Control: name="SPDIF Phantom Jack", index=0, device=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1 Amp-Out vals: [0x27 0x27] Pincap 0x00000010: OUT Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear Conn = Optical, Color = Other DefAssociation = 0xa, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x02 Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x97 0x97] Pincap 0x00000020: IN Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear Conn = Optical, Color = Other DefAssociation = 0x6, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out Control: name="HDMI Phantom Jack", index=0, device=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1 Amp-Out vals: [0x27 0x27] Pincap 0x00000010: OUT Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Other DefAssociation = 0xb, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x0b Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x36 0x21 Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Control: name="Front Mic Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Front Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Rear Mic Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=4, ofs=0 Control: name="Rear Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=4, ofs=0 Control: name="Line Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 Control: name="Line Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 Control: name="CD Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=6, ofs=0 Control: name="CD Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=6, ofs=0 Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x1f 0x1f] [0x1f 0x1f] [0x80 0x80] [0x80 0x80] [0x1f 0x1f] [0x80 0x80] [0x1f 0x1f] [0x80 0x80] Connection: 8 0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x9f 0x9f] Connection: 1 0x20 Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x37 0x21 Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono Connection: 18 0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21 Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L 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="Line Out CLFE Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01016011: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Orange DefAssociation = 0x1, Sequence = 0x1 Pin-ctls: 0x00: Unsolicited: tag=04, enabled=1 Connection: 1 0x27 Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Control: name="Side Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Line Out Side Jack", index=0, device=0 Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01012014: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Grey DefAssociation = 0x1, Sequence = 0x4 Pin-ctls: 0x00: Unsolicited: tag=05, enabled=1 Connection: 1 0x28 Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x32 0x21 Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x05 0x21 Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x0a 0x21 Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x04 0x21 Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] Connection: 2 0x06 0x21 Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x30 0x21 Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x31 0x21 Node 0x2d [Audio Mixer] wcaps 0x200100: Mono Connection: 1 0x1e Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono Connection: 6 0x11* 0x12 0x14 0x15 0x16 0x17 Node 0x30 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03* 0x04 0x06 Node 0x31 [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x04* 0x0a Node 0x32 [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x05* 0x04 Node 0x33 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x3a* 0x25 0x24 Node 0x34 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x3c* 0x25 0x24 Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x36 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03* 0x04 0x06 Node 0x37 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03* 0x04 0x06 Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x11 Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Front Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x03 0x03] Connection: 1 0x14 Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Line Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x03 0x03] Connection: 1 0x15 Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Rear Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x03 0x03] Connection: 1 0x17 Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x12 Codec: ATI R6xx HDMI Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x1002aa01 Subsystem Id: 0x00aa0100 Revision Id: 0x100000 No Modem Function Group found Default PCM: rates [0x40]: 48000 bits [0x2]: 16 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A State of AFG node 0x01: Power states: D0 D3 Power: setting=D0, actual=D0 GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0 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="ELD", index=0, device=3 Pincap 0x00000094: OUT Detect HDMI Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=01, enabled=1 Connection: 1 0x02 --endcollapse-- !!ALSA Device nodes !!----------------- crw-rw---T 1 root audio 116, 7 Jan 23 15:28 /dev/snd/controlC0 crw-rw---T 1 root audio 116, 9 Jan 23 15:28 /dev/snd/controlC1 crw-rw---T 1 root audio 116, 6 Jan 23 16:21 /dev/snd/pcmC0D0c crw-rw---T 1 root audio 116, 5 Jan 23 16:22 /dev/snd/pcmC0D0p crw-rw---T 1 root audio 116, 4 Jan 23 15:28 /dev/snd/pcmC0D1p crw-rw---T 1 root audio 116, 3 Jan 23 15:28 /dev/snd/pcmC0D2c crw-rw---T 1 root audio 116, 2 Jan 23 15:59 /dev/snd/pcmC0D2p crw-rw---T 1 root audio 116, 8 Jan 23 15:28 /dev/snd/pcmC1D3p crw-rw---T 1 root audio 116, 1 Jan 23 15:28 /dev/snd/seq crw-rw---T 1 root audio 116, 33 Jan 23 15:28 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 80 Jan 23 15:28 . drwxr-xr-x 3 root root 260 Jan 23 15:28 .. lrwxrwxrwx 1 root root 12 Jan 23 15:28 pci-0000:00:14.2 -> ../controlC0 lrwxrwxrwx 1 root root 12 Jan 23 15:28 pci-0000:01:00.1 -> ../controlC1 !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: AD1989B Digital [AD1989B Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 2: AD1989B Alt Analog [AD1989B Alt Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: SB [HDA ATI SB], device 0: AD1989B Analog [AD1989B Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 2: AD1989B Alt Analog [AD1989B Alt Analog] Subdevices: 2/2 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 !!Amixer output !!------------- !!-------Mixer controls for card 0 [SB] Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16' Mixer name : 'Analog Devices AD1989B' Components : 'HDA:11d4989b,10438311,00100300' Controls : 60 Simple ctrls : 26 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 38 [97%] [-1.50dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [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 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [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 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] 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: 3 [100%] [30.00dB] Front Right: 3 [100%] [30.00dB] Simple mixer control 'Surround',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Center',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'LFE',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Side',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Line',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] Simple mixer control 'Line Boost',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 3 [100%] [30.00dB] Front Right: 3 [100%] [30.00dB] Simple mixer control 'CD',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] 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 [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [on] Front Right: Capture 54 [100%] [22.50dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [off] Front Right: Capture 54 [100%] [22.50dB] [off] Simple mixer control 'Capture',2 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [off] Front Right: Capture 54 [100%] [22.50dB] [off] Simple mixer control 'Auto-Mute Mode',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Enabled' Simple mixer control 'Digital',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 60 [50%] [0.00dB] Front Right: Capture 60 [50%] [0.00dB] Simple mixer control 'Independent HP',0 Capabilities: enum Items: 'Disabled' 'Enabled' Item0: 'Disabled' Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' Item0: 'Rear Mic' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' Item0: 'Front Mic' Simple mixer control 'Input Source',2 Capabilities: cenum Items: 'Front Mic' 'Rear Mic' 'Line' 'CD' Item0: 'Front 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 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] 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: 3 [100%] [30.00dB] Front Right: 3 [100%] [30.00dB] !!-------Mixer controls for card 1 [HDMI] Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42' Mixer name : 'ATI R6xx HDMI' Components : 'HDA:1002aa01,00aa0100,00100000' Controls : 7 Simple ctrls : 1 Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] !!Alsactl output !!-------------- --startcollapse-- state.SB { control.1 { iface MIXER name 'Front Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.2 { iface MIXER name 'Front Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.3 { iface MIXER name 'Surround Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.4 { iface MIXER name 'Surround Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.5 { iface MIXER name 'Center Playback Volume' value 39 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 } } control.6 { iface MIXER name 'LFE Playback Volume' value 39 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 } } control.7 { iface MIXER name 'Center Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.8 { iface MIXER name 'LFE Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.9 { iface MIXER name 'Side Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.10 { iface MIXER name 'Side Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.11 { iface MIXER name 'Headphone Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.12 { iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.13 { iface MIXER name 'Independent HP' value Disabled comment { access 'read write' type ENUMERATED count 1 item.0 Disabled item.1 Enabled } } control.14 { iface MIXER name 'Front Mic Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 1200 dbvalue.1 1200 } } control.15 { iface MIXER name 'Front Mic Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.16 { iface MIXER name 'Rear Mic Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 1200 dbvalue.1 1200 } } control.17 { iface MIXER name 'Rear Mic Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.18 { iface MIXER name 'Line Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 1200 dbvalue.1 1200 } } control.19 { iface MIXER name 'Line Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.20 { iface MIXER name 'CD Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 1200 dbvalue.1 1200 } } control.21 { iface MIXER name 'CD Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.22 { iface MIXER name 'Auto-Mute Mode' value Enabled comment { access 'read write' type ENUMERATED count 1 item.0 Disabled item.1 Enabled } } control.23 { iface MIXER name 'Input Source' value 'Rear Mic' comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 'Rear Mic' item.2 Line item.3 CD } } control.24 { iface MIXER name 'Input Source' index 1 value 'Front Mic' comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 'Rear Mic' item.2 Line item.3 CD } } control.25 { iface MIXER name 'Input Source' index 2 value 'Front Mic' comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 'Rear Mic' item.2 Line item.3 CD } } control.26 { iface MIXER name 'Capture Volume' value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } control.27 { iface MIXER name 'Capture Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.28 { iface MIXER name 'Capture Volume' index 1 value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } control.29 { iface MIXER name 'Capture Switch' index 1 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.30 { iface MIXER name 'Capture Volume' index 2 value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } control.31 { iface MIXER name 'Capture Switch' index 2 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.32 { iface MIXER name 'Front Mic Boost Volume' value.0 3 value.1 3 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 3000 dbvalue.1 3000 } } control.33 { iface MIXER name 'Rear Mic Boost Volume' value.0 3 value.1 3 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 3000 dbvalue.1 3000 } } control.34 { iface MIXER name 'Line Boost Volume' value.0 3 value.1 3 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 3000 dbvalue.1 3000 } } control.35 { iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.36 { iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.37 { iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read write' type IEC958 count 1 } } control.38 { iface MIXER name 'IEC958 Playback Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.39 { iface MIXER name 'IEC958 Default PCM Playback Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.40 { iface MIXER name 'Master Playback Volume' value 38 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 -150 } } control.41 { iface MIXER name 'Master Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.42 { iface CARD name 'Line Out Front Jack' value false comment { access read type BOOLEAN count 1 } } control.43 { iface CARD name 'Line Out Surround Jack' value false comment { access read type BOOLEAN count 1 } } control.44 { iface CARD name 'Line Out CLFE Jack' value false comment { access read type BOOLEAN count 1 } } control.45 { iface CARD name 'Line Out Side Jack' value false comment { access read type BOOLEAN count 1 } } control.46 { iface CARD name 'Front Headphone Jack' value true comment { access read type BOOLEAN count 1 } } control.47 { iface CARD name 'Front Mic Jack' value false comment { access read type BOOLEAN count 1 } } control.48 { iface CARD name 'Rear Mic Jack' value true comment { access read type BOOLEAN count 1 } } control.49 { iface CARD name 'Line Jack' value false comment { access read type BOOLEAN count 1 } } control.50 { iface CARD name 'CD Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.51 { iface CARD name 'SPDIF Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.52 { iface CARD name 'HDMI Phantom Jack' value true comment { access read type BOOLEAN count 1 } } control.53 { iface PCM name 'Playback Channel Map' value.0 0 value.1 0 value.2 0 value.3 0 value.4 0 value.5 0 value.6 0 value.7 0 comment { access read type INTEGER count 8 range '0 - 36' } } control.54 { iface PCM name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.55 { iface PCM device 1 name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.56 { iface PCM device 2 name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.57 { iface PCM device 2 name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.58 { iface PCM device 2 name 'Capture Channel Map' index 1 value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 36' } } control.59 { 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 } } control.60 { iface MIXER name 'Digital Capture Volume' value.0 60 value.1 60 comment { access 'read write user' type INTEGER count 2 range '0 - 120' tlv '0000000100000008fffff44800000032' dbmin -3000 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } } state.HDMI { control.1 { iface CARD name 'HDMI/DP,pcm=3 Jack' value false comment { access read type BOOLEAN count 1 } } control.2 { iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.3 { iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.4 { iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read write' type IEC958 count 1 } } control.5 { iface MIXER name 'IEC958 Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.6 { iface PCM device 3 name ELD value '' comment { access 'read volatile' type BYTES count 0 } } control.7 { iface PCM device 3 name 'Playback Channel Map' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 36' } } } --endcollapse-- !!All Loaded Modules !!------------------ !!ALSA/HDA dmesg !!-------------- [ 1.881172] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 [ 1.881247] hda-intel 0000:00:14.2: Using LPIB position fix [ 1.884313] hda-intel 0000:00:14.2: Enable sync_write for stable communication [ 1.945252] usb 4-2: new low-speed USB device number 2 using ohci_hcd -- [ 2.110413] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0 [ 2.246475] hda_codec: AD1989B: BIOS auto-probing. [ 2.249508] autoconfig: line_outs=4 (0x12/0x16/0x24/0x25/0x0) type:line -- [ 2.269387] CD=0x18 [ 2.294454] input: HDA ATI SB Line as /devices/pci0000:00/0000:00:14.2/sound/card0/input4 [ 2.296771] input: HDA ATI SB Rear Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input5 [ 2.299049] input: HDA ATI SB Front Mic as /devices/pci0000:00/0000:00:14.2/sound/card0/input6 [ 2.301307] input: HDA ATI SB Front Headphone as /devices/pci0000:00/0000:00:14.2/sound/card0/input7 [ 2.303574] input: HDA ATI SB Line Out Side as /devices/pci0000:00/0000:00:14.2/sound/card0/input8 [ 2.305845] input: HDA ATI SB Line Out CLFE as /devices/pci0000:00/0000:00:14.2/sound/card0/input9 [ 2.308085] input: HDA ATI SB Line Out Surround as /devices/pci0000:00/0000:00:14.2/sound/card0/input10 [ 2.310330] input: HDA ATI SB Line Out Front as /devices/pci0000:00/0000:00:14.2/sound/card0/input11 [ 2.312832] hda-intel 0000:01:00.1: Using LPIB position fix [ 2.315083] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X [ 2.318102] hda-intel 0000:01:00.1: Enable sync_write for stable communication [ 2.321711] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input12 [ 2.324243] GACT probability NOT on -- [ 2.387373] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00) [ 2.389391] ALSA device list: [ 2.391364] #0: HDA ATI SB at 0xfe8f4000 irq 16 [ 2.393343] #1: HDA ATI HDMI at 0xfe9ec000 irq 42 [ 2.395830] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [-- Attachment #3: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 15:30 ` Manolo Díaz @ 2013-01-23 15:40 ` Manolo Díaz 2013-01-23 16:00 ` Takashi Iwai 1 sibling, 0 replies; 26+ messages in thread From: Manolo Díaz @ 2013-01-23 15:40 UTC (permalink / raw) To: Manolo Díaz; +Cc: Takashi Iwai, alsa-devel [-- Attachment #1: Type: text/plain, Size: 5683 bytes --] El mié, 23 ene 2013 a las 16:30 horas Manolo Díaz escribió: >El mié, 23 ene 2013 a las 16:12 horas >Takashi Iwai escribió: > >>At Wed, 23 Jan 2013 16:09:22 +0100, >>Manolo Díaz wrote: >>> >>> El mié, 23 ene 2013 a las 15:20 horas >>> Takashi Iwai escribió: >>> >>> >At Wed, 23 Jan 2013 15:01:43 +0100, >>> >Manolo Díaz wrote: >>> >> >>> >> El mié, 23 ene 2013 a las 14:54 horas >>> >> Takashi Iwai escribió: >>> >> >>> >> >At Wed, 23 Jan 2013 14:49:32 +0100, >>> >> >Manolo Díaz wrote: >>> >> >> >>> >> >> El mié, 23 ene 2013 a las 9:30 horas >>> >> >> Takashi Iwai escribió: >>> >> >> >>> >> >> >Hi, >>> >> >> > >>> >> >> >as most of feedbacks about the new generic parser migration were >>> >> >> >positive, I decided to take a risk: now all commit that have been in >>> >> >> >test/hda-migrate branch in sound-unstable git tree are merged to >>> >> >> >for-next branch of sound git tree for better test coverage. >>> >> >> >It means that all changes are merged to linux-next, i.e. will be >>> >> >> >included in 3.9 kernel. >>> >> >> > >>> >> >> >For the early adapter people, I'm going to keep test/hda-migrate >>> >> >> >branch of sound-unstable git tree updated for a while, but the branch >>> >> >> >will be abandoned some time later. >>> >> >> > >>> >> >> >If you encounter any regression by the recent update, please let me >>> >> >> >know. >>> >> >> > >>> >> >> > >>> >> >> >thanks, >>> >> >> > >>> >> >> >Takashi >>> >> >> >_______________________________________________ >>> >> >> >Alsa-devel mailing list >>> >> >> >Alsa-devel@alsa-project.org >>> >> >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >>> >> >> >>> >> >> Hi, >>> >> >> >>> >> >> Recording and (multi stream) playing seem to work fine, but auto-mute >>> >> >> doesn't. For example, front speakers may remain muted after >>> >> >> disconnecting the HP. >>> >> >> >>> >> >> cat /sys/kernel/debug/tracing/trace >>> >> >> # tracer: nop >>> >> >> # >>> >> >> # entries-in-buffer/entries-written: 0/0 #P:2 >>> >> >> # >>> >> >> # _-----=> irqs-off >>> >> >> # / _----=> need-resched >>> >> >> # | / _---=> hardirq/softirq >>> >> >> # || / _--=> preempt-depth >>> >> >> # ||| / delay >>> >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION >>> >> >> # | | | |||| | | >>> >> >> >>> >> >> I've connected and disconnected the HP jack several times before. >>> >> > >>> >> >If nothing appears in the tracing (suppose you enabled the events >>> >> >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather >>> >> >a hardware issue. >>> >> >>> >> Sorry, I've forgotten this step. >>> >> >>> >> >Did the auto-mute work reliably before the code change? >>> >> > >>> >> > >>> >> >Takashi >>> >> >>> >> Yes, it did. >>> > >>> >Did you mean when it worked? Was it before moving to the generic >>> >parser, or after it but before upgrading to the latest tree? >>> >In the latter case, try git bisection to figure out the culprit. >>> > >>> >But, it's anyway better to update the git branch. You are testing the >>> >too old version (there have been already 75 commits after your testing >>> >one). >>> > >>> > >>> >> New try, this time with hda events enabled. >>> >> >>> >> cat /sys/kernel/debug/tracing/trace >>> >> # tracer: nop >>> >> # >>> >> # entries-in-buffer/entries-written: 871/871 #P:2 >>> >> # >>> >> # _-----=> irqs-off >>> >> # / _----=> need-resched >>> >> # | / _---=> hardirq/softirq >>> >> # || / _--=> preempt-depth >>> >> # ||| / delay >>> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION >>> >> # | | | |||| | | >>> >> <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 >>> >> <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 >>> > >>> >OK, so the unsol event is generated properly. >>> > >>> >Is the alsa-info.sh output you attached previously at the state after >>> >unplugging? If so, I see no problem in the code register. The path >>> >0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set >>> >properly. >>> > >>> >If something doesn't work as expected, we need two alsa-info outputs >>> >for comparison: the working one and non-working one. >>> > >>> > >>> >Takashi >>> >>> commit 28ebfa08e2945b38e08c537faf7f749125780cbe >>> branch: test/hda-migrate >>> >>> Now everything's working fine (only tested 2 channels analog). Btw, >>> I can't hear what I'm recording, unlike the latest stable kernel. Is >>> that intentional? >> >>In the latest version, you should have "Line", "Front Mic" and "Rear >>Mic" playback volumes/switches. They are the analog-loopback things. >> >> >>Takashi > >Yes, I have them. But I can't hear what I'm recording, either through >headphones or through speakers, no matters if HP independent is enabled >or disabled. Attached is the alsa-info.sh output after the last test: >recording through the rear-mic and trying to hear through the HP with >HP independent disbled, all related switches on and high volume level. > >Regards, The same last test, this time using linux stable 3.7.4. I can hear what I'm recording. alsa-info.sh output attached Regards, -- Manolo Díaz [-- Attachment #2: alsa-info.txt --] [-- Type: text/plain, Size: 43253 bytes --] upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.61 !!################################ !!Script ran on: Wed Jan 23 15:37:47 UTC 2013 !!Linux Distribution !!------------------ ^[[0;32mDebian testing (Wheezy) ^[[0;31m\n. ^[[1;33m\l^[[0;32m PRETTY_NAME="Debian GNU/Linux 7.0 (wheezy)" NAME="Debian GNU/Linux" ID=debian HOME_URL="http://www.debian.org/" SUPPORT_URL="http://www.debian.org/support/" BUG_REPORT_URL="http://bugs.debian.org/" !!DMI Information !!--------------- Manufacturer: System manufacturer Product Name: System Product Name Product Version: System Version Firmware Version: 1801 !!Kernel Information !!------------------ Kernel release: 3.7.4 Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k3.7.4 Library version: 1.0.25 Utilities version: 1.0.25 !!Loaded ALSA modules !!------------------- !!Sound Servers on this system !!---------------------------- No sound servers found. !!Soundcards recognised by ALSA !!----------------------------- 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xfe8f4000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xfe9ec000 irq 42 !!PCI Soundcards installed in the system !!-------------------------------------- 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) 01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV610 HDMI Audio [Radeon HD 2350/2400 Series] !!Advanced information - PCI Vendor/Device/Subsystem ID's !!------------------------------------------------------- 00:14.2 0403: 1002:4383 Subsystem: 1043:8288 -- 01:00.1 0403: 1002:aa10 Subsystem: 1043:aa10 !!Loaded sound module options !!--------------------------- !!HDA-Intel Codec information !!--------------------------- --startcollapse-- Codec: Analog Devices AD1989B Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x11d4989b Subsystem Id: 0x10438311 Revision Id: 0x100300 No Modem Function Group found Default PCM: rates [0x7ff]: 8000 11025 16000 22050 32000 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Default Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 GPIO: io=3, 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=1, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x30211: 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="AD198x Digital", type="SPDIF", device=1 Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 3 samples Node 0x03 [Audio Output] wcaps 0x405: 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=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x04 [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Front Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Device: name="AD198x Analog", type="Audio", device=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x05 [Audio Output] wcaps 0x405: 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=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x06 [Audio Output] wcaps 0x405: 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=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x07 [Audio Input] wcaps 0x130391: Stereo Digital Control: name="IEC958 Capture Switch", index=0, device=0 Control: name="IEC958 Capture Default", index=0, device=0 Device: name="AD198x Digital", type="SPDIF", device=1 Converter: stream=0, channel=0 SDI-Select: 0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Unsolicited: tag=00, enabled=0 Delay: 3 samples Connection: 1 0x1c Node 0x08 [Audio Input] wcaps 0x100501: Stereo Device: name="AD198x Analog", type="Audio", device=0 Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0c Node 0x09 [Audio Input] wcaps 0x100501: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0d Node 0x0a [Audio Output] wcaps 0x405: Stereo Amp-Out Control: name="Side Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=0 Amp-Out vals: [0x26 0x26] Converter: stream=0, channel=0 Power states: D0 D3 Power: setting=D0, actual=D0 Node 0x0b [Audio Output] wcaps 0x30211: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 3 samples Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Input Source", index=0, device=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0x36 0x36] Connection: 11 0x38 0x39 0x3a 0x3b 0x3c* 0x18 0x24 0x25 0x3d 0x20 0x1f Node 0x0d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=1, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Input Source", index=1, device=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0xb6 0xb6] Connection: 10 0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 Node 0x0e [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Capture Volume", index=2, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Capture Switch", index=2, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Input Source", index=2, device=0 Amp-Out caps: ofs=0x27, nsteps=0x36, stepsize=0x05, mute=1 Amp-Out vals: [0xb6 0xb6] Connection: 10 0x38 0x39* 0x3a 0x3b 0x3c 0x18 0x24 0x25 0x3d 0x20 Node 0x0f [Audio Input] wcaps 0x100501: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 1 0x0e Node 0x10 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out Amp-Out caps: ofs=0x0f, nsteps=0x0f, stepsize=0x0b, mute=1 Amp-Out vals: [0x00] Node 0x11 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x02214030: [Jack] HP Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x3, Sequence = 0x0 Pin-ctls: 0xc0: OUT HP VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 1 0x22 Node 0x12 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01014010: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Green DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 1 0x29 Node 0x13 [Pin Complex] wcaps 0x40010c: Mono Amp-Out Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x00] Pincap 0x00000010: OUT Pin Default 0x511711f0: [N/A] Speaker at Int Rear Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x2d Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000373f: IN OUT HP Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x02a1902e: [Jack] Mic at Ext Front Conn = 1/8, Color = Pink DefAssociation = 0x2, Sequence = 0xe Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0 Connection: 1 0x2b 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 0x00003737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01813021: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue DefAssociation = 0x2, Sequence = 0x1 Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 1 0x2c Node 0x16 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01011012: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0x2 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x2a Node 0x17 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x00003737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 100 Pin Default 0x01a19020: [Jack] Mic at Ext Rear Conn = 1/8, Color = Pink DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x24: IN VREF_80 Unsolicited: tag=00, enabled=0 Connection: 1 0x26 Node 0x18 [Pin Complex] wcaps 0x400081: Stereo Pincap 0x00000024: IN Detect Pin Default 0x99331122: [Fixed] CD at Int ATAPI Conn = ATAPI, Color = Black DefAssociation = 0x2, Sequence = 0x2 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x19 [Power Widget] wcaps 0x500500: Mono Power states: D0 D3 Power: setting=D0, actual=D0 Connection: 2 0x20 0x21 Node 0x1a [Pin Complex] wcaps 0x400000: Mono Pincap 0x00000020: IN Pin Default 0x911711f0: [Fixed] Speaker at Int Rear Conn = Analog, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1b [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out Control: name="IEC958 Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000010: OUT Pin Default 0x0145f1a0: [Jack] SPDIF Out at Ext Rear Conn = Optical, Color = Other DefAssociation = 0xa, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x02 Node 0x1c [Pin Complex] wcaps 0x40020b: Stereo Digital Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x97 0x97] Pincap 0x00000020: IN Pin Default 0x41c5f160: [N/A] SPDIF In at Ext Rear Conn = Optical, Color = Other DefAssociation = 0x6, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1d [Pin Complex] wcaps 0x40030d: Stereo Digital Amp-Out Control: name="HDMI Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x27, nsteps=0x27, stepsize=0x05, mute=1 Amp-Out vals: [0x27 0x27] Pincap 0x00000010: OUT Pin Default 0x1856f1b0: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Other DefAssociation = 0xb, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 1 0x0b Node 0x1e [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x36 0x21 Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x20 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Control: name="CD Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=6, ofs=0 Control: name="CD Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=6, ofs=0 Control: name="Front Mic Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Front Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=0, ofs=0 Control: name="Line Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 Control: name="Line Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=1, ofs=0 Control: name="Mic Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=In, idx=4, ofs=0 Control: name="Mic Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=4, ofs=0 Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x1f 0x1f] [0x1f 0x1f] [0x80 0x80] [0x80 0x80] [0x1f 0x1f] [0x80 0x80] [0x1f 0x1f] [0x80 0x80] Connection: 8 0x39 0x33 0x38 0x3d 0x34 0x3b 0x18 0x1a Node 0x21 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Analog Mix Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Analog Mix Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 Amp-Out vals: [0x1f 0x1f] Connection: 1 0x20 Node 0x22 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x37 0x21 Node 0x23 [Vendor Defined Widget] wcaps 0xf00100: Mono Connection: 18 0x11* 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x24 0x25 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x20 0x21 Node 0x24 [Pin Complex] wcaps 0x40098d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01016011: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Orange DefAssociation = 0x1, Sequence = 0x1 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x27 Node 0x25 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x01012014: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Grey DefAssociation = 0x1, Sequence = 0x4 Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x28 Node 0x26 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x32 0x21 Node 0x27 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x05 0x21 Node 0x28 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x0a 0x21 Node 0x29 [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x04 0x21 Node 0x2a [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00] Connection: 2 0x06 0x21 Node 0x2b [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x30 0x21 Node 0x2c [Audio Mixer] wcaps 0x200103: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] Connection: 2 0x31 0x21 Node 0x2d [Audio Mixer] wcaps 0x200100: Mono Connection: 1 0x1e Node 0x2e [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x2f [Vendor Defined Widget] wcaps 0xf00100: Mono Connection: 6 0x11* 0x12 0x14 0x15 0x16 0x17 Node 0x30 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03* 0x04 0x06 Node 0x31 [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x04* 0x0a Node 0x32 [Audio Selector] wcaps 0x300101: Stereo Connection: 2 0x05* 0x04 Node 0x33 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x3a* 0x25 0x24 Node 0x34 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x3c* 0x25 0x24 Node 0x35 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x36 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03 0x04* 0x06 Node 0x37 [Audio Selector] wcaps 0x300101: Stereo Connection: 3 0x03* 0x04 0x06 Node 0x38 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x11 Node 0x39 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Front Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x03 0x03] Connection: 1 0x14 Node 0x3a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x15 Node 0x3b [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x3c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Control: name="Mic Boost Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x03 0x03] Connection: 1 0x17 Node 0x3d [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 1 0x12 Codec: ATI R6xx HDMI Address: 0 AFG Function Id: 0x1 (unsol 0) Vendor Id: 0x1002aa01 Subsystem Id: 0x00aa0100 Revision Id: 0x100000 No Modem Function Group found Default PCM: rates [0x40]: 48000 bits [0x2]: 16 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A GPIO: io=0, o=0, i=0, unsolicited=0, wake=0 Node 0x02 [Audio Output] wcaps 0x201: Stereo Digital Converter: stream=0, channel=0 Digital: Digital category: 0x0 IEC Coding Type: 0x0 Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital Control: name="HDMI/DP,pcm=3 Jack", index=0, device=0 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="ELD", index=0, device=3 Pincap 0x00000094: OUT Detect HDMI Pin Default 0x18560010: [Jack] Digital Out at Int HDMI Conn = Digital, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Pin-ctls: 0x40: OUT Unsolicited: tag=01, enabled=1 Connection: 1 0x02 --endcollapse-- !!ALSA Device nodes !!----------------- crw-rw---T 1 root audio 116, 6 Jan 23 16:31 /dev/snd/controlC0 crw-rw---T 1 root audio 116, 8 Jan 23 16:31 /dev/snd/controlC1 crw-rw---T 1 root audio 116, 5 Jan 23 16:36 /dev/snd/pcmC0D0c crw-rw---T 1 root audio 116, 4 Jan 23 16:31 /dev/snd/pcmC0D0p crw-rw---T 1 root audio 116, 3 Jan 23 16:31 /dev/snd/pcmC0D1c crw-rw---T 1 root audio 116, 2 Jan 23 16:31 /dev/snd/pcmC0D1p crw-rw---T 1 root audio 116, 7 Jan 23 16:31 /dev/snd/pcmC1D3p crw-rw---T 1 root audio 116, 1 Jan 23 16:31 /dev/snd/seq crw-rw---T 1 root audio 116, 33 Jan 23 16:31 /dev/snd/timer /dev/snd/by-path: total 0 drwxr-xr-x 2 root root 80 Jan 23 16:31 . drwxr-xr-x 3 root root 240 Jan 23 16:31 .. lrwxrwxrwx 1 root root 12 Jan 23 16:31 pci-0000:00:14.2 -> ../controlC0 lrwxrwxrwx 1 root root 12 Jan 23 16:31 pci-0000:01:00.1 -> ../controlC1 !!Aplay/Arecord output !!-------------------- APLAY **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: AD198x Analog [AD198x Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: AD198x Digital [AD198x Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 ARECORD **** List of CAPTURE Hardware Devices **** card 0: SB [HDA ATI SB], device 0: AD198x Analog [AD198x Analog] Subdevices: 3/3 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 card 0: SB [HDA ATI SB], device 1: AD198x Digital [AD198x Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Amixer output !!------------- !!-------Mixer controls for card 0 [SB] Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16' Mixer name : 'Analog Devices AD1989B' Components : 'HDA:11d4989b,10438311,00100300' Controls : 53 Simple ctrls : 26 Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 38 [97%] [-1.50dB] [on] Simple mixer control 'Headphone',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [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 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [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 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] 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: 3 [100%] [30.00dB] Front Right: 3 [100%] [30.00dB] Simple mixer control 'Surround',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Center',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'LFE',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum Playback channels: Mono Limits: Playback 0 - 39 Mono: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Side',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] [on] Front Right: Playback 39 [100%] [0.00dB] [on] Simple mixer control 'Line',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] Simple mixer control 'CD',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [on] Front Right: Playback 31 [100%] [12.00dB] [on] Simple mixer control 'Mic Boost',0 Capabilities: volume penum Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 3 [100%] [30.00dB] Front Right: 3 [100%] [30.00dB] Simple mixer control 'IEC958',0 Capabilities: pvolume pswitch pswitch-joined cswitch cswitch-joined penum Playback channels: Front Left - Front Right Capture channels: Mono Limits: Playback 0 - 39 Mono: Capture [off] Front Left: Playback 0 [0%] [-58.50dB] [off] Front Right: Playback 0 [0%] [-58.50dB] [off] Simple mixer control 'IEC958 Default PCM',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [off] Simple mixer control 'Mono',0 Capabilities: pswitch penum Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [on] Front Right: Capture 54 [100%] [22.50dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [off] Front Right: Capture 54 [100%] [22.50dB] [off] Simple mixer control 'Capture',2 Capabilities: cvolume cswitch penum Capture channels: Front Left - Front Right Limits: Capture 0 - 54 Front Left: Capture 54 [100%] [22.50dB] [off] Front Right: Capture 54 [100%] [22.50dB] [off] Simple mixer control 'Analog Mix',0 Capabilities: pvolume pswitch penum Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [0.00dB] [on] Front Right: Playback 31 [100%] [0.00dB] [on] Simple mixer control 'Digital',0 Capabilities: cvolume penum Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 60 [50%] [0.00dB] Front Right: Capture 60 [50%] [0.00dB] Simple mixer control 'HDMI',0 Capabilities: pvolume penum Playback channels: Front Left - Front Right Limits: Playback 0 - 39 Mono: Front Left: Playback 39 [100%] [0.00dB] Front Right: Playback 39 [100%] [0.00dB] Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix' Item0: 'Mic' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix' Item0: 'Front Mic' Simple mixer control 'Input Source',2 Capabilities: cenum Items: 'Front Mic' 'Line' 'Mic' 'CD' 'Mix' Item0: 'Front Mic' !!-------Mixer controls for card 1 [HDMI] Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9ec000 irq 42' Mixer name : 'ATI R6xx HDMI' Components : 'HDA:1002aa01,00aa0100,00100000' Controls : 7 Simple ctrls : 1 Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined penum Playback channels: Mono Mono: Playback [on] !!Alsactl output !!-------------- --startcollapse-- state.SB { control.1 { iface MIXER name 'Front Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.2 { iface MIXER name 'Surround Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.3 { iface MIXER name 'Center Playback Volume' value 39 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 } } control.4 { iface MIXER name 'LFE Playback Volume' value 39 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 } } control.5 { iface MIXER name 'Side Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.6 { iface MIXER name 'Headphone Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.7 { iface MIXER name 'Front Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.8 { iface MIXER name 'Surround Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.9 { iface MIXER name 'Center Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.10 { iface MIXER name 'LFE Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.11 { iface MIXER name 'Side Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.12 { iface MIXER name 'Headphone Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.13 { iface MIXER name 'Mono Playback Switch' value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.14 { iface MIXER name 'CD Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 1200 dbvalue.1 1200 } } control.15 { iface MIXER name 'CD Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.16 { iface MIXER name 'Front Mic Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 1200 dbvalue.1 1200 } } control.17 { iface MIXER name 'Front Mic Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.18 { iface MIXER name 'Line Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 1200 dbvalue.1 1200 } } control.19 { iface MIXER name 'Line Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.20 { iface MIXER name 'Mic Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -3450 dbmax 1200 dbvalue.0 1200 dbvalue.1 1200 } } control.21 { iface MIXER name 'Mic Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.22 { iface MIXER name 'Analog Mix Playback Volume' value.0 31 value.1 31 comment { access 'read write' type INTEGER count 2 range '0 - 31' dbmin -4650 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.23 { iface MIXER name 'Analog Mix Playback Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.24 { iface MIXER name 'Front Mic Boost Volume' value.0 3 value.1 3 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 3000 dbvalue.1 3000 } } control.25 { iface MIXER name 'Mic Boost Volume' value.0 3 value.1 3 comment { access 'read write' type INTEGER count 2 range '0 - 3' dbmin 0 dbmax 3000 dbvalue.0 3000 dbvalue.1 3000 } } control.26 { iface MIXER name 'Capture Volume' value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } control.27 { iface MIXER name 'Capture Switch' value.0 true value.1 true comment { access 'read write' type BOOLEAN count 2 } } control.28 { iface MIXER name 'Capture Volume' index 1 value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } control.29 { iface MIXER name 'Capture Switch' index 1 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.30 { iface MIXER name 'Capture Volume' index 2 value.0 54 value.1 54 comment { access 'read write' type INTEGER count 2 range '0 - 54' dbmin -5850 dbmax 2250 dbvalue.0 2250 dbvalue.1 2250 } } control.31 { iface MIXER name 'Capture Switch' index 2 value.0 false value.1 false comment { access 'read write' type BOOLEAN count 2 } } control.32 { iface MIXER name 'Input Source' value Mic comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 Line item.2 Mic item.3 CD item.4 Mix } } control.33 { iface MIXER name 'Input Source' index 1 value 'Front Mic' comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 Line item.2 Mic item.3 CD item.4 Mix } } control.34 { iface MIXER name 'Input Source' index 2 value 'Front Mic' comment { access 'read write' type ENUMERATED count 1 item.0 'Front Mic' item.1 Line item.2 Mic item.3 CD item.4 Mix } } control.35 { iface MIXER name 'IEC958 Playback Volume' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 -5850 dbvalue.1 -5850 } } control.36 { iface MIXER name 'HDMI Playback Volume' value.0 39 value.1 39 comment { access 'read write' type INTEGER count 2 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 0 dbvalue.1 0 } } control.37 { iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.38 { iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.39 { iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read write' type IEC958 count 1 } } control.40 { iface MIXER name 'IEC958 Playback Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.41 { iface MIXER name 'IEC958 Default PCM Playback Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.42 { iface MIXER name 'IEC958 Capture Switch' value false comment { access 'read write' type BOOLEAN count 1 } } control.43 { iface MIXER name 'IEC958 Capture Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.44 { iface MIXER name 'Master Playback Volume' value 38 comment { access 'read write' type INTEGER count 1 range '0 - 39' dbmin -5850 dbmax 0 dbvalue.0 -150 } } control.45 { iface MIXER name 'Master Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.46 { iface PCM name 'Playback Channel Map' value.0 0 value.1 0 value.2 0 value.3 0 value.4 0 value.5 0 value.6 0 value.7 0 comment { access read type INTEGER count 8 range '0 - 27' } } control.47 { iface PCM name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 27' } } control.48 { iface PCM name 'Capture Channel Map' index 1 value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 27' } } control.49 { iface PCM name 'Capture Channel Map' index 2 value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 27' } } control.50 { iface PCM device 1 name 'Playback Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 27' } } control.51 { iface PCM device 1 name 'Capture Channel Map' value.0 0 value.1 0 comment { access read type INTEGER count 2 range '0 - 27' } } control.52 { 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 } } control.53 { iface MIXER name 'Digital Capture Volume' value.0 60 value.1 60 comment { access 'read write user' type INTEGER count 2 range '0 - 120' tlv '0000000100000008fffff44800000032' dbmin -3000 dbmax 3000 dbvalue.0 0 dbvalue.1 0 } } } state.HDMI { control.1 { iface CARD name 'HDMI/DP,pcm=3 Jack' value false comment { access read type BOOLEAN count 1 } } control.2 { iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.3 { iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access read type IEC958 count 1 } } control.4 { iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' comment { access 'read write' type IEC958 count 1 } } control.5 { iface MIXER name 'IEC958 Playback Switch' value true comment { access 'read write' type BOOLEAN count 1 } } control.6 { iface PCM device 3 name ELD value '' comment { access 'read volatile' type BYTES count 0 } } control.7 { iface PCM device 3 name 'Playback Channel Map' value.0 0 value.1 0 comment { access 'read write' type INTEGER count 2 range '0 - 27' } } } --endcollapse-- !!All Loaded Modules !!------------------ !!ALSA/HDA dmesg !!-------------- [ 0.000000] Linux version 3.7.4 (root@pc) (gcc version 4.7.2 (Debian 4.7.2-5) ) #1 SMP Tue Jan 22 09:58:53 CET 2013 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.7.4 root=/dev/sda1 ro iommu=soft snd-hda-intel.model=6stack-dig [ 0.000000] e820: BIOS-provided physical RAM map: -- [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1028921 [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.7.4 root=/dev/sda1 ro iommu=soft snd-hda-intel.model=6stack-dig [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) -- [ 2.073081] hid-generic 0003:15D9:0A4D.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-0000:00:12.1-2/input0 [ 2.225120] snd_hda_intel 0000:01:00.1: irq 42 for MSI/MSI-X [ 2.230873] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1/input4 [ 2.233422] GACT probability NOT on -- [ 2.296945] powernow-k8: Found 1 AMD Athlon(tm) X2 Dual Core Processor BE-2350 (2 cpu cores) (version 2.20.00) [ 2.299187] ALSA device list: [ 2.301312] #0: HDA ATI SB at 0xfe8f4000 irq 16 [ 2.303440] #1: HDA ATI HDMI at 0xfe9ec000 irq 42 [ 2.306077] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities [-- Attachment #3: Type: text/plain, Size: 0 bytes --] ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 15:30 ` Manolo Díaz 2013-01-23 15:40 ` Manolo Díaz @ 2013-01-23 16:00 ` Takashi Iwai 2013-01-23 16:35 ` Manolo Díaz 1 sibling, 1 reply; 26+ messages in thread From: Takashi Iwai @ 2013-01-23 16:00 UTC (permalink / raw) To: Manolo Díaz; +Cc: alsa-devel At Wed, 23 Jan 2013 16:30:13 +0100, Manolo Díaz wrote: > > El mié, 23 ene 2013 a las 16:12 horas > Takashi Iwai escribió: > > >At Wed, 23 Jan 2013 16:09:22 +0100, > >Manolo Díaz wrote: > >> > >> El mié, 23 ene 2013 a las 15:20 horas > >> Takashi Iwai escribió: > >> > >> >At Wed, 23 Jan 2013 15:01:43 +0100, > >> >Manolo Díaz wrote: > >> >> > >> >> El mié, 23 ene 2013 a las 14:54 horas > >> >> Takashi Iwai escribió: > >> >> > >> >> >At Wed, 23 Jan 2013 14:49:32 +0100, > >> >> >Manolo Díaz wrote: > >> >> >> > >> >> >> El mié, 23 ene 2013 a las 9:30 horas > >> >> >> Takashi Iwai escribió: > >> >> >> > >> >> >> >Hi, > >> >> >> > > >> >> >> >as most of feedbacks about the new generic parser migration were > >> >> >> >positive, I decided to take a risk: now all commit that have been in > >> >> >> >test/hda-migrate branch in sound-unstable git tree are merged to > >> >> >> >for-next branch of sound git tree for better test coverage. > >> >> >> >It means that all changes are merged to linux-next, i.e. will be > >> >> >> >included in 3.9 kernel. > >> >> >> > > >> >> >> >For the early adapter people, I'm going to keep test/hda-migrate > >> >> >> >branch of sound-unstable git tree updated for a while, but the branch > >> >> >> >will be abandoned some time later. > >> >> >> > > >> >> >> >If you encounter any regression by the recent update, please let me > >> >> >> >know. > >> >> >> > > >> >> >> > > >> >> >> >thanks, > >> >> >> > > >> >> >> >Takashi > >> >> >> >_______________________________________________ > >> >> >> >Alsa-devel mailing list > >> >> >> >Alsa-devel@alsa-project.org > >> >> >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > >> >> >> > >> >> >> Hi, > >> >> >> > >> >> >> Recording and (multi stream) playing seem to work fine, but auto-mute > >> >> >> doesn't. For example, front speakers may remain muted after > >> >> >> disconnecting the HP. > >> >> >> > >> >> >> cat /sys/kernel/debug/tracing/trace > >> >> >> # tracer: nop > >> >> >> # > >> >> >> # entries-in-buffer/entries-written: 0/0 #P:2 > >> >> >> # > >> >> >> # _-----=> irqs-off > >> >> >> # / _----=> need-resched > >> >> >> # | / _---=> hardirq/softirq > >> >> >> # || / _--=> preempt-depth > >> >> >> # ||| / delay > >> >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > >> >> >> # | | | |||| | | > >> >> >> > >> >> >> I've connected and disconnected the HP jack several times before. > >> >> > > >> >> >If nothing appears in the tracing (suppose you enabled the events > >> >> >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather > >> >> >a hardware issue. > >> >> > >> >> Sorry, I've forgotten this step. > >> >> > >> >> >Did the auto-mute work reliably before the code change? > >> >> > > >> >> > > >> >> >Takashi > >> >> > >> >> Yes, it did. > >> > > >> >Did you mean when it worked? Was it before moving to the generic > >> >parser, or after it but before upgrading to the latest tree? > >> >In the latter case, try git bisection to figure out the culprit. > >> > > >> >But, it's anyway better to update the git branch. You are testing the > >> >too old version (there have been already 75 commits after your testing > >> >one). > >> > > >> > > >> >> New try, this time with hda events enabled. > >> >> > >> >> cat /sys/kernel/debug/tracing/trace > >> >> # tracer: nop > >> >> # > >> >> # entries-in-buffer/entries-written: 871/871 #P:2 > >> >> # > >> >> # _-----=> irqs-off > >> >> # / _----=> need-resched > >> >> # | / _---=> hardirq/softirq > >> >> # || / _--=> preempt-depth > >> >> # ||| / delay > >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > >> >> # | | | |||| | | > >> >> <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 > >> >> <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 > >> > > >> >OK, so the unsol event is generated properly. > >> > > >> >Is the alsa-info.sh output you attached previously at the state after > >> >unplugging? If so, I see no problem in the code register. The path > >> >0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set > >> >properly. > >> > > >> >If something doesn't work as expected, we need two alsa-info outputs > >> >for comparison: the working one and non-working one. > >> > > >> > > >> >Takashi > >> > >> commit 28ebfa08e2945b38e08c537faf7f749125780cbe > >> branch: test/hda-migrate > >> > >> Now everything's working fine (only tested 2 channels analog). Btw, > >> I can't hear what I'm recording, unlike the latest stable kernel. Is > >> that intentional? > > > >In the latest version, you should have "Line", "Front Mic" and "Rear > >Mic" playback volumes/switches. They are the analog-loopback things. > > > > > >Takashi > > Yes, I have them. But I can't hear what I'm recording, either through > headphones or through speakers, no matters if HP independent is enabled > or disabled. Attached is the alsa-info.sh output after the last test: > recording through the rear-mic and trying to hear through the HP with > HP independent disbled, all related switches on and high volume level. OK, confirmed that it's a missing path between the mixer widget and the actual outputs. There is another mixer widget in the case of AD1988 and AD1882. Since these are specific to AD codecs, I did a band-aid fix now. Try the patch below. Takashi --- diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 758dcc1..06e203d 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -688,7 +688,7 @@ static void activate_amp_in(struct hda_codec *codec, struct nid_path *path, * when aa-mixer is available, we need to enable the path as well */ for (n = 0; n < nums; n++) { - if (n != idx && (!add_aamix || conn[n] != spec->mixer_nid)) + if (n != idx && (!add_aamix || conn[n] != spec->mixer_merge_nid)) continue; activate_amp(codec, nid, HDA_INPUT, n, idx, enable); } @@ -2492,6 +2492,19 @@ static int new_analog_input(struct hda_codec *codec, int input_idx, path->active = true; add_loopback_list(spec, mix_nid, idx); + + if (spec->mixer_nid != spec->mixer_merge_nid && + !spec->loopback_merge_path) { + path = snd_hda_add_new_path(codec, spec->mixer_nid, + spec->mixer_merge_nid, 0); + if (path) { + print_nid_path("loopback-merge", path); + path->active = true; + spec->loopback_merge_path = + snd_hda_get_path_idx(codec, path); + } + } + return 0; } @@ -3847,6 +3860,9 @@ int snd_hda_gen_parse_auto_config(struct hda_codec *codec, parse_user_hints(codec); + if (spec->mixer_nid && !spec->mixer_merge_nid) + spec->mixer_merge_nid = spec->mixer_nid; + if (cfg != &spec->autocfg) { spec->autocfg = *cfg; cfg = &spec->autocfg; @@ -4673,6 +4689,11 @@ static void init_analog_input(struct hda_codec *codec) if (path) snd_hda_activate_path(codec, path, path->active, false); + path = snd_hda_get_path_from_idx(codec, + spec->loopback_merge_path); + if (path) + snd_hda_activate_path(codec, path, path->active, + false); } } } diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index 980707f..d226856 100644 --- a/sound/pci/hda/hda_generic.h +++ b/sound/pci/hda/hda_generic.h @@ -107,6 +107,7 @@ struct hda_gen_spec { hda_nid_t adc_nids[AUTO_CFG_MAX_INS]; hda_nid_t dig_in_nid; /* digital-in NID; optional */ hda_nid_t mixer_nid; /* analog-mixer NID */ + hda_nid_t mixer_merge_nid; /* aamix merge-point NID (optional) */ const char *input_labels[HDA_MAX_NUM_INPUTS]; int input_label_idxs[HDA_MAX_NUM_INPUTS]; @@ -163,6 +164,7 @@ struct hda_gen_spec { int digout_paths[AUTO_CFG_MAX_OUTS]; int input_paths[HDA_MAX_NUM_INPUTS][AUTO_CFG_MAX_INS]; int loopback_paths[HDA_MAX_NUM_INPUTS]; + int loopback_merge_path; int digin_path; /* auto-mic stuff */ diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 9d82aab..df8014b 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c @@ -3235,6 +3235,7 @@ static int ad1988_parse_auto_config(struct hda_codec *codec) spec = codec->spec; spec->gen.mixer_nid = 0x20; + spec->gen.mixer_merge_nid = 0x21; spec->beep_dev_nid = 0x10; set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); err = ad198x_parse_auto_config(codec); @@ -5153,6 +5154,7 @@ static int ad1882_parse_auto_config(struct hda_codec *codec) spec = codec->spec; spec->gen.mixer_nid = 0x20; + spec->gen.mixer_merge_nid = 0x21; spec->beep_dev_nid = 0x10; set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); err = ad198x_parse_auto_config(codec); _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 16:00 ` Takashi Iwai @ 2013-01-23 16:35 ` Manolo Díaz 2013-01-23 16:54 ` Takashi Iwai 0 siblings, 1 reply; 26+ messages in thread From: Manolo Díaz @ 2013-01-23 16:35 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel El mié, 23 ene 2013 a las 17:00 horas Takashi Iwai escribió: >At Wed, 23 Jan 2013 16:30:13 +0100, >Manolo Díaz wrote: >> >> El mié, 23 ene 2013 a las 16:12 horas >> Takashi Iwai escribió: >> >> >At Wed, 23 Jan 2013 16:09:22 +0100, >> >Manolo Díaz wrote: >> >> >> >> El mié, 23 ene 2013 a las 15:20 horas >> >> Takashi Iwai escribió: >> >> >> >> >At Wed, 23 Jan 2013 15:01:43 +0100, >> >> >Manolo Díaz wrote: >> >> >> >> >> >> El mié, 23 ene 2013 a las 14:54 horas >> >> >> Takashi Iwai escribió: >> >> >> >> >> >> >At Wed, 23 Jan 2013 14:49:32 +0100, >> >> >> >Manolo Díaz wrote: >> >> >> >> >> >> >> >> El mié, 23 ene 2013 a las 9:30 horas >> >> >> >> Takashi Iwai escribió: >> >> >> >> >> >> >> >> >Hi, >> >> >> >> > >> >> >> >> >as most of feedbacks about the new generic parser migration were >> >> >> >> >positive, I decided to take a risk: now all commit that have been in >> >> >> >> >test/hda-migrate branch in sound-unstable git tree are merged to >> >> >> >> >for-next branch of sound git tree for better test coverage. >> >> >> >> >It means that all changes are merged to linux-next, i.e. will be >> >> >> >> >included in 3.9 kernel. >> >> >> >> > >> >> >> >> >For the early adapter people, I'm going to keep test/hda-migrate >> >> >> >> >branch of sound-unstable git tree updated for a while, but the branch >> >> >> >> >will be abandoned some time later. >> >> >> >> > >> >> >> >> >If you encounter any regression by the recent update, please let me >> >> >> >> >know. >> >> >> >> > >> >> >> >> > >> >> >> >> >thanks, >> >> >> >> > >> >> >> >> >Takashi >> >> >> >> >_______________________________________________ >> >> >> >> >Alsa-devel mailing list >> >> >> >> >Alsa-devel@alsa-project.org >> >> >> >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel >> >> >> >> >> >> >> >> Hi, >> >> >> >> >> >> >> >> Recording and (multi stream) playing seem to work fine, but auto-mute >> >> >> >> doesn't. For example, front speakers may remain muted after >> >> >> >> disconnecting the HP. >> >> >> >> >> >> >> >> cat /sys/kernel/debug/tracing/trace >> >> >> >> # tracer: nop >> >> >> >> # >> >> >> >> # entries-in-buffer/entries-written: 0/0 #P:2 >> >> >> >> # >> >> >> >> # _-----=> irqs-off >> >> >> >> # / _----=> need-resched >> >> >> >> # | / _---=> hardirq/softirq >> >> >> >> # || / _--=> preempt-depth >> >> >> >> # ||| / delay >> >> >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION >> >> >> >> # | | | |||| | | >> >> >> >> >> >> >> >> I've connected and disconnected the HP jack several times before. >> >> >> > >> >> >> >If nothing appears in the tracing (suppose you enabled the events >> >> >> >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather >> >> >> >a hardware issue. >> >> >> >> >> >> Sorry, I've forgotten this step. >> >> >> >> >> >> >Did the auto-mute work reliably before the code change? >> >> >> > >> >> >> > >> >> >> >Takashi >> >> >> >> >> >> Yes, it did. >> >> > >> >> >Did you mean when it worked? Was it before moving to the generic >> >> >parser, or after it but before upgrading to the latest tree? >> >> >In the latter case, try git bisection to figure out the culprit. >> >> > >> >> >But, it's anyway better to update the git branch. You are testing the >> >> >too old version (there have been already 75 commits after your testing >> >> >one). >> >> > >> >> > >> >> >> New try, this time with hda events enabled. >> >> >> >> >> >> cat /sys/kernel/debug/tracing/trace >> >> >> # tracer: nop >> >> >> # >> >> >> # entries-in-buffer/entries-written: 871/871 #P:2 >> >> >> # >> >> >> # _-----=> irqs-off >> >> >> # / _----=> need-resched >> >> >> # | / _---=> hardirq/softirq >> >> >> # || / _--=> preempt-depth >> >> >> # ||| / delay >> >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION >> >> >> # | | | |||| | | >> >> >> <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 >> >> >> <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 >> >> > >> >> >OK, so the unsol event is generated properly. >> >> > >> >> >Is the alsa-info.sh output you attached previously at the state after >> >> >unplugging? If so, I see no problem in the code register. The path >> >> >0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set >> >> >properly. >> >> > >> >> >If something doesn't work as expected, we need two alsa-info outputs >> >> >for comparison: the working one and non-working one. >> >> > >> >> > >> >> >Takashi >> >> >> >> commit 28ebfa08e2945b38e08c537faf7f749125780cbe >> >> branch: test/hda-migrate >> >> >> >> Now everything's working fine (only tested 2 channels analog). Btw, >> >> I can't hear what I'm recording, unlike the latest stable kernel. Is >> >> that intentional? >> > >> >In the latest version, you should have "Line", "Front Mic" and "Rear >> >Mic" playback volumes/switches. They are the analog-loopback things. >> > >> > >> >Takashi >> >> Yes, I have them. But I can't hear what I'm recording, either through >> headphones or through speakers, no matters if HP independent is enabled >> or disabled. Attached is the alsa-info.sh output after the last test: >> recording through the rear-mic and trying to hear through the HP with >> HP independent disbled, all related switches on and high volume level. > >OK, confirmed that it's a missing path between the mixer widget and >the actual outputs. There is another mixer widget in the case of >AD1988 and AD1882. > >Since these are specific to AD codecs, I did a band-aid fix now. >Try the patch below. > > >Takashi > >--- >diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c >index 758dcc1..06e203d 100644 >--- a/sound/pci/hda/hda_generic.c >+++ b/sound/pci/hda/hda_generic.c >@@ -688,7 +688,7 @@ static void activate_amp_in(struct hda_codec *codec, struct nid_path *path, > * when aa-mixer is available, we need to enable the path as well > */ > for (n = 0; n < nums; n++) { >- if (n != idx && (!add_aamix || conn[n] != spec->mixer_nid)) >+ if (n != idx && (!add_aamix || conn[n] != spec->mixer_merge_nid)) > continue; > activate_amp(codec, nid, HDA_INPUT, n, idx, enable); > } >@@ -2492,6 +2492,19 @@ static int new_analog_input(struct hda_codec *codec, int input_idx, > > path->active = true; > add_loopback_list(spec, mix_nid, idx); >+ >+ if (spec->mixer_nid != spec->mixer_merge_nid && >+ !spec->loopback_merge_path) { >+ path = snd_hda_add_new_path(codec, spec->mixer_nid, >+ spec->mixer_merge_nid, 0); >+ if (path) { >+ print_nid_path("loopback-merge", path); >+ path->active = true; >+ spec->loopback_merge_path = >+ snd_hda_get_path_idx(codec, path); >+ } >+ } >+ > return 0; > } > >@@ -3847,6 +3860,9 @@ int snd_hda_gen_parse_auto_config(struct hda_codec *codec, > > parse_user_hints(codec); > >+ if (spec->mixer_nid && !spec->mixer_merge_nid) >+ spec->mixer_merge_nid = spec->mixer_nid; >+ > if (cfg != &spec->autocfg) { > spec->autocfg = *cfg; > cfg = &spec->autocfg; >@@ -4673,6 +4689,11 @@ static void init_analog_input(struct hda_codec *codec) > if (path) > snd_hda_activate_path(codec, path, > path->active, false); >+ path = snd_hda_get_path_from_idx(codec, >+ spec->loopback_merge_path); >+ if (path) >+ snd_hda_activate_path(codec, path, path->active, >+ false); > } > } > } >diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h >index 980707f..d226856 100644 >--- a/sound/pci/hda/hda_generic.h >+++ b/sound/pci/hda/hda_generic.h >@@ -107,6 +107,7 @@ struct hda_gen_spec { > hda_nid_t adc_nids[AUTO_CFG_MAX_INS]; > hda_nid_t dig_in_nid; /* digital-in NID; optional */ > hda_nid_t mixer_nid; /* analog-mixer NID */ >+ hda_nid_t mixer_merge_nid; /* aamix merge-point NID (optional) */ > const char *input_labels[HDA_MAX_NUM_INPUTS]; > int input_label_idxs[HDA_MAX_NUM_INPUTS]; > >@@ -163,6 +164,7 @@ struct hda_gen_spec { > int digout_paths[AUTO_CFG_MAX_OUTS]; > int input_paths[HDA_MAX_NUM_INPUTS][AUTO_CFG_MAX_INS]; > int loopback_paths[HDA_MAX_NUM_INPUTS]; >+ int loopback_merge_path; > int digin_path; > > /* auto-mic stuff */ >diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c >index 9d82aab..df8014b 100644 >--- a/sound/pci/hda/patch_analog.c >+++ b/sound/pci/hda/patch_analog.c >@@ -3235,6 +3235,7 @@ static int ad1988_parse_auto_config(struct hda_codec *codec) > spec = codec->spec; > > spec->gen.mixer_nid = 0x20; >+ spec->gen.mixer_merge_nid = 0x21; > spec->beep_dev_nid = 0x10; > set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); > err = ad198x_parse_auto_config(codec); >@@ -5153,6 +5154,7 @@ static int ad1882_parse_auto_config(struct hda_codec *codec) > spec = codec->spec; > > spec->gen.mixer_nid = 0x20; >+ spec->gen.mixer_merge_nid = 0x21; > spec->beep_dev_nid = 0x10; > set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); > err = ad198x_parse_auto_config(codec); I've done a quick test because I must leave now: recording through the rear-mic and monitoring with HP. It _is fixed_ now. Later on I'll do a more extensive test. Thanks a lot. Regards, -- Manolo Díaz _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 16:35 ` Manolo Díaz @ 2013-01-23 16:54 ` Takashi Iwai 0 siblings, 0 replies; 26+ messages in thread From: Takashi Iwai @ 2013-01-23 16:54 UTC (permalink / raw) To: Manolo Díaz; +Cc: alsa-devel At Wed, 23 Jan 2013 17:35:37 +0100, Manolo Díaz wrote: > > El mié, 23 ene 2013 a las 17:00 horas > Takashi Iwai escribió: > > >At Wed, 23 Jan 2013 16:30:13 +0100, > >Manolo Díaz wrote: > >> > >> El mié, 23 ene 2013 a las 16:12 horas > >> Takashi Iwai escribió: > >> > >> >At Wed, 23 Jan 2013 16:09:22 +0100, > >> >Manolo Díaz wrote: > >> >> > >> >> El mié, 23 ene 2013 a las 15:20 horas > >> >> Takashi Iwai escribió: > >> >> > >> >> >At Wed, 23 Jan 2013 15:01:43 +0100, > >> >> >Manolo Díaz wrote: > >> >> >> > >> >> >> El mié, 23 ene 2013 a las 14:54 horas > >> >> >> Takashi Iwai escribió: > >> >> >> > >> >> >> >At Wed, 23 Jan 2013 14:49:32 +0100, > >> >> >> >Manolo Díaz wrote: > >> >> >> >> > >> >> >> >> El mié, 23 ene 2013 a las 9:30 horas > >> >> >> >> Takashi Iwai escribió: > >> >> >> >> > >> >> >> >> >Hi, > >> >> >> >> > > >> >> >> >> >as most of feedbacks about the new generic parser migration were > >> >> >> >> >positive, I decided to take a risk: now all commit that have been in > >> >> >> >> >test/hda-migrate branch in sound-unstable git tree are merged to > >> >> >> >> >for-next branch of sound git tree for better test coverage. > >> >> >> >> >It means that all changes are merged to linux-next, i.e. will be > >> >> >> >> >included in 3.9 kernel. > >> >> >> >> > > >> >> >> >> >For the early adapter people, I'm going to keep test/hda-migrate > >> >> >> >> >branch of sound-unstable git tree updated for a while, but the branch > >> >> >> >> >will be abandoned some time later. > >> >> >> >> > > >> >> >> >> >If you encounter any regression by the recent update, please let me > >> >> >> >> >know. > >> >> >> >> > > >> >> >> >> > > >> >> >> >> >thanks, > >> >> >> >> > > >> >> >> >> >Takashi > >> >> >> >> >_______________________________________________ > >> >> >> >> >Alsa-devel mailing list > >> >> >> >> >Alsa-devel@alsa-project.org > >> >> >> >> >http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > >> >> >> >> > >> >> >> >> Hi, > >> >> >> >> > >> >> >> >> Recording and (multi stream) playing seem to work fine, but auto-mute > >> >> >> >> doesn't. For example, front speakers may remain muted after > >> >> >> >> disconnecting the HP. > >> >> >> >> > >> >> >> >> cat /sys/kernel/debug/tracing/trace > >> >> >> >> # tracer: nop > >> >> >> >> # > >> >> >> >> # entries-in-buffer/entries-written: 0/0 #P:2 > >> >> >> >> # > >> >> >> >> # _-----=> irqs-off > >> >> >> >> # / _----=> need-resched > >> >> >> >> # | / _---=> hardirq/softirq > >> >> >> >> # || / _--=> preempt-depth > >> >> >> >> # ||| / delay > >> >> >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > >> >> >> >> # | | | |||| | | > >> >> >> >> > >> >> >> >> I've connected and disconnected the HP jack several times before. > >> >> >> > > >> >> >> >If nothing appears in the tracing (suppose you enabled the events > >> >> >> >properly via /sys/kernel/debug/tracing/events/hda/enable), it's rather > >> >> >> >a hardware issue. > >> >> >> > >> >> >> Sorry, I've forgotten this step. > >> >> >> > >> >> >> >Did the auto-mute work reliably before the code change? > >> >> >> > > >> >> >> > > >> >> >> >Takashi > >> >> >> > >> >> >> Yes, it did. > >> >> > > >> >> >Did you mean when it worked? Was it before moving to the generic > >> >> >parser, or after it but before upgrading to the latest tree? > >> >> >In the latter case, try git bisection to figure out the culprit. > >> >> > > >> >> >But, it's anyway better to update the git branch. You are testing the > >> >> >too old version (there have been already 75 commits after your testing > >> >> >one). > >> >> > > >> >> > > >> >> >> New try, this time with hda events enabled. > >> >> >> > >> >> >> cat /sys/kernel/debug/tracing/trace > >> >> >> # tracer: nop > >> >> >> # > >> >> >> # entries-in-buffer/entries-written: 871/871 #P:2 > >> >> >> # > >> >> >> # _-----=> irqs-off > >> >> >> # / _----=> need-resched > >> >> >> # | / _---=> hardirq/softirq > >> >> >> # || / _--=> preempt-depth > >> >> >> # ||| / delay > >> >> >> # TASK-PID CPU# |||| TIMESTAMP FUNCTION > >> >> >> # | | | |||| | | > >> >> >> <idle>-0 [001] d.h. 4509.450172: hda_unsol_event: [0] res=4000000, res_ex=10 > >> >> >> <idle>-0 [001] d.h. 4513.991711: hda_unsol_event: [0] res=4000000, res_ex=10 > >> >> > > >> >> >OK, so the unsol event is generated properly. > >> >> > > >> >> >Is the alsa-info.sh output you attached previously at the state after > >> >> >unplugging? If so, I see no problem in the code register. The path > >> >> >0x04 -> 0x29 -> 0x12 looks fine, all unmuted, power D0 and the pin set > >> >> >properly. > >> >> > > >> >> >If something doesn't work as expected, we need two alsa-info outputs > >> >> >for comparison: the working one and non-working one. > >> >> > > >> >> > > >> >> >Takashi > >> >> > >> >> commit 28ebfa08e2945b38e08c537faf7f749125780cbe > >> >> branch: test/hda-migrate > >> >> > >> >> Now everything's working fine (only tested 2 channels analog). Btw, > >> >> I can't hear what I'm recording, unlike the latest stable kernel. Is > >> >> that intentional? > >> > > >> >In the latest version, you should have "Line", "Front Mic" and "Rear > >> >Mic" playback volumes/switches. They are the analog-loopback things. > >> > > >> > > >> >Takashi > >> > >> Yes, I have them. But I can't hear what I'm recording, either through > >> headphones or through speakers, no matters if HP independent is enabled > >> or disabled. Attached is the alsa-info.sh output after the last test: > >> recording through the rear-mic and trying to hear through the HP with > >> HP independent disbled, all related switches on and high volume level. > > > >OK, confirmed that it's a missing path between the mixer widget and > >the actual outputs. There is another mixer widget in the case of > >AD1988 and AD1882. > > > >Since these are specific to AD codecs, I did a band-aid fix now. > >Try the patch below. > > > > > >Takashi > > > >--- > >diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c > >index 758dcc1..06e203d 100644 > >--- a/sound/pci/hda/hda_generic.c > >+++ b/sound/pci/hda/hda_generic.c > >@@ -688,7 +688,7 @@ static void activate_amp_in(struct hda_codec *codec, struct nid_path *path, > > * when aa-mixer is available, we need to enable the path as well > > */ > > for (n = 0; n < nums; n++) { > >- if (n != idx && (!add_aamix || conn[n] != spec->mixer_nid)) > >+ if (n != idx && (!add_aamix || conn[n] != spec->mixer_merge_nid)) > > continue; > > activate_amp(codec, nid, HDA_INPUT, n, idx, enable); > > } > >@@ -2492,6 +2492,19 @@ static int new_analog_input(struct hda_codec *codec, int input_idx, > > > > path->active = true; > > add_loopback_list(spec, mix_nid, idx); > >+ > >+ if (spec->mixer_nid != spec->mixer_merge_nid && > >+ !spec->loopback_merge_path) { > >+ path = snd_hda_add_new_path(codec, spec->mixer_nid, > >+ spec->mixer_merge_nid, 0); > >+ if (path) { > >+ print_nid_path("loopback-merge", path); > >+ path->active = true; > >+ spec->loopback_merge_path = > >+ snd_hda_get_path_idx(codec, path); > >+ } > >+ } > >+ > > return 0; > > } > > > >@@ -3847,6 +3860,9 @@ int snd_hda_gen_parse_auto_config(struct hda_codec *codec, > > > > parse_user_hints(codec); > > > >+ if (spec->mixer_nid && !spec->mixer_merge_nid) > >+ spec->mixer_merge_nid = spec->mixer_nid; > >+ > > if (cfg != &spec->autocfg) { > > spec->autocfg = *cfg; > > cfg = &spec->autocfg; > >@@ -4673,6 +4689,11 @@ static void init_analog_input(struct hda_codec *codec) > > if (path) > > snd_hda_activate_path(codec, path, > > path->active, false); > >+ path = snd_hda_get_path_from_idx(codec, > >+ spec->loopback_merge_path); > >+ if (path) > >+ snd_hda_activate_path(codec, path, path->active, > >+ false); > > } > > } > > } > >diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h > >index 980707f..d226856 100644 > >--- a/sound/pci/hda/hda_generic.h > >+++ b/sound/pci/hda/hda_generic.h > >@@ -107,6 +107,7 @@ struct hda_gen_spec { > > hda_nid_t adc_nids[AUTO_CFG_MAX_INS]; > > hda_nid_t dig_in_nid; /* digital-in NID; optional */ > > hda_nid_t mixer_nid; /* analog-mixer NID */ > >+ hda_nid_t mixer_merge_nid; /* aamix merge-point NID (optional) */ > > const char *input_labels[HDA_MAX_NUM_INPUTS]; > > int input_label_idxs[HDA_MAX_NUM_INPUTS]; > > > >@@ -163,6 +164,7 @@ struct hda_gen_spec { > > int digout_paths[AUTO_CFG_MAX_OUTS]; > > int input_paths[HDA_MAX_NUM_INPUTS][AUTO_CFG_MAX_INS]; > > int loopback_paths[HDA_MAX_NUM_INPUTS]; > >+ int loopback_merge_path; > > int digin_path; > > > > /* auto-mic stuff */ > >diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c > >index 9d82aab..df8014b 100644 > >--- a/sound/pci/hda/patch_analog.c > >+++ b/sound/pci/hda/patch_analog.c > >@@ -3235,6 +3235,7 @@ static int ad1988_parse_auto_config(struct hda_codec *codec) > > spec = codec->spec; > > > > spec->gen.mixer_nid = 0x20; > >+ spec->gen.mixer_merge_nid = 0x21; > > spec->beep_dev_nid = 0x10; > > set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); > > err = ad198x_parse_auto_config(codec); > >@@ -5153,6 +5154,7 @@ static int ad1882_parse_auto_config(struct hda_codec *codec) > > spec = codec->spec; > > > > spec->gen.mixer_nid = 0x20; > >+ spec->gen.mixer_merge_nid = 0x21; > > spec->beep_dev_nid = 0x10; > > set_beep_amp(spec, 0x10, 0, HDA_OUTPUT); > > err = ad198x_parse_auto_config(codec); > > I've done a quick test because I must leave now: recording through the > rear-mic and monitoring with HP. It _is fixed_ now. Later on I'll do a > more extensive test. Thanks a lot. OK, thanks for a quick test! Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-01-23 8:30 HD-audio generic parser merged to linux-next Takashi Iwai 2013-01-23 8:55 ` Raymond Yau 2013-01-23 13:49 ` Manolo Díaz @ 2013-02-11 14:20 ` Raymond Yau 2013-02-11 14:27 ` Takashi Iwai 2 siblings, 1 reply; 26+ messages in thread From: Raymond Yau @ 2013-02-11 14:20 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel > > If you encounter any regression by the recent update, please let me > know. > Refer to commit 657e1b931d42882cb0a59b599247bef696c22406 ALSA: hda - Select auto-parser as default for AD codecs it seem that independent hp is enabled on AD1986A which does not support indepedent headphone Attach PCM dev 0, name AD1986A Analog, type audio, play #1, capture #1 send: NID=0x2, VERB=0xf00(get_parameters), PARM=0xa(PCM) receive: 0x20060 send: NID=0x2, VERB=0xf00(get_parameters), PARM=0xb(stream) receive: 0x5 Attach PCM dev 1, name AD1986A Digital, type SPDIF, play #1, capture #0 send: NID=0x1, VERB=0xf00(get_parameters), PARM=0xa(PCM) receive: 0xe007f send: NID=0x5, VERB=0xf00(get_parameters), PARM=0xb(stream) receive: 0x0 send: NID=0x1, VERB=0xf00(get_parameters), PARM=0xb(stream) receive: 0x1 Attach PCM dev 2, name AD1986A Alt Analog, type audio, play #1, capture #0 # Init and building controls... ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-02-11 14:20 ` Raymond Yau @ 2013-02-11 14:27 ` Takashi Iwai 2013-02-11 15:12 ` Raymond Yau 0 siblings, 1 reply; 26+ messages in thread From: Takashi Iwai @ 2013-02-11 14:27 UTC (permalink / raw) To: Raymond Yau; +Cc: alsa-devel At Mon, 11 Feb 2013 22:20:15 +0800, Raymond Yau wrote: > > > > > If you encounter any regression by the recent update, please let me > > know. > > > > Refer to commit 657e1b931d42882cb0a59b599247bef696c22406 > > ALSA: hda - Select auto-parser as default for AD codecs > > it seem that independent hp is enabled on AD1986A which does not support > indepedent headphone AD1986A can send an individual stream to HP. The pin 0x1a takes the selector 0x0a, which can choose either the mixer widget 0x07 or a DAC (0x04). Takashi ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-02-11 14:27 ` Takashi Iwai @ 2013-02-11 15:12 ` Raymond Yau 2013-02-11 15:17 ` Takashi Iwai 0 siblings, 1 reply; 26+ messages in thread From: Raymond Yau @ 2013-02-11 15:12 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel > > > > > > > > If you encounter any regression by the recent update, please let me > > > know. > > > > > > > Refer to commit 657e1b931d42882cb0a59b599247bef696c22406 > > > > ALSA: hda - Select auto-parser as default for AD codecs > > > > it seem that independent hp is enabled on AD1986A which does not support > > indepedent headphone > > AD1986A can send an individual stream to HP. > > The pin 0x1a takes the selector 0x0a, which can choose either the > mixer widget 0x07 or a DAC (0x04). > 6 DAC channels for 5.1 surround Can independent headphone enabled by default since this mean that lost of surround 5.1 for those desktop with three audio jacks at rear panel ? ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-02-11 15:12 ` Raymond Yau @ 2013-02-11 15:17 ` Takashi Iwai 2013-02-13 12:16 ` Raymond Yau 0 siblings, 1 reply; 26+ messages in thread From: Takashi Iwai @ 2013-02-11 15:17 UTC (permalink / raw) To: Raymond Yau; +Cc: alsa-devel At Mon, 11 Feb 2013 23:12:16 +0800, Raymond Yau wrote: > > > > > > > > > > > > If you encounter any regression by the recent update, please let me > > > > know. > > > > > > > > > > Refer to commit 657e1b931d42882cb0a59b599247bef696c22406 > > > > > > ALSA: hda - Select auto-parser as default for AD codecs > > > > > > it seem that independent hp is enabled on AD1986A which does not support > > > indepedent headphone > > > > AD1986A can send an individual stream to HP. > > > > The pin 0x1a takes the selector 0x0a, which can choose either the > > mixer widget 0x07 or a DAC (0x04). > > > > 6 DAC channels for 5.1 surround It's an issue with the output path selection, and basically irrelevant with the HP independent output. > Can independent headphone enabled by default since this mean that lost of > surround 5.1 for those desktop with three audio jacks at rear panel ? Not really. The independent HP feature is just an additional stuff that is enabled only when the configuration is available in the selected paths. It doesn't influence on the path selection by itself. Takashi ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-02-11 15:17 ` Takashi Iwai @ 2013-02-13 12:16 ` Raymond Yau 2013-02-13 13:02 ` Takashi Iwai 0 siblings, 1 reply; 26+ messages in thread From: Raymond Yau @ 2013-02-13 12:16 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel >> >> 6 DAC channels for 5.1 surround > > It's an issue with the output path selection, and basically irrelevant > with the HP independent output. > >> Can independent headphone enabled by default since this mean that lost of >> surround 5.1 for those desktop with three audio jacks at rear panel ? > > Not really. The independent HP feature is just an additional stuff > that is enabled only when the configuration is available in the > selected paths. It doesn't influence on the path selection by > itself. > The driver create "alt analog" device but does not create "Channel mode" or Surround, Center Lfe playback volume controls for intel motherboard with 3 audio jacks for those 6 channels hda codecs (e.g. alc662, ad1882, ...) hda-emu codecs/alc662-intel-d945gclf2 ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-02-13 12:16 ` Raymond Yau @ 2013-02-13 13:02 ` Takashi Iwai 2013-02-13 13:17 ` Takashi Iwai 0 siblings, 1 reply; 26+ messages in thread From: Takashi Iwai @ 2013-02-13 13:02 UTC (permalink / raw) To: Raymond Yau; +Cc: alsa-devel At Wed, 13 Feb 2013 20:16:10 +0800, Raymond Yau wrote: > > >> > >> 6 DAC channels for 5.1 surround > > > > It's an issue with the output path selection, and basically irrelevant > > with the HP independent output. > > > >> Can independent headphone enabled by default since this mean that lost of > >> surround 5.1 for those desktop with three audio jacks at rear panel ? > > > > Not really. The independent HP feature is just an additional stuff > > that is enabled only when the configuration is available in the > > selected paths. It doesn't influence on the path selection by > > itself. > > > > The driver create "alt analog" device but does not create "Channel > mode" or Surround, Center Lfe playback volume controls for intel > motherboard with 3 audio jacks for those 6 channels hda codecs (e.g. > alc662, ad1882, ...) > > hda-emu codecs/alc662-intel-d945gclf2 But it's irrelevant from whether you enable independent HP mode or not. It's just the policy of badness evaluation. It's possible to have a different result by adjusting the badness parameters. Takashi ^ permalink raw reply [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-02-13 13:02 ` Takashi Iwai @ 2013-02-13 13:17 ` Takashi Iwai 2013-02-13 13:48 ` Takashi Iwai 0 siblings, 1 reply; 26+ messages in thread From: Takashi Iwai @ 2013-02-13 13:17 UTC (permalink / raw) To: Raymond Yau; +Cc: alsa-devel At Wed, 13 Feb 2013 14:02:17 +0100, Takashi Iwai wrote: > > At Wed, 13 Feb 2013 20:16:10 +0800, > Raymond Yau wrote: > > > > >> > > >> 6 DAC channels for 5.1 surround > > > > > > It's an issue with the output path selection, and basically irrelevant > > > with the HP independent output. > > > > > >> Can independent headphone enabled by default since this mean that lost of > > >> surround 5.1 for those desktop with three audio jacks at rear panel ? > > > > > > Not really. The independent HP feature is just an additional stuff > > > that is enabled only when the configuration is available in the > > > selected paths. It doesn't influence on the path selection by > > > itself. > > > > > > > The driver create "alt analog" device but does not create "Channel > > mode" or Surround, Center Lfe playback volume controls for intel > > motherboard with 3 audio jacks for those 6 channels hda codecs (e.g. > > alc662, ad1882, ...) > > > > hda-emu codecs/alc662-intel-d945gclf2 > > But it's irrelevant from whether you enable independent HP mode or > not. It's just the policy of badness evaluation. It's possible to > have a different result by adjusting the badness parameters. IOW, the patch like below will make surrounds back for the device, for the cost of losing individual headphone volume control. It seems that it would make more sense for having surrounds for such desktop setups, and the patch doesn't appear to affect too severely. Only ALC662/663 and one CMI9880 configs have been changed by this, and all look reasonable. So I'm going to apply it. Takashi --- diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index 6af5ade..78897d0 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -988,7 +988,7 @@ enum { /* No DAC is found for the extra output */ BAD_NO_DAC = 0x4000, /* No possible multi-ios */ - BAD_MULTI_IO = 0x103, + BAD_MULTI_IO = 0x120, /* No individual DAC for extra output */ BAD_NO_EXTRA_DAC = 0x102, /* No individual DAC for extra surrounds */ ^ permalink raw reply related [flat|nested] 26+ messages in thread
* Re: HD-audio generic parser merged to linux-next 2013-02-13 13:17 ` Takashi Iwai @ 2013-02-13 13:48 ` Takashi Iwai 0 siblings, 0 replies; 26+ messages in thread From: Takashi Iwai @ 2013-02-13 13:48 UTC (permalink / raw) To: Raymond Yau; +Cc: alsa-devel At Wed, 13 Feb 2013 14:17:14 +0100, Takashi Iwai wrote: > > At Wed, 13 Feb 2013 14:02:17 +0100, > Takashi Iwai wrote: > > > > At Wed, 13 Feb 2013 20:16:10 +0800, > > Raymond Yau wrote: > > > > > > >> > > > >> 6 DAC channels for 5.1 surround > > > > > > > > It's an issue with the output path selection, and basically irrelevant > > > > with the HP independent output. > > > > > > > >> Can independent headphone enabled by default since this mean that lost of > > > >> surround 5.1 for those desktop with three audio jacks at rear panel ? > > > > > > > > Not really. The independent HP feature is just an additional stuff > > > > that is enabled only when the configuration is available in the > > > > selected paths. It doesn't influence on the path selection by > > > > itself. > > > > > > > > > > The driver create "alt analog" device but does not create "Channel > > > mode" or Surround, Center Lfe playback volume controls for intel > > > motherboard with 3 audio jacks for those 6 channels hda codecs (e.g. > > > alc662, ad1882, ...) > > > > > > hda-emu codecs/alc662-intel-d945gclf2 > > > > But it's irrelevant from whether you enable independent HP mode or > > not. It's just the policy of badness evaluation. It's possible to > > have a different result by adjusting the badness parameters. > > IOW, the patch like below will make surrounds back for the device, > for the cost of losing individual headphone volume control. > > It seems that it would make more sense for having surrounds for such > desktop setups, and the patch doesn't appear to affect too severely. > Only ALC662/663 and one CMI9880 configs have been changed by this, and > all look reasonable. So I'm going to apply it. BTW, I should mention beforehand that the previous patch won't suffice for the device like ThinkCenter A58 where the headphone can't be shared with the primary DAC. For allowing the surrounds on such machines, we need to implement more complex workaround (i.e. make surrounds exclusive, and turn off others while using surrounds). Takashi > > > Takashi > > --- > diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c > index 6af5ade..78897d0 100644 > --- a/sound/pci/hda/hda_generic.c > +++ b/sound/pci/hda/hda_generic.c > @@ -988,7 +988,7 @@ enum { > /* No DAC is found for the extra output */ > BAD_NO_DAC = 0x4000, > /* No possible multi-ios */ > - BAD_MULTI_IO = 0x103, > + BAD_MULTI_IO = 0x120, > /* No individual DAC for extra output */ > BAD_NO_EXTRA_DAC = 0x102, > /* No individual DAC for extra surrounds */ ^ permalink raw reply [flat|nested] 26+ messages in thread
end of thread, other threads:[~2013-02-13 13:48 UTC | newest]
Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 8:30 HD-audio generic parser merged to linux-next Takashi Iwai
2013-01-23 8:55 ` Raymond Yau
2013-01-23 9:09 ` Takashi Iwai
2013-01-24 3:26 ` Raymond Yau
2013-01-24 6:31 ` Takashi Iwai
2013-01-23 13:49 ` Manolo Díaz
2013-01-23 13:54 ` Takashi Iwai
[not found] ` <20130123150143.6fe19b53@gmail.com>
2013-01-23 14:20 ` Takashi Iwai
2013-01-23 14:55 ` Takashi Iwai
2013-01-23 15:09 ` Takashi Iwai
2013-01-23 15:12 ` Manolo Díaz
2013-01-23 15:09 ` Manolo Díaz
2013-01-23 15:12 ` Takashi Iwai
2013-01-23 15:30 ` Manolo Díaz
2013-01-23 15:40 ` Manolo Díaz
2013-01-23 16:00 ` Takashi Iwai
2013-01-23 16:35 ` Manolo Díaz
2013-01-23 16:54 ` Takashi Iwai
2013-02-11 14:20 ` Raymond Yau
2013-02-11 14:27 ` Takashi Iwai
2013-02-11 15:12 ` Raymond Yau
2013-02-11 15:17 ` Takashi Iwai
2013-02-13 12:16 ` Raymond Yau
2013-02-13 13:02 ` Takashi Iwai
2013-02-13 13:17 ` Takashi Iwai
2013-02-13 13:48 ` 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).