I probably should have specified. I see the spdif output and all its controls, I can play to it, it just won't output any data data to the spdif port.
On 28/02/10 05:18 PM, Jonathan Thibault wrote:
Hello alsa devs :)
I've tried to change the pin configuration for model=dell-m22 to match that of the windows driver as per this section of the relevant .INI file, but that hasn't really changed anything. I haven't really incorporated the windows gpio settings as I couldn't find figure out how to do so.
Jonathan
---- relevant bits of windows .ini ---- [HKR\Settings\pin] CodecName = STAC9200-32 [HKR\Settings\pin\08] CfgDflt = dword: 0x40C003FA [HKR\Settings\pin\09] CfgDflt = dword: 0x01441340 [HKR\Settings\pin\10] CfgDflt = dword: 0x03A1102E AltCfg = hex: 2F,10,81,03 Bias = hex: FF,04,02 [HKR\Settings\pin\11] CfgDflt = dword: 0x401003FB [HKR\Settings\pin\12] CfgDflt = dword: 0x403003FC [HKR\Settings\pin\0d] CfgDflt = dword: 0x0321121F Action = hex: 80,00,81,0E,87,00 [HKR\Settings\pin\0e] CfgDflt = dword: 0x90170310 [HKR\Settings\pin\0F] CfgDflt = dword: 0x90A70320 ... [HKR\Settings\gpio] 02 = hex: 0x00, 0x01, 0x0E, 0x00, 0x00, 0x07, 0x00 01 = hex: 0x82 03 = hex: 0x82
Here is the codec information.
cat /proc/asound/card0/codec#0 Codec: SigmaTel STAC9200 Address: 0 Function Id: 0x1 Vendor Id: 0x83847690 Subsystem Id: 0x102801c8 Revision Id: 0x102201 No Modem Function Group found Default PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xe]: 16 20 24 formats [0x1]: PCM Default Amp-In caps: N/A Default Amp-Out caps: ofs=0x1f, nsteps=0x1f, stepsize=0x05, mute=1 GPIO: io=4, o=0, i=0, unsolicited=1, wake=1 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 0xd0401: Stereo Converter: stream=5, channel=0 Power: setting=D0, actual=D0 Delay: 13 samples Node 0x03 [Audio Input] wcaps 0x1d0541: Stereo Converter: stream=0, channel=0 SDI-Select: 0 Power: setting=D0, actual=D0 Delay: 13 samples Connection: 1 0x0a Processing caps: benign=0, ncoeff=0 Node 0x04 [Audio Input] wcaps 0x140311: Stereo Digital Converter: stream=0, channel=0 SDI-Select: 0 Digital: Digital category: 0x0 PCM: rates [0x160]: 44100 48000 96000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 4 samples Connection: 1 0x08 Node 0x05 [Audio Output] wcaps 0x40211: Stereo Digital Converter: stream=5, channel=0 Digital: Digital category: 0x0 PCM: rates [0x1e0]: 44100 48000 88200 96000 bits [0xe]: 16 20 24 formats [0x5]: PCM AC3 Delay: 4 samples Node 0x06 [Vendor Defined Widget] wcaps 0xf30201: Stereo Digital Delay: 3 samples Node 0x07 [Audio Selector] wcaps 0x300901: Stereo R/L Connection: 3 0x02* 0x08 0x0a Node 0x08 [Pin Complex] wcaps 0x430681: Stereo Digital Pincap 0x00010024: IN EAPD Detect EAPD 0x0: Pin Default 0x40c003fa: [N/A] SPDIF In at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0xa Misc = NO_PRESENCE Pin-ctls: 0x00: Unsolicited: tag=00, enabled=0 Power: setting=D0, actual=D0 Delay: 3 samples Node 0x09 [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x00000010: OUT Pin Default 0x01441340: [Jack] SPDIF Out at Ext Rear Conn = RCA, Color = Black DefAssociation = 0x4, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Connection: 2 0x05* 0x0a Node 0x0a [Audio Selector] wcaps 0x30090d: Stereo Amp-Out R/L Amp-Out caps: ofs=0x00, nsteps=0x0f, stepsize=0x05, mute=1 Amp-Out vals: [0x08 0x08] Connection: 1 0x0c Node 0x0b [Audio Selector] wcaps 0x300105: Stereo Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x19 0x19] Connection: 1 0x07 Node 0x0c [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x00, nsteps=0x04, stepsize=0x27, mute=0 Amp-Out vals: [0x00 0x00] Connection: 5 0x10 0x0f* 0x0e 0x0d 0x12 Node 0x0d [Pin Complex] wcaps 0x400181: Stereo Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense Pin Default 0x0321121f: [Jack] HP Out at Ext Left Conn = 1/8, Color = Black DefAssociation = 0x1, Sequence = 0xf Pin-ctls: 0x00: Unsolicited: tag=01, enabled=1 Connection: 1 0x0b Node 0x0e [Pin Complex] wcaps 0x400181: Stereo Pincap 0x0000003f: IN OUT HP Detect Trigger ImpSense Pin Default 0x90170310: [Fixed] Speaker at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x1, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x40: OUT Unsolicited: tag=00, enabled=0 Connection: 1 0x0b Node 0x0f [Pin Complex] wcaps 0x400181: Stereo Pincap 0x00000037: IN OUT Detect Trigger ImpSense Pin Default 0x90a70320: [Fixed] Mic at Int N/A Conn = Analog, Color = Unknown DefAssociation = 0x2, Sequence = 0x0 Misc = NO_PRESENCE Pin-ctls: 0x20: IN Unsolicited: tag=00, enabled=0 Connection: 1 0x0b Node 0x10 [Pin Complex] wcaps 0x400181: Stereo Pincap 0x00001737: IN OUT Detect Trigger ImpSense Vref caps: HIZ 50 GRD 80 Pin Default 0x0381102f: [Jack] Line In at Ext Left Conn = 1/8, Color = Black DefAssociation = 0x2, Sequence = 0xf Pin-ctls: 0x20: IN VREF_HIZ Unsolicited: tag=02, enabled=1 Connection: 1 0x0b Node 0x11 [Pin Complex] wcaps 0x400104: Mono Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x00] Pincap 0x00000010: OUT Pin Default 0x401003fb: [N/A] Speaker at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0xb Misc = NO_PRESENCE Pin-ctls: 0x00: Connection: 1 0x13 Node 0x12 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x00000020: IN Pin Default 0x403003fc: [N/A] CD at Ext N/A Conn = Unknown, Color = Unknown DefAssociation = 0xf, Sequence = 0xc Misc = NO_PRESENCE Pin-ctls: 0x20: IN Node 0x13 [Audio Mixer] wcaps 0x200100: Mono Connection: 1 0x07 Node 0x14 [Beep Generator Widget] wcaps 0x70000c: Mono Amp-Out Amp-Out caps: ofs=0x03, nsteps=0x03, stepsize=0x17, mute=1 Amp-Out vals: [0x00]
cat /proc/asound/card0/codec#1 Codec: Conexant ID 2bfa Address: 1 Function Id: 0x2 Vendor Id: 0x14f12bfa Subsystem Id: 0x14f100c3 Revision Id: 0x90000 Modem Function Group: 0x2
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel