[alsa-devel] spdif/iec958 outputs at VT1708S not recognized
Takashi Iwai
tiwai at suse.de
Wed Apr 29 17:07:16 CEST 2009
At Wed, 29 Apr 2009 14:25:28 +0200,
Peter Niemayer wrote:
>
> Hi,
>
> I recently installed an Asus M4N78 mainboard, that uses a
> nVidia GeForce 8300 chipset and a VT1708S soundchip.
>
> Alas, the code in pci/hda/patch_via.c did not recognize
> the 3 existing iec958/spdif outputs, and presented only
> the analog devices.
Could you run alsa-info.sh with --no-upload option, and attach the
generated file?
> I had to short circuit the pin definition
> in vt1708S_parse_auto_config() to get the digital outputs
> to work:
>
> spec->multiout.max_channels = spec->multiout.num_dacs * 2;
>
> - if (spec->autocfg.dig_out_pin)
> + // test fails for Asus M4N78 if (spec->autocfg.dig_out_pin)
> spec->multiout.dig_out_nid = VT1708S_DIGOUT_NID;
>
> spec->extra_dig_out_nid = 0x15;
>
> The digital sound output works just fine for me with this change,
> but I guess there should be a cleaner way to make this work?
Fix your BIOS :)
Or, having a static quirk table in the driver would be another and
more reasonable option. Usually we check PCI SSID to identify the
model.
BTW, the pin configuration can be overridden via hwdep sysfs files
in the latest version, too. Check Documentation/sound/alsa/HD-Audio.txt.
thanks,
Takashi
More information about the Alsa-devel
mailing list