Date: Thu, 28 Sep 2006 13:33:13 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Dennis Melentyev <dennis.melentyev@gmail.com> Cc: freebsd-multimedia@freebsd.org, Ariff Abdullah <ariff@freebsd.org> Subject: Re: snd_hda on Dell Inspirion 1300 and output jacks Message-ID: <20060928133313.imwwvkokro0sgw0o@webmail.leidinger.net> In-Reply-To: <b84edfa10609280317o474dbc62qc4a1204e1e53a30f@mail.gmail.com> References: <b84edfa10609271142p6a72f58fo67701b00b0f81ecd@mail.gmail.com> <20060928025025.2cb5ccc9.ariff@FreeBSD.org> <b84edfa10609272320p2dc768bep9b8c22821aeac4a7@mail.gmail.com> <20060928145528.0c14f75e.ariff@FreeBSD.org> <b84edfa10609272359q7bbb05beof241b05e6cc93052@mail.gmail.com> <20060928150638.6b557435.ariff@FreeBSD.org> <b84edfa10609280123k32045d2cs86e1aa44bfb56ed8@mail.gmail.com> <20060928114200.1xatzbsc8w0cgkww@webmail.leidinger.net> <b84edfa10609280317o474dbc62qc4a1204e1e53a30f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Dennis Melentyev <dennis.melentyev@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060928133313.imwwvkokro0sgw0o>
