snd_hda on Dell Inspirion 1300 and output jacks
Alexander Leidinger
Alexander at Leidinger.net
Thu Sep 28 04:34:01 PDT 2006
Quoting Dennis Melentyev <dennis.melentyev at gmail.com> (from Thu, 28
Sep 2006 10:17:12 +0000):
> Afraid, it's more about the right pin connection on different
> PCs/Notebooks with almost the same chipsets.
> So, for me it looks like chipset support is great, but each particular
> motherboard model/kind has some unpredictable interconnections to be
> hardcoded.
>
> I mean things like theese:
>
> if (sc->pci_subvendor == HP_V3000_SUBVENDOR ||
> sc->pci_subvendor == HP_NX7400_SUBVENDOR ||
> sc->pci_subvendor == HP_NX6310_SUBVENDOR ||
> sc->pci_subvendor == DELL_D820_SUBVENDOR) {
> nid_t hp, cad = devinfo->codec->cad;
>
> if (sc->pci_subvendor == DELL_D820_SUBVENDOR)
> hp = 13;
> else if (sc->pci_subvendor == HP_V3000_SUBVENDOR)
> hp = 17;
> else
> hp = 6;
>
> hdac_command_sendone_internal(sc,
> HDA_CMD_SET_UNSOLICITED_RESPONSE(cad, hp, 0x80), cad);
>
> hdac_unsolicited_handler(devinfo->codec);
> }
Argh... there's no way to get this information automatically (from the
bios or the soundcard)? Every manufcturer has to provide it's own
driver and there can't be a generic one? This is an ugly design then.
Bye,
Alexander.
--
If we spoke a different language, we
would perceive a somewhat different world.
-- Wittgenstein
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-multimedia
mailing list