[alsa-devel] No mixers on ATI RS780 Azalia
Hi,
I have here a Samsung 320MXn2 monitor/mainboard (typical x86_64 environment) where I cannot get sound output to the internal speakers working.
To start, there seem to be two sound cards:
lspci/lspci -n: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller 00:14.2 0403: 1002:4383 01:05.1 0403: 1002:960f
/proc/asound/cards: 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0500000 irq 16 1 [HDMI]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf0110000 irq 19
The soundcard responsible for the internal speaker is the 01:05.1/"HDMI" one.
Under Windows XP, I see the following mixer elements for it:
* Master Volume * Wave * SW Synth * CD Player
Subsequently, there is sound (once I bump the volumes on these).
However, in Linux up to including 2.6.34, I only see a single mixer element:
* IEC958/S/PDIF
mplayer etc. all successfully write to the device, but since there are not any further mixer controls, I can't unmute the essential channels.
alsa-utils is version 1.0.21, from openSUSE 11.2 x86_64.
Any help is appreciated.
Thanks, Jan
At Wed, 26 May 2010 14:04:27 +0200 (CEST), Jan Engelhardt wrote:
Hi,
I have here a Samsung 320MXn2 monitor/mainboard (typical x86_64 environment) where I cannot get sound output to the internal speakers working.
To start, there seem to be two sound cards:
lspci/lspci -n: 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller 00:14.2 0403: 1002:4383 01:05.1 0403: 1002:960f
/proc/asound/cards: 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0500000 irq 16 1 [HDMI]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf0110000 irq 19
The soundcard responsible for the internal speaker is the 01:05.1/"HDMI" one.
Hmm? HDMI output as the "internal" speaker is abnormal.
Under Windows XP, I see the following mixer elements for it:
- Master Volume
- Wave
- SW Synth
- CD Player
Subsequently, there is sound (once I bump the volumes on these).
There are definitely for the onboard sound, not for HDMI.
However, in Linux up to including 2.6.34, I only see a single mixer element:
- IEC958/S/PDIF
That's correct for HDMI. HDMI has no volume control - it's a digital output.
mplayer etc. all successfully write to the device, but since there are not any further mixer controls, I can't unmute the essential channels.
alsa-utils is version 1.0.21, from openSUSE 11.2 x86_64.
Judging from your description, the problem is likely that the onboard sound device isn't set up properly but only HDMI one. Please give alsa-info.sh output running on your system (run with --no-upload option) for further analysis.
Takashi
On Wednesday 2010-05-26 14:10, Takashi Iwai wrote:
/proc/asound/cards: 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0500000 irq 16 1 [HDMI]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf0110000 irq 19
The soundcard responsible for the internal speaker is the 01:05.1/"HDMI" one.
Hmm? HDMI output as the "internal" speaker is abnormal.
Under Windows XP, I see the following mixer elements for it:
- Master Volume
- Wave
- SW Synth
- CD Player
Subsequently, there is sound (once I bump the volumes on these).
There are definitely for the onboard sound, not for HDMI.
The "SB" card has many more mixers (counting 10) and Windows XP also shows about that many for SB. But neither in Linux nor Windows does the SB card have any effect; I do have to turn the bars of the "HDMI" one.
Abnormal, well. It's (semi-)embedded, what did you expect.
Judging from your description, the problem is likely that the onboard sound device isn't set up properly but only HDMI one. Please give alsa-info.sh output running on your system (run with --no-upload option) for further analysis.
upload=true&script=true&cardinfo= !!################################ !!ALSA Information Script v 0.4.59 !!################################
!!Script ran on: Wed May 26 17:20:22 UTC 2010
!!Linux Distribution !!------------------
Welcome to openSUSE 11.2 "Emerald" - Kernel \r (\l). openSUSE 11.2 (i586)
!!DMI Information !!---------------
Manufacturer: Samsung Product Name: Network Monitor
!!Kernel Information !!------------------
Kernel release: 2.6.33.2-jen97-default Operating System: GNU/Linux Architecture: i686 Processor: athlon SMP Enabled: Yes
!!ALSA Version !!------------
Driver version: 1.0.21 Library version: Utilities version: 1.0.21
!!Loaded ALSA modules !!-------------------
snd_hda_intel snd_hda_intel
!!Sound Servers on this system !!----------------------------
No sound servers found.
!!Soundcards recognised by ALSA !!-----------------------------
0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0500000 irq 16 1 [HDMI ]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf0110000 irq 26
!!PCI Soundcards installed in the system !!--------------------------------------
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
!!Advanced information - PCI Vendor/Device/Susbsystem ID's !!--------------------------------------------------------
Prefetchable memory behind bridge: 0000000040000000-00000000401fffff Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- -- 00:14.2 0403: 1002:4383 Subsystem: 1002:4383 -- 01:05.1 0403: 1002:960f Subsystem: 1002:9610
!!Loaded sound module options !!--------------------------
!!Module: snd_hda_intel bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 beep_mode : 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2 enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 power_save : 0 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 probe_only : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N single_cmd : N
!!Module: snd_hda_intel bdl_pos_adj : 32,32,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 beep_mode : 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2 enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y enable_msi : -1 id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 model : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) patch : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null) position_fix : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 power_save : 0 power_save_controller : Y probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 probe_only : N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N single_cmd : N
!!HDA-Intel Codec information !!--------------------------- --startcollapse--
Codec: Realtek ALC262 Address: 0 Function Id: 0x1 Vendor Id: 0x10ec0262 Subsystem Id: 0x10ec0262 Revision Id: 0x100202 No Modem Function Group found Default PCM: rates [0x560]: 44100 48000 96000 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: N/A GPIO: io=4, o=0, i=0, unsolicited=1, wake=0 IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[2]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[3]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 Node 0x02 [Audio Output] wcaps 0x11: Stereo Device: name="ALC262 Analog", type="Audio", device=0 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 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital Control: name="IEC958 Playback Con Mask", index=0, device=0 Control: name="IEC958 Playback Pro Mask", index=0, device=0 Control: name="IEC958 Playback Default", index=0, device=0 Control: name="IEC958 Playback Switch", index=0, device=0 Control: name="IEC958 Default PCM Playback Switch", index=0, device=0 Device: name="ALC262 Digital", type="SPDIF", device=1 Converter: stream=0, channel=0 Digital: Digital category: 0x0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0x1e]: 16 20 24 32 formats [0x1]: PCM Node 0x07 [Audio Input] wcaps 0x10011b: Stereo Amp-In Device: name="ALC262 Analog", type="Audio", device=0 Amp-In caps: ofs=0x08, 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 0x24 Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In Amp-In caps: ofs=0x08, 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 0x23 Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In Amp-In caps: ofs=0x08, 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 0x22 Node 0x0a [Audio Input] wcaps 0x100391: Stereo Digital Control: name="IEC958 Capture Switch", index=0, device=0 Control: name="IEC958 Capture Default", index=0, device=0 Device: name="ALC262 Digital", type="SPDIF", device=1 Converter: stream=0, channel=0 SDI-Select: 0 Digital: Digital category: 0x0 PCM: rates [0x560]: 44100 48000 96000 192000 bits [0x1e]: 16 20 24 32 formats [0x1]: PCM Unsolicited: tag=00, enabled=0 Connection: 1 0x1f Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Control: name="Mic Playback Volume", index=0, device=0 Control: name="Mic Playback Switch", index=0, device=0 Control: name="Front Mic Playback Volume", index=0, device=0 Control: name="Front Mic Playback Switch", index=0, device=0 Control: name="Line Playback Volume", index=0, device=0 Control: name="Line Playback Switch", index=0, device=0 Control: name="CD Playback Volume", index=0, device=0 Control: name="CD Playback Switch", index=0, device=0 Control: name="Beep Playback Volume", index=0, device=0 Control: name="Beep Playback Switch", index=0, device=0 Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x81 0x81] [0x81 0x81] [0x81 0x81] Connection: 8 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 Node 0x0c [Audio Mixer] wcaps 0x20010f: Stereo Amp-In Amp-Out Control: name="Master Playback Volume", index=0, device=0 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: [0x00 0x00] 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: [0x00 0x00] [0x00 0x00] 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 0x20010e: Mono Amp-In Amp-Out Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00] [0x00] Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=0 Amp-Out vals: [0x00] Connection: 2 0x02 0x0b Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x12 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x00: Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Master Playback Switch", index=0, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x00 0x00] Pincap 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: 2 0x0c* 0x0d 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: [0x80 0x80] Pincap 0x0000003e: IN OUT HP Detect Trigger Pin Default 0x411111f0: [N/A] Speaker at Ext Rear Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Connection: 2 0x0c 0x0d* Node 0x16 [Pin Complex] wcaps 0x40010c: Mono Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80] 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 0x0e Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Mic Boost", index=0, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000173e: IN OUT HP Detect Trigger Vref caps: HIZ 50 GRD 80 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: 2 0x0c* 0x0d Node 0x19 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out Control: name="Front Mic Boost", index=0, device=0 Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0 Amp-In vals: [0x00 0x00] Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x0000173e: IN OUT HP Detect Trigger Vref caps: HIZ 50 GRD 80 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: 2 0x0c* 0x0d Node 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 0x0000173e: IN OUT HP Detect Trigger Vref caps: HIZ 50 GRD 80 Pin Default 0x01813041: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue DefAssociation = 0x4, Sequence = 0x1 Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 2 0x0c* 0x0d Node 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: [0x80 0x80] Pincap 0x0000173e: IN OUT HP Detect Trigger Vref caps: HIZ 50 GRD 80 Pin Default 0x02014c20: [Jack] Line Out at Ext Front Conn = 1/8, Color = Green DefAssociation = 0x2, Sequence = 0x0 Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=00, enabled=0 Connection: 2 0x0c* 0x0d Node 0x1c [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x9933014f: [Fixed] CD at Int ATAPI Conn = ATAPI, Color = Unknown DefAssociation = 0x4, Sequence = 0xf Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x1d [Pin Complex] wcaps 0x400000: Mono 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 0x1e [Pin Complex] wcaps 0x400380: Mono Digital Pincap 0x00000010: OUT Pin Default 0x01441130: [Jack] SPDIF Out at Ext Rear Conn = RCA, Color = Black DefAssociation = 0x3, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x06 Node 0x1f [Pin Complex] wcaps 0x400280: Mono Digital Pincap 0x00000020: IN Pin Default 0x01c46160: [Jack] SPDIF In at Ext Rear Conn = RCA, Color = Orange DefAssociation = 0x6, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono Processing caps: benign=0, ncoeff=17 Processing Coefficient: 0x6020 Coefficient Index: 0x09 Node 0x21 [Volume Knob Widget] wcaps 0x600080: Mono Volume-Knob: delta=0, steps=32, direct=0, val=64 Unsolicited: tag=00, enabled=0 Connection: 0 Node 0x22 [Audio Selector] wcaps 0x300101: Stereo Connection: 10 0x18* 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b 0x12 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] Connection: 9 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b Node 0x24 [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] Connection: 9 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x0b Codec: ATI RS690/780 HDMI Address: 0 Function Id: 0x1 Vendor Id: 0x1002791a Subsystem Id: 0x00791a00 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 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 Device: name="ATI HDMI", type="HDMI", device=3 Converter: stream=0, channel=0 Digital: Digital category: 0x0 Node 0x03 [Pin Complex] wcaps 0x400381: Stereo Digital 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=00, enabled=0 Connection: 1 0x02 --endcollapse--
!!ALSA Device nodes !!-----------------
crw-rw---- 1 root root 116, 8 May 26 19:18 /dev/snd/controlC0 crw-rw---- 1 root root 116, 11 May 26 19:18 /dev/snd/controlC1 crw-rw---- 1 root root 116, 7 May 26 19:18 /dev/snd/hwC0D0 crw-rw---- 1 root root 116, 10 May 26 19:18 /dev/snd/hwC1D0 crw-rw---- 1 root root 116, 6 May 26 19:18 /dev/snd/pcmC0D0c crw-rw---- 1 root root 116, 5 May 26 19:18 /dev/snd/pcmC0D0p crw-rw---- 1 root root 116, 4 May 26 19:18 /dev/snd/pcmC0D1c crw-rw---- 1 root root 116, 3 May 26 19:18 /dev/snd/pcmC0D1p crw-rw---- 1 root root 116, 9 May 26 19:18 /dev/snd/pcmC1D3p crw-rw---- 1 root root 116, 2 May 26 19:18 /dev/snd/timer
/dev/snd/by-path: total 0 drwxr-xr-x 2 root root 80 May 26 19:18 . drwxr-xr-x 3 root root 260 May 26 19:18 .. lrwxrwxrwx 1 root root 12 May 26 19:18 pci-0000:00:14.2 -> ../controlC0 lrwxrwxrwx 1 root root 12 May 26 19:18 pci-0000:01:05.1 -> ../controlC1
!!Aplay/Arecord output !!------------
APLAY
**** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC262 Analog [ALC262 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC262 Digital [ALC262 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0
ARECORD
**** List of CAPTURE Hardware Devices **** card 0: SB [HDA ATI SB], device 0: ALC262 Analog [ALC262 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: SB [HDA ATI SB], device 1: ALC262 Digital [ALC262 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0
!!Amixer output !!-------------
!!-------Mixer controls for card 0 [SB]
Card hw:0 'SB'/'HDA ATI SB at 0xf0500000 irq 16' Mixer name : 'Realtek ALC262' Components : 'HDA:10ec0262,10ec0262,00100202' Controls : 30 Simple ctrls : 16 Simple mixer control 'Master',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-46.50dB] [on] Front Right: Playback 0 [0%] [-46.50dB] [on] Simple mixer control 'Front Mic',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Front Mic Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] Front Right: 0 [0%] Simple mixer control 'Line',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'CD',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Mic Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] Front Right: 0 [0%] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined cswitch cswitch-joined Playback channels: Mono Capture channels: Mono Mono: Playback [off] Capture [off] Simple mixer control 'IEC958 Default PCM',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] Simple mixer control 'Beep',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 1 [3%] [-33.00dB] [off] Front Right: Playback 1 [3%] [-33.00dB] [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 0 [0%] [-12.00dB] [on] Front Right: Capture 0 [0%] [-12.00dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 0 [0%] [-12.00dB] [on] Front Right: Capture 0 [0%] [-12.00dB] [on] Simple mixer control 'Capture',2 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 31 Front Left: Capture 0 [0%] [-12.00dB] [on] Front Right: Capture 0 [0%] [-12.00dB] [on] Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic' Simple mixer control 'Input Source',2 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic'
!!-------Mixer controls for card 1 [HDMI]
Card hw:1 'HDMI'/'HDA ATI HDMI at 0xf0110000 irq 26' Mixer name : 'ATI RS690/780 HDMI' Components : 'HDA:1002791a,00791a00,00100000' Controls : 4 Simple ctrls : 1 Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off]
!!Alsactl output !!-------------
--startcollapse-- state.SB { control.1 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Master Playback Switch' value.0 true value.1 true } control.2 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -4650 comment.dbmax 0 iface MIXER name 'Master Playback Volume' value.0 0 value.1 0 } control.3 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'Mic Playback Volume' value.0 0 value.1 0 } control.4 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Mic Playback Switch' value.0 false value.1 false } control.5 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'Front Mic Playback Volume' value.0 0 value.1 0 } control.6 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Front Mic Playback Switch' value.0 false value.1 false } control.7 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'Line Playback Volume' value.0 0 value.1 0 } control.8 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Line Playback Switch' value.0 false value.1 false } control.9 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'CD Playback Volume' value.0 0 value.1 0 } control.10 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'CD Playback Switch' value.0 false value.1 false } control.11 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 3' comment.dbmin 0 comment.dbmax 3000 iface MIXER name 'Mic Boost' value.0 0 value.1 0 } control.12 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 3' comment.dbmin 0 comment.dbmax 3000 iface MIXER name 'Front Mic Boost' value.0 0 value.1 0 } control.13 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' value.0 true value.1 true } control.14 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' index 1 value.0 true value.1 true } control.15 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' index 2 value.0 true value.1 true } control.16 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -1200 comment.dbmax 3450 iface MIXER name 'Capture Volume' value.0 0 value.1 0 } control.17 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -1200 comment.dbmax 3450 iface MIXER name 'Capture Volume' index 1 value.0 0 value.1 0 } control.18 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -1200 comment.dbmax 3450 iface MIXER name 'Capture Volume' index 2 value.0 0 value.1 0 } control.19 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mic comment.item.1 'Front Mic' comment.item.2 Line comment.item.3 CD iface MIXER name 'Input Source' value Mic } control.20 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mic comment.item.1 'Front Mic' comment.item.2 Line comment.item.3 CD iface MIXER name 'Input Source' index 1 value Mic } control.21 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mic comment.item.1 'Front Mic' comment.item.2 Line comment.item.3 CD iface MIXER name 'Input Source' index 2 value Mic } control.22 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.23 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.24 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.25 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value false } control.26 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Default PCM Playback Switch' value true } control.27 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Capture Switch' value false } control.28 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Capture Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.29 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -3450 comment.dbmax 1200 iface MIXER name 'Beep Playback Volume' value.0 1 value.1 1 } control.30 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Beep Playback Switch' value.0 false value.1 false } } state.HDMI { control.1 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.2 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.3 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.4 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value false } } --endcollapse--
!!All Loaded Modules !!------------------
Module cpufreq_conservative cpufreq_userspace cpufreq_powersave powernow_k8 loop dm_mod mousedev snd_hda_codec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm container sg psmouse snd_timer evdev snd serio_raw pcspkr i2c_piix4 thermal soundcore k10temp processor i2c_core snd_page_alloc button thermal_sys shpchp hwmon pci_hotplug aufs nfs lockd fscache nfs_acl auth_rpcgss sunrpc usbhid hid af_packet ohci_hcd ehci_hcd sky2 r8169 via_velocity crc_ccitt via_rhine mii xfs exportfs edd usb_storage usbcore nls_base
!!Sysfs Files !!-----------
/sys/class/sound/hwC0D0/init_pin_configs: 0x12 0x411111f0 0x14 0x01014010 0x15 0x411111f0 0x16 0x411111f0 0x18 0x01a19840 0x19 0x02a19c50 0x1a 0x01813041 0x1b 0x02014c20 0x1c 0x9933014f 0x1d 0x411111f0 0x1e 0x01441130 0x1f 0x01c46160
/sys/class/sound/hwC0D0/driver_pin_configs:
/sys/class/sound/hwC0D0/user_pin_configs:
/sys/class/sound/hwC0D0/init_verbs:
/sys/class/sound/hwC1D0/init_pin_configs: 0x03 0x18560010
/sys/class/sound/hwC1D0/driver_pin_configs:
/sys/class/sound/hwC1D0/user_pin_configs:
/sys/class/sound/hwC1D0/init_verbs:
!!ALSA/HDA dmesg !!------------------
[ 15.867208] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 15.935131] HDA Intel 0000:00:14.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 16.023778] hda_codec: ALC262: BIOS auto-probing. [ 16.023829] ALSA hda_codec.c:4284: autoconfig: line_outs=1 (0x14/0x0/0x0/0x0/0x0) [ 16.023833] ALSA hda_codec.c:4288: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 16.023835] ALSA hda_codec.c:4292: hp_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 16.023838] ALSA hda_codec.c:4293: mono: mono_out=0x0 [ 16.023840] ALSA hda_codec.c:4296: dig-out=0x1e/0x0 [ 16.023841] ALSA hda_codec.c:4304: inputs: mic=0x18, fmic=0x19, line=0x1a, fline=0x0, cd=0x1c, aux=0x0 [ 16.023844] ALSA hda_codec.c:4306: dig-in=0x1f [ 16.025232] ALSA patch_realtek.c:1297: realtek: No valid SSID, checking pincfg 0x411111f0 for NID 0x1d [ 16.025234] ALSA patch_realtek.c:1377: realtek: Enable default setup for auto mode as fallback [ 16.028142] HDA Intel 0000:01:05.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19 [ 16.028204] alloc irq_desc for 26 on node -1 [ 16.028206] alloc kstat_irqs on node -1 [ 16.028212] HDA Intel 0000:01:05.1: irq 26 for MSI/MSI-X [ 16.028227] HDA Intel 0000:01:05.1: setting latency timer to 64 [ 19.053007] ALSA hda_intel.c:709: azx_get_response timeout, switching to polling mode: last cmd=0x000f0001 [ 19.343809] mice: PS/2 mouse device common for all mice
At Wed, 26 May 2010 14:21:59 +0200 (CEST), Jan Engelhardt wrote:
On Wednesday 2010-05-26 14:10, Takashi Iwai wrote:
/proc/asound/cards: 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0500000 irq 16 1 [HDMI]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf0110000 irq 19
The soundcard responsible for the internal speaker is the 01:05.1/"HDMI" one.
Hmm? HDMI output as the "internal" speaker is abnormal.
Under Windows XP, I see the following mixer elements for it:
- Master Volume
- Wave
- SW Synth
- CD Player
Subsequently, there is sound (once I bump the volumes on these).
There are definitely for the onboard sound, not for HDMI.
The "SB" card has many more mixers (counting 10) and Windows XP also shows about that many for SB. But neither in Linux nor Windows does the SB card have any effect; I do have to turn the bars of the "HDMI" one.
Abnormal, well. It's (semi-)embedded, what did you expect.
Wow, then is the HDMI cable connected inside the device?
Anyway, "IEC958 Playback Switch" should be turned on for HDMI.
% amixer -c1 IEC958 on
Another issue is that HDMI audio is always through the video chip, thus the audio stuff is also controlled by the video driver. IIRC, ATI fglrx has a certain level of support for HDMI audio, but not sure about other drivers.
Takashi
On Wednesday 2010-05-26 14:39, Takashi Iwai wrote:
There are definitely for the onboard sound, not for HDMI.
The "SB" card has many more mixers (counting 10) and Windows XP also shows about that many for SB. But neither in Linux nor Windows does the SB card have any effect; I do have to turn the bars of the "HDMI" one.
Abnormal, well. It's (semi-)embedded, what did you expect.
Wow, then is the HDMI cable connected inside the device?
Possibly. It looks quite embedded behind the casing - no recognizable connectors, just soldering and wiring onto headers.
Anyway, "IEC958 Playback Switch" should be turned on for HDMI.
% amixer -c1 IEC958 on
Well that does nothing. As there is no PCM channel for it, there is no /dev/snd/pcmC1*, and thus mplayer - or any other progarm - won't even try to output anything.
Another issue is that HDMI audio is always through the video chip, thus the audio stuff is also controlled by the video driver. IIRC, ATI fglrx has a certain level of support for HDMI audio, but not sure about other drivers.
In other words, the Samsung 320MXn2 is a €2000 brick. Time to return it.
Thanks for your analysis, Jan
At Wed, 26 May 2010 15:47:26 +0200 (CEST), Jan Engelhardt wrote:
On Wednesday 2010-05-26 14:39, Takashi Iwai wrote:
There are definitely for the onboard sound, not for HDMI.
The "SB" card has many more mixers (counting 10) and Windows XP also shows about that many for SB. But neither in Linux nor Windows does the SB card have any effect; I do have to turn the bars of the "HDMI" one.
Abnormal, well. It's (semi-)embedded, what did you expect.
Wow, then is the HDMI cable connected inside the device?
Possibly. It looks quite embedded behind the casing - no recognizable connectors, just soldering and wiring onto headers.
Anyway, "IEC958 Playback Switch" should be turned on for HDMI.
% amixer -c1 IEC958 on
Well that does nothing. As there is no PCM channel for it, there is no /dev/snd/pcmC1*, and thus mplayer - or any other progarm - won't even try to output anything.
There is /dev/snd/pcmC1D3p. This should corresponds to HDMI output. Try "aplay -vv -Dhdmi:1 foo.wav" or so.
Takashi
Jan Engelhardt wrote:
On Wednesday 2010-05-26 14:10, Takashi Iwai wrote:
/proc/asound/cards: 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0500000 irq 16 1 [HDMI]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf0110000 irq 19
The soundcard responsible for the internal speaker is the 01:05.1/"HDMI" one.
Hmm? HDMI output as the "internal" speaker is abnormal.
Under Windows XP, I see the following mixer elements for it:
- Master Volume
- Wave
- SW Synth
- CD Player
Subsequently, there is sound (once I bump the volumes on these).
There are definitely for the onboard sound, not for HDMI.
The "SB" card has many more mixers (counting 10) and Windows XP also shows about that many for SB. But neither in Linux nor Windows does the SB card have any effect; I do have to turn the bars of the "HDMI" one.
Abnormal, well. It's (semi-)embedded, what did you expect.
It is extremely unlike that your embedded device has separate chips to decode the HDMI sound signal and then convert it to analog, when the same is already available with the normal HDA device.
Your alsa-info output shows that there is an ALC262 codec connected to the "SB" device; this chip wouldn't have been put there if it didn't have a function.
Try unmuting and raising both the Master and Beep controls.
The Windows mixer elements are software-emulated and shown for all devices. (I don't know why the only working device is labeled "HDMI", maybe someone just mixed up the HDA devices.)
Regards, Clemens
On Wednesday 2010-05-26 15:58, Clemens Ladisch wrote:
Jan Engelhardt wrote:
On Wednesday 2010-05-26 14:10, Takashi Iwai wrote:
/proc/asound/cards: 0 [SB ]: HDA-Intel - HDA ATI SB HDA ATI SB at 0xf0500000 irq 16 1 [HDMI]: HDA-Intel - HDA ATI HDMI HDA ATI HDMI at 0xf0110000 irq 19
The soundcard responsible for the internal speaker is the 01:05.1/"HDMI" one.
Hmm? HDMI output as the "internal" speaker is abnormal.
The "SB" card has many more mixers (counting 10) and Windows XP also shows about that many for SB. But neither in Linux nor Windows does the SB card have any effect; I do have to turn the bars of the "HDMI" one.
Abnormal, well. It's (semi-)embedded, what did you expect.
It is extremely unlike that your embedded device has separate chips to decode the HDMI sound signal and then convert it to analog, when the same is already available with the normal HDA device.
Your alsa-info output shows that there is an ALC262 codec connected to the "SB" device; this chip wouldn't have been put there if it didn't have a function.
Try unmuting and raising both the Master and Beep controls.
I unmuted everything and bumped the sliders to 100% but that does not change a thing unfortunately; opening the right device (C1D3p) using the suggested `aplay -vv -Dhdmi:1` or `mplayer -ao alsa:device=hw=1.3` does not make any noise either.
Jan Engelhardt wrote:
On Wednesday 2010-05-26 15:58, Clemens Ladisch wrote:
Try unmuting and raising both the Master and Beep controls.
I unmuted everything and bumped the sliders to 100% but that does not change a thing unfortunately; opening the right device (C1D3p) ...
Please do not assume that the "HDMI" device is the right one, since you never got either one to work in Linux. You did try playing through the "SB" card, didn't you?
It is possible that an embedded device like this requires some custom initialization. Can you find out if the Windows driver is the standard Microsoft driver or Samsung's?
Regards, Clemens
Clemens Ladisch wrote:
Please do not assume that the "HDMI" device is the right one, since you never got either one to work in Linux.
Hmm, that computer is separate from the actual LCD, which has an HDMI input, so it's possible that the HDMI output would be correct.
In that case, it's likely that you've run into this bug: https://bugs.freedesktop.org/show_bug.cgi?id=28030
You might try the patch mentioned there, or radeonhd, or fglrx.
HTH Clemens
On Thursday 2010-05-27 14:34, Clemens Ladisch wrote:
Clemens Ladisch wrote:
Please do not assume that the "HDMI" device is the right one, since you never got either one to work in Linux.
Hmm, that computer is separate from the actual LCD, which has an HDMI input, so it's possible that the HDMI output would be correct.
In that case, it's likely that you've run into this bug: https://bugs.freedesktop.org/show_bug.cgi?id=28030
You might try the patch mentioned there, or radeonhd, or fglrx.
Cc'ing drm.
I conclude further tests.
* Linux 2.6.35-rc2 - fbcon:radeondrmfb using "modprobe radeon modeset=1" - sound ok - Xorg (7.4) with 'radeonhd' - fbcon ok, no sound in Xorg - I figure radeonhd is obsolete - Xorg with 'radeon' - fbcon ok, xorg ok. There is a small breakdown when switching between fbcon and xorg
* Linux 2.6.33.5 - like 2.6.35-rc2, but had a bug that prevented radeon.ko to go into graphics mode when initially loaded; workaround: modprobe fglrx; rmmod fglrx; modprobe radeon modeset=1 - or fglrx, also makes sound work
- fglrx bug aside: switching from Xorg to console (either 80x25 or radeondrmfb) makes a fugly "pop" noise, and if the target is radeomdrmfb, display is garbled.
So I'm happy. Conclusive questions however:
* Why is it that I am only allowed to have sound in graphics mode?
* The radeon.ko module does not have any PCI IDs defined, thus does not get autoloaded like i915.ko. Is this intentional? It also seems to default to modeset=0.
On Mon, Jun 7, 2010 at 8:49 AM, Jan Engelhardt jengelh@medozas.de wrote:
On Thursday 2010-05-27 14:34, Clemens Ladisch wrote:
Clemens Ladisch wrote:
Please do not assume that the "HDMI" device is the right one, since you never got either one to work in Linux.
Hmm, that computer is separate from the actual LCD, which has an HDMI input, so it's possible that the HDMI output would be correct.
In that case, it's likely that you've run into this bug: https://bugs.freedesktop.org/show_bug.cgi?id=28030
You might try the patch mentioned there, or radeonhd, or fglrx.
Cc'ing drm.
I conclude further tests.
- Linux 2.6.35-rc2
- fbcon:radeondrmfb using "modprobe radeon modeset=1"
- sound ok
- Xorg (7.4) with 'radeonhd'
- fbcon ok, no sound in Xorg - I figure radeonhd is obsolete
- Xorg with 'radeon'
- fbcon ok, xorg ok. There is a small breakdown when switching between fbcon and xorg
- Linux 2.6.33.5
- like 2.6.35-rc2, but had a bug that prevented radeon.ko to go into
graphics mode when initially loaded; workaround: modprobe fglrx; rmmod fglrx; modprobe radeon modeset=1
or fglrx, also makes sound work
fglrx bug aside: switching from Xorg to console (either 80x25 or
radeondrmfb) makes a fugly "pop" noise, and if the target is radeomdrmfb, display is garbled.
So I'm happy. Conclusive questions however:
- Why is it that I am only allowed to have sound in graphics mode?
HDMI audio is only enabled on active outputs during modeset.
- The radeon.ko module does not have any PCI IDs defined, thus does not
get autoloaded like i915.ko. Is this intentional? It also seems to default to modeset=0.
What kernel are you using? It definitely has pci ids and autoloads just fine.
Alex
On Monday 2010-06-07 17:03, Alex Deucher wrote:
- Why is it that I am only allowed to have sound in graphics mode?
HDMI audio is only enabled on active outputs during modeset.
Bleh. If it shows text, that seems pretty active to me.
- The radeon.ko module does not have any PCI IDs defined, thus does not
get autoloaded like i915.ko. Is this intentional? It also seems to default to modeset=0.
What kernel are you using? It definitely has pci ids and autoloads just fine.
17:20 lxwks:~ > modinfo radeon filename: /lib/modules/2.6.31.12-jen93-rt/kernel/drivers/gpu/drm/radeon/radeon.ko license: GPL and additional rights description: ATI Radeon author: Gareth Hughes, Keith Whitwell, others. srcversion: D95F7F85D05C72112F277F3 depends: drm vermagic: 2.6.31.12-jen93-rt SMP preempt mod_unload modversions 686 parm: no_wb:Disable AGP writeback for scratch registers (int)
17:23 samsung:~ # modinfo radeon filename: /lib/modules/2.6.35-rc2-default+/kernel/drivers/gpu/drm/radeon/radeon.ko license: GPL and additional rights description: ATI Radeon author: Gareth Hughes, Keith Whitwell, others. firmware: radeon/R520_cp.bin firmware: radeon/RS600_cp.bin firmware: radeon/RS690_cp.bin firmware: radeon/R420_cp.bin firmware: radeon/R300_cp.bin firmware: radeon/R200_cp.bin firmware: radeon/R100_cp.bin firmware: radeon/RV710_me.bin firmware: radeon/RV710_pfp.bin firmware: radeon/RV730_me.bin firmware: radeon/RV730_pfp.bin firmware: radeon/RV770_me.bin firmware: radeon/RV770_pfp.bin firmware: radeon/RS780_me.bin firmware: radeon/RS780_pfp.bin firmware: radeon/RV670_me.bin firmware: radeon/RV670_pfp.bin firmware: radeon/RV635_me.bin firmware: radeon/RV635_pfp.bin firmware: radeon/RV620_me.bin firmware: radeon/RV620_pfp.bin firmware: radeon/RV630_me.bin firmware: radeon/RV630_pfp.bin firmware: radeon/RV610_me.bin firmware: radeon/RV610_pfp.bin firmware: radeon/R600_me.bin firmware: radeon/R600_pfp.bin firmware: radeon/R520_cp.bin firmware: radeon/RS600_cp.bin firmware: radeon/RS690_cp.bin firmware: radeon/R420_cp.bin firmware: radeon/R300_cp.bin firmware: radeon/R200_cp.bin firmware: radeon/R100_cp.bin firmware: radeon/CYPRESS_rlc.bin firmware: radeon/CYPRESS_me.bin firmware: radeon/CYPRESS_pfp.bin firmware: radeon/JUNIPER_rlc.bin firmware: radeon/JUNIPER_me.bin firmware: radeon/JUNIPER_pfp.bin firmware: radeon/REDWOOD_rlc.bin firmware: radeon/REDWOOD_me.bin firmware: radeon/REDWOOD_pfp.bin firmware: radeon/CEDAR_rlc.bin firmware: radeon/CEDAR_me.bin firmware: radeon/CEDAR_pfp.bin firmware: radeon/R700_rlc.bin firmware: radeon/R600_rlc.bin firmware: radeon/RV710_me.bin firmware: radeon/RV710_pfp.bin firmware: radeon/RV730_me.bin firmware: radeon/RV730_pfp.bin firmware: radeon/RV770_me.bin firmware: radeon/RV770_pfp.bin firmware: radeon/RS780_me.bin firmware: radeon/RS780_pfp.bin firmware: radeon/RV670_me.bin firmware: radeon/RV670_pfp.bin firmware: radeon/RV635_me.bin firmware: radeon/RV635_pfp.bin firmware: radeon/RV620_me.bin firmware: radeon/RV620_pfp.bin firmware: radeon/RV630_me.bin firmware: radeon/RV630_pfp.bin firmware: radeon/RV610_me.bin firmware: radeon/RV610_pfp.bin firmware: radeon/R600_me.bin firmware: radeon/R600_pfp.bin srcversion: DF143D97DD12F63E6EEAF3F depends: drm,drm_kms_helper,ttm,i2c-core,i2c-algo-bit vermagic: 2.6.35-rc2-default+ SMP mod_unload modversions parm: no_wb:Disable AGP writeback for scratch registers (int) parm: modeset:Disable/Enable modesetting (int) parm: dynclks:Disable/Enable dynamic clocks (int) parm: r4xx_atom:Enable ATOMBIOS modesetting for R4xx (int) parm: vramlimit:Restrict VRAM for testing (int) parm: agpmode:AGP Mode (-1 == PCI) (int) parm: gartsize:Size of PCIE/IGP gart to setup in megabytes (32,64, etc) (int) parm: benchmark:Run benchmark (int) parm: test:Run tests (int) parm: connector_table:Force connector table (int) parm: tv:TV enable (0 = disable) (int) parm: new_pll:Select new PLL code (int) parm: audio:Audio enable (0 = disable) (int) parm: disp_priority:Display Priority (0 = auto, 1 = normal, 2 = high) (int) parm: hw_i2c:hw i2c engine enable (0 = disable) (int) 17:24 samsung:~/linux-2.6 # git describe v2.6.35-rc2-1-g386f40c 17:25 samsung:../gpu/drm # git grep PCI_DEVICE_TABLE radeon/ 17:25 samsung:../gpu/drm #
On Mon, Jun 7, 2010 at 11:25 AM, Jan Engelhardt jengelh@medozas.de wrote:
On Monday 2010-06-07 17:03, Alex Deucher wrote:
- Why is it that I am only allowed to have sound in graphics mode?
HDMI audio is only enabled on active outputs during modeset.
Bleh. If it shows text, that seems pretty active to me.
Do you mean vga console prior to loading radeon or fb console after loading radeon? The driver needs to be loaded. Also, the attached monitor has to announce itself as hdmi for audio to be enabled.
- The radeon.ko module does not have any PCI IDs defined, thus does not
get autoloaded like i915.ko. Is this intentional? It also seems to default to modeset=0.
What kernel are you using? It definitely has pci ids and autoloads just fine.
17:20 lxwks:~ > modinfo radeon filename: /lib/modules/2.6.31.12-jen93-rt/kernel/drivers/gpu/drm/radeon/radeon.ko license: GPL and additional rights description: ATI Radeon author: Gareth Hughes, Keith Whitwell, others. srcversion: D95F7F85D05C72112F277F3 depends: drm vermagic: 2.6.31.12-jen93-rt SMP preempt mod_unload modversions 686 parm: no_wb:Disable AGP writeback for scratch registers (int)
17:23 samsung:~ # modinfo radeon filename: /lib/modules/2.6.35-rc2-default+/kernel/drivers/gpu/drm/radeon/radeon.ko license: GPL and additional rights description: ATI Radeon author: Gareth Hughes, Keith Whitwell, others. firmware: radeon/R520_cp.bin firmware: radeon/RS600_cp.bin firmware: radeon/RS690_cp.bin firmware: radeon/R420_cp.bin firmware: radeon/R300_cp.bin firmware: radeon/R200_cp.bin firmware: radeon/R100_cp.bin firmware: radeon/RV710_me.bin firmware: radeon/RV710_pfp.bin firmware: radeon/RV730_me.bin firmware: radeon/RV730_pfp.bin firmware: radeon/RV770_me.bin firmware: radeon/RV770_pfp.bin firmware: radeon/RS780_me.bin firmware: radeon/RS780_pfp.bin firmware: radeon/RV670_me.bin firmware: radeon/RV670_pfp.bin firmware: radeon/RV635_me.bin firmware: radeon/RV635_pfp.bin firmware: radeon/RV620_me.bin firmware: radeon/RV620_pfp.bin firmware: radeon/RV630_me.bin firmware: radeon/RV630_pfp.bin firmware: radeon/RV610_me.bin firmware: radeon/RV610_pfp.bin firmware: radeon/R600_me.bin firmware: radeon/R600_pfp.bin firmware: radeon/R520_cp.bin firmware: radeon/RS600_cp.bin firmware: radeon/RS690_cp.bin firmware: radeon/R420_cp.bin firmware: radeon/R300_cp.bin firmware: radeon/R200_cp.bin firmware: radeon/R100_cp.bin firmware: radeon/CYPRESS_rlc.bin firmware: radeon/CYPRESS_me.bin firmware: radeon/CYPRESS_pfp.bin firmware: radeon/JUNIPER_rlc.bin firmware: radeon/JUNIPER_me.bin firmware: radeon/JUNIPER_pfp.bin firmware: radeon/REDWOOD_rlc.bin firmware: radeon/REDWOOD_me.bin firmware: radeon/REDWOOD_pfp.bin firmware: radeon/CEDAR_rlc.bin firmware: radeon/CEDAR_me.bin firmware: radeon/CEDAR_pfp.bin firmware: radeon/R700_rlc.bin firmware: radeon/R600_rlc.bin firmware: radeon/RV710_me.bin firmware: radeon/RV710_pfp.bin firmware: radeon/RV730_me.bin firmware: radeon/RV730_pfp.bin firmware: radeon/RV770_me.bin firmware: radeon/RV770_pfp.bin firmware: radeon/RS780_me.bin firmware: radeon/RS780_pfp.bin firmware: radeon/RV670_me.bin firmware: radeon/RV670_pfp.bin firmware: radeon/RV635_me.bin firmware: radeon/RV635_pfp.bin firmware: radeon/RV620_me.bin firmware: radeon/RV620_pfp.bin firmware: radeon/RV630_me.bin firmware: radeon/RV630_pfp.bin firmware: radeon/RV610_me.bin firmware: radeon/RV610_pfp.bin firmware: radeon/R600_me.bin firmware: radeon/R600_pfp.bin srcversion: DF143D97DD12F63E6EEAF3F depends: drm,drm_kms_helper,ttm,i2c-core,i2c-algo-bit vermagic: 2.6.35-rc2-default+ SMP mod_unload modversions parm: no_wb:Disable AGP writeback for scratch registers (int) parm: modeset:Disable/Enable modesetting (int) parm: dynclks:Disable/Enable dynamic clocks (int) parm: r4xx_atom:Enable ATOMBIOS modesetting for R4xx (int) parm: vramlimit:Restrict VRAM for testing (int) parm: agpmode:AGP Mode (-1 == PCI) (int) parm: gartsize:Size of PCIE/IGP gart to setup in megabytes (32,64, etc) (int) parm: benchmark:Run benchmark (int) parm: test:Run tests (int) parm: connector_table:Force connector table (int) parm: tv:TV enable (0 = disable) (int) parm: new_pll:Select new PLL code (int) parm: audio:Audio enable (0 = disable) (int) parm: disp_priority:Display Priority (0 = auto, 1 = normal, 2 = high) (int) parm: hw_i2c:hw i2c engine enable (0 = disable) (int) 17:24 samsung:~/linux-2.6 # git describe v2.6.35-rc2-1-g386f40c 17:25 samsung:../gpu/drm # git grep PCI_DEVICE_TABLE radeon/ 17:25 samsung:../gpu/drm #
The pci ids are in include/drm/drm_pciids.h
modinfo radeon ... srcversion: 0D187768753F1469A0E118E alias: pci:v00001002d00009715sv*sd*bc*sc*i* alias: pci:v00001002d00009714sv*sd*bc*sc*i* alias: pci:v00001002d00009713sv*sd*bc*sc*i* alias: pci:v00001002d00009712sv*sd*bc*sc*i* alias: pci:v00001002d00009711sv*sd*bc*sc*i* alias: pci:v00001002d00009710sv*sd*bc*sc*i* alias: pci:v00001002d00009616sv*sd*bc*sc*i* alias: pci:v00001002d00009615sv*sd*bc*sc*i* alias: pci:v00001002d00009614sv*sd*bc*sc*i* alias: pci:v00001002d00009613sv*sd*bc*sc*i* alias: pci:v00001002d00009612sv*sd*bc*sc*i* alias: pci:v00001002d00009611sv*sd*bc*sc*i* alias: pci:v00001002d00009610sv*sd*bc*sc*i* alias: pci:v00001002d000095CFsv*sd*bc*sc*i* alias: pci:v00001002d000095CEsv*sd*bc*sc*i* alias: pci:v00001002d000095CDsv*sd*bc*sc*i* ...
Alex
On Mon, Jun 7, 2010 at 14:49:16 +0200, Jan Engelhardt wrote:
- The radeon.ko module does not have any PCI IDs defined, thus does not
get autoloaded like i915.ko. Is this intentional? It also seems to default to modeset=0.
It only defines PCI IDs (and gets autoloaded) if CONFIG_DRM_RADEON_KMS=y.
Cheers, Julien
On Thursday 2010-05-27 13:42, Clemens Ladisch wrote:
Try unmuting and raising both the Master and Beep controls.
I unmuted everything and bumped the sliders to 100% but that does not change a thing unfortunately; opening the right device (C1D3p) ...
Please do not assume that the "HDMI" device is the right one, since you never got either one to work in Linux. You did try playing through the "SB" card, didn't you?
Through all of them.
It is possible that an embedded device like this requires some custom initialization. Can you find out if the Windows driver is the standard Microsoft driver or Samsung's?
Looks like the Microsoft one:
System: Windows XP Embedded Version 2002 Service Pack 2
Devices in Device Manager:
== "ATI HDMI Audio" == Driver Provider: Realtek Semiconductor Corp. Driver Date: 4/14/2008 Driver Version: 5.10.0.5602 not digitally signed
Matching Device Id: hdaudio\func_01&ven_1002&dev_791a
consisting of: C:\WINDOWS\RtkUpd.exe Provider: Realtek Semiconductor Corp File version: 2,7,0,9 C:\WINDOWS\system32\drivers\drmk.sys Provider: Microsoft Version: 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158) C:\WINDOWS\system32\drivers\ks.sys Microsoft, 5.3.2600.2180 (xpsp..) C:\WINDOWS\system32\drivers\portcls.sys Microsoft, 5.1.2600.2180 C:\WINDOWS\system32\drivers\RtHDMI.sys Realtek, 5.10.0.5602 built by WinDDK C:\WINDOWS\system32\drivers\stream.sys Microsoft, 5.3.2600.2180 C:\WINDOWS\system32\ksproxy.ax Microsoft, 5.3.2600.2180 C:\WINDOWS\system32\ksuser.dll Microsoft, 5.3.2600.2180 C:\WINDOWS\system32\wdmaud.drv Microsoft, 5.1.2600.2180
== "Realtek High Definition Audio" == Device Type: Sound, video and game controllers Manufacturer: Realtek Location: Location 65535 (Internal High Definition Audio
Driver ProvideR: Realtek Semiconductor Corp. Driver Date: 4/17/2008 Driver Version: 5.10.0.5605 not digitally signed
Matching Device Id: hdaudio\func_01&ven_10ec&dev_0262
consisting of: C:\WINDOWS\ALCMTR.EXE Realtek, 1.6.0.2 C:\WINDOWS\ALCWZRD.EXE Realtek, 1.1.0.36 C:\WINDOWS\MiCcal.exe Realtek, 1.1.1.8 C:\WINDOWS\RTHDCPL.EXE Realtek, 2.2.0.2 C:\WINDOWS\RTLCPL.EXE Realtek, 1.0.1.65 C:\WINDOWS\RtlUpd.exe Realtek, 2,7,0,9 C:\WINDOWS\SkyTel.exe Realtek, 2.0.2.0 C:\WINDOWS\SOUNDMAN.EXE Realtek, 1,0,0,30 C:\WINDOWS\system32\ALSNDMGR.CPL Realtek, 1,0,0,10 C:\WINDOWS\system32\drivers\drmk.sys as above C:\WINDOWS\system32\drivers\ks.sys C:\WINDOWS\system32\drivers\portcls.sys C:\WINDOWS\system32\drivers\RtkHDAud.sys Realtek, 5.10.0.5605 built by WinDDK C:\WINDOWS\system32\drivers\stream.sys C:\WINDOWS\system32\ksproxy.ax C:\WINDOWS\system32\ksuser.dll C:\WINDOWS\system32\RTCOM\RTCOMDLL.dll Provider: N/A, Version: 1,0,0,96 C:\WINDOWS\system32\RTCOM\RTLCPAPI.dll N/A, 1,0,1,9 C:\WINDOWS\system32\RTSngMgr.CPL Realtek, 1,0,1,0 C:\WINDOWS\system32\wdmaud.drv
participants (5)
-
Alex Deucher
-
Clemens Ladisch
-
Jan Engelhardt
-
Julien Cristau
-
Takashi Iwai