From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 28 11:34:01 2006 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15E7D16A47C; Thu, 28 Sep 2006 11:34:01 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4409443D6A; Thu, 28 Sep 2006 11:33:51 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D3A9.dip.t-dialin.net [84.165.211.169]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8SB8mhi080081; Thu, 28 Sep 2006 13:08:49 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8SBXjqO031798; Thu, 28 Sep 2006 13:33:45 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 28 Sep 2006 13:33:13 +0200 Message-ID: <20060928133313.imwwvkokro0sgw0o@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 28 Sep 2006 13:33:13 +0200 From: Alexander Leidinger To: Dennis Melentyev References: <20060928025025.2cb5ccc9.ariff@FreeBSD.org> <20060928145528.0c14f75e.ariff@FreeBSD.org> <20060928150638.6b557435.ariff@FreeBSD.org> <20060928114200.1xatzbsc8w0cgkww@webmail.leidinger.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: freebsd-multimedia@freebsd.org, Ariff Abdullah Subject: Re: snd_hda on Dell Inspirion 1300 and output jacks X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 11:34:01 -0000 Quoting Dennis Melentyev (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