Asus P5QL-EM motherboard (ALC1200 codec) - no sound through S/PDIF
Hello,
I can't get the S/PDIF out to work on P5QL-EM motherboard.
First of all, it doesn't detect the board configuration correctly, the motherboard has an HDMI output and an S/PDIF header (I have a TV connected to one and an amplifier to the other, in case one output will "go live").
aplay -L normally only shows th HDMI port, however if I add this options snd-hda-intel model=6stack-dig probe_mask=1
to /etc/modprobe.d/alsa-base, it will show both.
Problem is, there seems to be no signal coming out of any of the two digital ports (they are not muted in mixer) in either PCM or AC3 pass-through mode.
I compiled the "alsa-kernel" hoping that the latest commits related to ALC1200 would help, but it hasn't helped.
Here's the output of alsa-info.sh:
http://www.alsa-project.org/db/?f=b62b56c5ce0aa383fef1be0f55b87b4e27e8ab63
Again, it's running "alsa-kernel", checked in just 12 hours ago.
Let me know what I can do to help, I am a developer but Alsa is not my territory.
Thanks
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Hi Andrei,
Quoted 11 lines · Andrei Tanas
Hello,
I can't get the S/PDIF out to work on P5QL-EM motherboard.First of all, it doesn't detect the board configuration correctly, the motherboard has an HDMI output and an S/PDIF header (I have a TV connected to one and an amplifier to the other, in case one output will "go live").
aplay -L normally only shows th HDMI port, however if I add this options snd-hda-intel model=6stack-dig probe_mask=1
to /etc/modprobe.d/alsa-base, it will show both.
I cannot find any 'HDMI' words in your report below.
Can you provide some more info about it? Such as the full output of 'aplay -l' and 'cat /proc/asound/card0/codec\#3'.
Thank you,
Fengguang
Quoted 11 lines
Problem is, there seems to be no signal coming out of any of the two digital ports (they are not muted in mixer) in either PCM or AC3 pass-through mode.
I compiled the "alsa-kernel" hoping that the latest commits related to ALC1200 would help, but it hasn't helped.
Here's the output of
alsa-info.sh:
http://www.alsa-project.org/db/?f=b62b56c5ce0aa383fef1be0f55b87b4e27e8ab63
Again, it's running "alsa-kernel", checked in just 12 hours ago.
Quoted 8 lines
Let me know what I can do to help, I am a developer but Alsa is not my territory.
Thanks
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
At Thu, 13 Nov 2008 16:16:47 +0800,
Quoted 12 lines · Wu Fengguang
Hi Andrei,
Quoted 8 lines · Andrei Tanas
Hello,
I can't get the S/PDIF out to work on P5QL-EM motherboard.First of all, it doesn't detect the board configuration correctly, the motherboard has an HDMI output and an S/PDIF header (I have a TV connected to one and an amplifier to the other, in case one output will "go live").
Quoted 7 lines
Quoted 3 lines
aplay -L normally only shows th HDMI port, however if I add this options snd-hda-intel model=6stack-dig probe_mask=1
to /etc/modprobe.d/alsa-base, it will show both.I cannot find any 'HDMI' words in your report below.
Can you provide some more info about it? Such as the full output of 'aplay -l' and 'cat /proc/asound/card0/codec\#3'.
Also, try sound-2.6.git tree instead.
git://git.kernel.org/pub/scm/linux/kernel/people/tiwai/sound-2.6.git
Takashi
Quoted 3 lines
I cannot find any 'HDMI' words in your report below.
Can you provide some more info about it? Such as the full output of 'aplay -l' and 'cat /proc/asound/card0/codec\#3'.
Here's "aplay -L" with autodetection
htpc@htpc:~$ aplay -L
default:CARD=Intel
HDA Intel, ALC1200 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
HDA Intel
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture)And here's with "options snd-hda-intel model=6stack-dig probe_mask=1" default:CARD=Intel
HDA Intel, ALC1200 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC1200 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
HDA Intel
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
And here's "cat /proc/asound/card0/codec#0"
Codec: Realtek ALC888
Address: 0
Vendor Id: 0x10ec0888
Subsystem Id: 0x104382fe
Revision Id: 0x100101
No Modem Function Group found
Default PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCMDefault Amp-In caps: N/A
Default Amp-Out caps: N/A
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0
Node 0x02 [Audio Output] wcaps 0x11: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x11: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x04 [Audio Output] wcaps 0x11: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCM
Node 0x05 [Audio Output] wcaps 0x11: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCMNode 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital: Enabled Copyright Non-Audio GenLevel Digital category: 0x2
PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCMNode 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x23Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x00 0x00]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x6]: 16 20
formats [0x1]: PCM
Connection: 1
0x22Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital
Converter: stream=0, channel=0
SDI-Select: 0
Digital:
Digital category: 0x0
PCM:
rates [0x160]: 44100 48000 96000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCM
Unsolicited: tag=00, enabled=0
Connection: 1
0x1fNode 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x19 0x19] [0x80 0x80] [0x80 0x80]
[0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 10
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x00 0x00]
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 Amp-Out vals: [0x13 0x13]
Connection: 2
0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80]
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 Amp-Out vals: [0x00 0x00]
Connection: 2
0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80]
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 Amp-Out vals: [0x00 0x00]
Connection: 2
0x04 0x0b
Node 0x0f [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80]
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 Amp-Out vals: [0x00 0x00]
Connection: 2
0x05 0x0b
Node 0x10 [Audio Output] wcaps 0x211: Stereo Digital
Converter: stream=0, channel=0
Digital:
Digital category: 0x0
PCM:
rates [0x5e0]: 44100 48000 88200 96000 192000
bits [0x1e]: 16 20 24 32
formats [0x1]: PCMNode 0x11 [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x99430130: [Fixed] SPDIF Out at Int ATAPI
Conn = ATAPI, Color = Unknown DefAssociation = 0x3, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x10
Node 0x12 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x0000003e: IN OUT HP Detect Trigger
Pin Default 0x01014010: [Jack] Line Out at Ext Rear
Conn = 1/8, Color = Green
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 5
0x0c* 0x0d 0x0e 0x0f 0x26
Node 0x15 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x0000003e: IN OUT HP Detect Trigger
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: 5
0x0c 0x0d* 0x0e 0x0f 0x26
Node 0x16 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x00000036: IN OUT Detect Trigger
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: 5
0x0c 0x0d 0x0e* 0x0f 0x26
Node 0x17 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x00000036: IN OUT Detect Trigger
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: 5
0x0c 0x0d 0x0e 0x0f* 0x26
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000373e: IN OUT HP Detect Trigger
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x01a19840: [Jack] Mic at Ext Rear
Conn = 1/8, Color = Pink
DefAssociation = 0x4, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 5
0x0c* 0x0d 0x0e 0x0f 0x26Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000373e: IN OUT HP Detect Trigger
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x02a19c50: [Jack] Mic at Ext Front
Conn = 1/8, Color = Pink
DefAssociation = 0x5, Sequence = 0x0
Pin-ctls: 0x24: IN VREF_80
Unsolicited: tag=00, enabled=0
Connection: 5
0x0c* 0x0d 0x0e 0x0f 0x26Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000373e: IN OUT HP Detect Trigger
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x0181304f: [Jack] Line In at Ext Rear
Conn = 1/8, Color = Blue
DefAssociation = 0x4, Sequence = 0xf
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 5
0x0c* 0x0d 0x0e 0x0f 0x26Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00]
Pincap 0x0000373e: IN OUT HP Detect Trigger
Vref caps: HIZ 50 GRD 80 100
Pin Default 0x02214c20: [Jack] HP Out at Ext Front
Conn = 1/8, Color = Green
DefAssociation = 0x2, Sequence = 0x0
Pin-ctls: 0xc0: OUT HP VREF_HIZ
Unsolicited: tag=00, enabled=0
Connection: 5
0x0c* 0x0d 0x0e 0x0f 0x26Node 0x1c [Pin Complex] wcaps 0x400001: Stereo
Pincap 0x00000020: IN
Pin Default 0x593301f0: [N/A] CD at Int ATAPI
Conn = ATAPI, Color = Unknown DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x4015e601: [N/A] Speaker at Ext N/A
Conn = Optical, Color = White DefAssociation = 0x0, Sequence = 0x1
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400300: Mono Digital
Pincap 0x00000010: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Connection: 1
0x06
Node 0x1f [Pin Complex] wcaps 0x400200: Mono Digital
Pincap 0x00000020: IN
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=17
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
[0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 11
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
[0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 11
0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x25 [Audio Output] wcaps 0x11: Stereo
Converter: stream=0, channel=0
PCM:
rates [0x560]: 44100 48000 96000 192000
bits [0xe]: 16 20 24
formats [0x1]: PCMNode 0x26 [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80]
Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 Amp-Out vals: [0x00 0x00]
Connection: 2
0x25 0x0b
At Thu, 13 Nov 2008 09:22:10 -0500,
Quoted 23 lines · Andrei Tanas
Quoted 4 lines
I cannot find any 'HDMI' words in your report below.
Can you provide some more info about it? Such as the full output of 'aplay -l' and 'cat /proc/asound/card0/codec\#3'.Here's "aplay -L" with autodetection
htpc@htpc:~$ aplay -L default:CARD=Intel HDA Intel, ALC1200 Analog Default Audio Device front:CARD=Intel,DEV=0 HDA Intel, ALC1200 Analog Front speakers surround40:CARD=Intel,DEV=0 HDA Intel, ALC1200 Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=Intel,DEV=0 HDA Intel, ALC1200 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=Intel,DEV=0 HDA Intel, ALC1200 Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=Intel,DEV=0
Quoted 8 lines
HDA Intel, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
HDA Intel
HDMI Audio OutputThis should be a bug of alsa-lib. The latest version shouldn't show this entry any more.
Takashi
Quoted 2 lines
Also, try sound-2.6.git tree instead.
git://git.kernel.org/pub/scm/linux/kernel/people/tiwai/sound-2.6.git
It exits with "fatal: The remote end hung up unexpectedly". Did you mean
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
instead?
At Thu, 13 Nov 2008 09:26:49 -0500,
Quoted 7 lines · Andrei Tanas
Quoted 3 lines
Also, try sound-2.6.git tree instead.
git://git.kernel.org/pub/scm/linux/kernel/people/tiwai/sound-2.6.gitIt exits with "fatal: The remote end hung up unexpectedly". Did you mean
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git
instead?
Yep, sorry for typo.
I should copy URL somewhere...
Takashi
Quoted 2 lines · Takashi Iwai
This should be a bug of alsa-lib. The latest version shouldn't show this entry any more.
Yes, you're right. This is "aplay -L" with alsa-lib 1.0.18 default:CARD=Intel
HDA Intel, ALC1200 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC1200 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC1200 Digital
IEC958 (S/PDIF) Digital Audio Output
null
One unexpected thing is that "PCM Out" is not listed as a capability of IEC958 control (as shown by amixer):
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Is that normal?
At Thu, 13 Nov 2008 09:38:37 -0500,
Quoted 14 lines · Andrei Tanas
One unexpected thing is that "PCM Out" is not listed as a capability of IEC958 control (as shown by amixer):
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Quoted 1 line
Is that normal?
What do you mean "PCM Out" at all?
Takashi
Quoted 10 lines · Takashi Iwai
Quoted 10 lines
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Quoted 3 lines
Quoted 1 line
Is that normal?
What do you mean "PCM Out" at all?
http://alsa.opensrc.org/DigitalOut says: 'set to "PCM Out"'
Quoted 1 line
From some other reports, I expected to see something like this:
Simple mixer control 'IEC958',0
Capabilities: enum
Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'
Item0: 'PCM Out'
Simple mixer control 'IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: enum
Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'
Item0: 'PCM Out'
Quoted 2 lines · Takashi Iwai
Also, try sound-2.6.git tree instead.
git://git.kernel.org/pub/scm/linux/kernel/people/tiwai/sound-2.6.git
patch_realtek.c are identical and hda_intel.c show only minor differences which don't look related in this and "alsa-kernel" get tree that I used. Do you think I should still try it?
Is there some "official" method of debugging this: is it possible to see what the driver is doing with the data stream fed to it (other than inserting a bunch of printk's in the code)?
Thanks.
At Thu, 13 Nov 2008 09:48:31 -0500,
Quoted 20 lines · Andrei Tanas
Quoted 10 lines · Takashi Iwai
Quoted 10 lines
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono
Capture channels: Mono
Mono: Playback [on] Capture [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]Quoted 3 lines
Quoted 1 line
Is that normal?
What do you mean "PCM Out" at all?
http://alsa.opensrc.org/DigitalOut says: 'set to "PCM Out"'
Quoted 1 line
From some other reports, I expected to see something like this:
Quoted 12 lines
Simple mixer control 'IEC958',0
Capabilities: enum
Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'
Item0: 'PCM Out'
Simple mixer control 'IEC958 Output',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: enum
Items: 'PCM Out' 'H/W In 0' 'H/W In 1' 'IEC958 In L' 'IEC958 In R'
Item0: 'PCM Out'
This is for ice1724 chip.
Takashi
At Thu, 13 Nov 2008 09:52:03 -0500,
Quoted 8 lines · Andrei Tanas
Quoted 2 lines · Takashi Iwai
Also, try sound-2.6.git tree instead.
git://git.kernel.org/pub/scm/linux/kernel/people/tiwai/sound-2.6.git
patch_realtek.care identical andhda_intel.cshow only minor differences which don't look related in this and "alsa-kernel" get tree that I used. Do you think I should still try it?
You should keep tracking the sound git tree if you'd like to catch up the upstream changes quickly. Right now there is no big difference regarding Realtek stuff, though.
Quoted 3 lines
Is there some "official" method of debugging this: is it possible to see what the driver is doing with the data stream fed to it (other than inserting a bunch of printk's in the code)?
You can use hda-verb program to access the codec verbs directly. Also you can use the hda-emulator for debugging. But you have the real hardware, so it's maybe better to use your own hardware.
The programs can be found in
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/
Takashi
Quoted 10 lines
Quoted 3 lines
Is there some "official" method of debugging this: is it possible to see what the driver is doing with the data stream fed to it (other than inserting a bunch of printk's in the code)?
You can use hda-verb program to access the codec verbs directly. Also you can use the hda-emulator for debugging. But you have the real hardware, so it's maybe better to use your own hardware.
The programs can be found in
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/
My /dev/snd only has these:
controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p pcmC0D2c timer Should there be hw* nodes?
At Thu, 13 Nov 2008 10:59:42 -0500,
Quoted 9 lines · Andrei Tanas
Quoted 9 lines
Quoted 4 lines
Is there some "official" method of debugging this: is it possible to see what the driver is doing with the data stream fed to it (other than inserting a bunch of printk's in the code)?
You can use hda-verb program to access the codec verbs directly. Also you can use the hda-emulator for debugging. But you have the real hardware, so it's maybe better to use your own hardware.
Quoted 6 lines
Quoted 2 lines
The programs can be found in
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/My
/dev/sndonly has these:
controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p pcmC0D2c timer Should there be hw* nodes?
Build with CONFIG_SND_HDA_HWDEP=y.
Takashi
At Thu, 13 Nov 2008 17:02:16 +0100,
Quoted 12 lines · I wrote:
At Thu, 13 Nov 2008 10:59:42 -0500,
Quoted 9 lines · Andrei Tanas
Quoted 9 lines
Quoted 4 lines
Is there some "official" method of debugging this: is it possible to see what the driver is doing with the data stream fed to it (other than inserting a bunch of printk's in the code)?
You can use hda-verb program to access the codec verbs directly. Also you can use the hda-emulator for debugging. But you have the real hardware, so it's maybe better to use your own hardware.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
The programs can be found in
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/misc/My
/dev/sndonly has these:
controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p pcmC0D2c timer Should there be hw* nodes?Build with
CONFIG_SND_HDA_HWDEP=y.
... and before someone complains: I already fixed README to mention about this, and released as version 0.3.
Takashi
Quoted 5 lines · Takashi Iwai
Quoted 3 lines
My
/dev/sndonly has these:
controlC0 pcmC0D0c pcmC0D0p pcmC0D1c pcmC0D1p pcmC0D2c timer Should there be hw* nodes?Build with
CONFIG_SND_HDA_HWDEP=y.
Ok, I can see them now.
So, as far as I understand I should be able to use hda-verb to manually control the codec. Can you suggest what I should read to understand how to do this, what commands are available etc. (I have ALC883 datasheet).
Quoted 5 lines · Andrei Tanas
Quoted 3 lines
I cannot find any 'HDMI' words in your report below.
Can you provide some more info about it? Such as the full output of 'aplay -l' and 'cat /proc/asound/card0/codec\#3'.Here's "aplay -L" with autodetection
Thank you. What's the output of 'aplay -l' ?
Quoted 1 line
And here's "cat /proc/asound/card0/codec#0"
This is the regular codec.
Are there /proc/asound/card0/codec#{1,2,3}?
The HDMI codec would look like this one:
% cat /proc/asound/card0/codec\#3
Codec: Generic 8086 INTEL G45 DEVELK
Address: 3
Vendor Id: 0x80862803
Subsystem Id: 0x80860101
Revision Id: 0x100000
No Modem Function Group found
Default PCM:
rates [0x0]:
bits [0x0]:
formats [0x0]: 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 0x6211: 8-Channels Digital
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
PCM:
rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
bits [0x1e]: 16 20 24 32
formats [0x5]: PCM AC3 Node 0x03 [Pin Complex] wcaps 0x40739d: 8-Channels Digital Amp-Out CP
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x80]
Pincap 0x00000094: OUT Detect HDMI
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x00:
Unsolicited: tag=08, enabled=1
Connection: 1
0x02
Thanks,
Fengguang
Quoted 4 lines · Wu Fengguang
Quoted 1 line · Andrei Tanas
Here's "aplay -L" with autodetection
Thank you. What's the output of 'aplay -l' ?
I don't have access to the machine now. From memory, it was showing two
items: one device with two subdevices.
I'll provide you exact details later.
Quoted 4 lines
Quoted 1 line
And here's "cat /proc/asound/card0/codec#0"
This is the regular codec.
Are there /proc/asound/card0/codec#{1,2,3}?
There was only one.
Quoted 2 lines
The HDMI codec would look like this one:
% cat /proc/asound/card0/codec\#3
I saw nothing like that.
I got an SB Audigy card and had all set up in minutes, so it's not as important for me to get this running, but I'd like to help resolve this anyway - there seems to be a lot of uncertainty among other Asus P5Q users.
Will it help to enable SND_VERBOSE_PRINTK and SND_DEBUG?
Thanks,
Andrei.