[alsa-devel] Not all channels working with IDT 92HD83C1X5

Thierry Reding thierry.reding at avionic-design.de
Mon May 10 08:36:30 CEST 2010


Hi,

I have a board with an IDT 92HD83C1X5 codec connected to an Intel HDA
controller. When running a older "reference" Ubuntu 9.04 (provided by the
vendor) the codec works fine. I've been diffing the sources provided of the
2.6.28 kernel against vanilla 2.6.28 and couldn't find any significant
changes regarding HDA or the patch_sigmatel.c that has the support for this
codec.

However, when I use kernel 2.6.34-rc6 on the same hardware, only one channel
is working properly, all others remain muted. After some investigation I came
up with the attached patch that makes all channels work again. I am aware
that this is far from being acceptable code and that this is only a
workaround. Still, I am interested in fixing this properly, but I don't
really know where to start.

Also attached is an extract of dmesg with the actual output of the debugging
messages added by the attached patch.

Cheers,
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: workaround.patch
Type: text/x-diff
Size: 1476 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20100510/cfca82e3/attachment-0001.bin 
-------------- next part --------------
[  320.873160] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[  320.879331] HDA Intel 0000:00:1b.0: irq 27 for MSI/MSI-X
[  320.885273] HDA Intel 0000:00:1b.0: setting latency timer to 64
[  320.891083] ALSA hda_intel.c:2489: chipset global capabilities = 0x4401
[  320.929023] ALSA hda_intel.c:904: codec_mask = 0x1
[  320.935204] ALSA hda_intel.c:1337: codec #0 probed OK
[  320.948094] ALSA patch_sigmatel.c:5343: hda_codec: 92HD83C1X5: BIOS auto-probing.
[  320.954439] ALSA hda_codec.c:4358: autoconfig: line_outs=1 (0xb/0x0/0x0/0x0/0x0)
[  320.960778] ALSA hda_codec.c:4362:    speaker_outs=1 (0xd/0x0/0x0/0x0/0x0)
[  320.967206] ALSA hda_codec.c:4366:    hp_outs=1 (0xa/0xb/0x0/0x0/0x0)
[  320.973720] ALSA hda_codec.c:4367:    mono: mono_out=0x0
[  320.980270] ALSA hda_codec.c:4370:    dig-out=0x1f/0x20
[  320.986860] ALSA hda_codec.c:4378:    inputs: mic=0x11, fmic=0xc, line=0xf, fline=0x0, cd=0x0, aux=0x0
[  320.994189] ALSA patch_sigmatel.c:3018: stac92xx: dac_nids=1 (0x13/0x0/0x0/0x0/0x0)
[  321.001502] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/input/input15
[  321.017660] ALSA patch_sigmatel.c:4387: pin control for nid:a: 0, overwriting with c0
[  321.026777] ALSA patch_sigmatel.c:4390: pin control for nid:c: 24, overwriting with 40
[  321.034817] ALSA patch_sigmatel.c:4393: pin control for nid:d: 0, overwriting with 40
[  321.041797] ALSA patch_sigmatel.c:4396: pin control for nid:f: 20, overwriting with 40
[  321.048860] ALSA hda_codec.c:1968: Cannot find slave Surround Playback Volume, skipped
[  321.055777] ALSA hda_codec.c:1968: Cannot find slave Center Playback Volume, skipped
[  321.062614] ALSA hda_codec.c:1968: Cannot find slave LFE Playback Volume, skipped
[  321.069408] ALSA hda_codec.c:1968: Cannot find slave Side Playback Volume, skipped
[  321.076213] ALSA hda_codec.c:1968: Cannot find slave Surround Playback Switch, skipped
[  321.083019] ALSA hda_codec.c:1968: Cannot find slave Center Playback Switch, skipped
[  321.089845] ALSA hda_codec.c:1968: Cannot find slave LFE Playback Switch, skipped
[  321.096564] ALSA hda_codec.c:1968: Cannot find slave Side Playback Switch, skipped
[  321.103900] input: HDA Intel Line In at Ext Rear Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[  321.113685] input: HDA Intel Mic at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[  321.123851] input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
[  321.145576] input: HDA Intel HP Out at Ext Front Jack as /devices/pci0000:00/0000:00:1b.0/sound/card0/input19
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20100510/cfca82e3/attachment-0001.sig 


More information about the Alsa-devel mailing list