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 =20 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 =3D=3D HP_V3000_SUBVENDOR || > =09 sc->pci_subvendor =3D=3D HP_NX7400_SUBVENDOR || > =09 sc->pci_subvendor =3D=3D HP_NX6310_SUBVENDOR || > =09 sc->pci_subvendor =3D=3D DELL_D820_SUBVENDOR) { > =09 =09nid_t hp, cad =3D devinfo->codec->cad; > > =09=09if (sc->pci_subvendor =3D=3D DELL_D820_SUBVENDOR) > =09=09=09hp =3D 13; > =09=09else if (sc->pci_subvendor =3D=3D HP_V3000_SUBVENDOR) > =09=09=09hp =3D 17; > =09=09else > =09=09=09hp =3D 6; > > =09=09hdac_command_sendone_internal(sc, > =09=09 HDA_CMD_SET_UNSOLICITED_RESPONSE(cad, hp, 0x80), cad); > > =09 =09hdac_unsolicited_handler(devinfo->codec); > =09} Argh... there's no way to get this information automatically (from the =20 bios or the soundcard)? Every manufcturer has to provide it's own =20 driver and there can't be a generic one? This is an ugly design then. Bye, Alexander. --=20 If we spoke a different language, we would perceive a somewhat different world. =09=09-- Wittgenstein http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060928133313.imwwvkokro0sgw0o>