From owner-freebsd-multimedia@FreeBSD.ORG Sat Jun 9 01:07:39 2007 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56A4F16A41F for ; Sat, 9 Jun 2007 01:07:39 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from smtp-out1.libero.it (smtp-out1.libero.it [212.52.84.41]) by mx1.freebsd.org (Postfix) with ESMTP id DF15413C447 for ; Sat, 9 Jun 2007 01:07:38 +0000 (UTC) (envelope-from barbara.xxx1975@libero.it) Received: from localhost (172.31.0.41) by smtp-out1.libero.it (7.3.120) id 4611FD18048327F0 for freebsd-multimedia@freebsd.org; Sat, 9 Jun 2007 03:07:37 +0200 X-Scanned: with antispam and antivirus automated system at libero.it Received: from smtp-out4.libero.it ([172.31.0.40]) by localhost (asav-out1.libero.it [192.168.32.29]) (amavisd-new, port 10024) with ESMTP id czBHkgIoszMH for ; Sat, 9 Jun 2007 03:07:37 +0200 (CEST) Received: from libero.it (192.168.17.7) by smtp-out4.libero.it (7.3.120) id 4611FEC90216E358 for freebsd-multimedia@freebsd.org; Sat, 9 Jun 2007 03:07:37 +0200 Date: Sat, 9 Jun 2007 03:07:37 +0200 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "barbara" To: "freebsd-multimedia" X-XaM3-API-Version: 4.3 (R1) (B3pl19) X-SenderIP: 82.51.144.225 Subject: identify my hda codec 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: Sat, 09 Jun 2007 01:07:39 -0000 I'm not an hacker so don't laugh at me! :P Please revise this patch to identify the hda codec of my Asus M2V motherb= oard. As I've said in a previous messages at least playback is working. some infos: $ pciconf -lv pcm0@pci128:1:0: class=3D0x040300 card=3D0x81e71043 chip=3D0x32881= 106 rev=3D0x10 hdr=3D0x00 vendor =3D 'VIA Technologies Inc' class =3D multimedia $ dmesg | grep pcm0 pcm0: mem 0xfbffc000-= 0xfbffffff irq 17 at device 1.0 on pci128 pcm0: pcm0: $ uname -v FreeBSD 6.2-STABLE #2: Sat Jun 9 01:51:14 CEST 2007 root@satanasso.l= ocal.domain:/usr/obj/usr/src/sys/SATANASSO Ask if you need more infos/tests. -------------------------------------------------------------------------= ------- --- hdac.c Sun May 13 23:09:24 2007 +++ hdac.c.alc660 Sat Jun 9 02:31:52 2007 @@ -213,6 +213,7 @@ #define ASUS_W6F_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1263) #define ASUS_W2J_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1971) #define ASUS_F3JC_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x1338) +#define ASUS_M2V_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x81e7) #define ASUS_M2N_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x8234) #define ASUS_M2NPVMX_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0x81cb) #define ASUS_ALL_SUBVENDOR HDA_MODEL_CONSTRUCT(ASUS, 0xffff) @@ -481,6 +482,7 @@ #define REALTEK_VENDORID 0x10ec #define HDA_CODEC_ALC260 HDA_CODEC_CONSTRUCT(REALTEK, 0x0260) #define HDA_CODEC_ALC262 HDA_CODEC_CONSTRUCT(REALTEK, 0x0262) +#define HDA_CODEC_ALC660 HDA_CODEC_CONSTRUCT(REALTEK, 0x0660) #define HDA_CODEC_ALC861 HDA_CODEC_CONSTRUCT(REALTEK, 0x0861) #define HDA_CODEC_ALC861VD HDA_CODEC_CONSTRUCT(REALTEK, 0x0862) #define HDA_CODEC_ALC880 HDA_CODEC_CONSTRUCT(REALTEK, 0x0880) @@ -551,6 +553,7 @@ } hdac_codecs[] =3D { { HDA_CODEC_ALC260, "Realtek ALC260" }, { HDA_CODEC_ALC262, "Realtek ALC262" }, + { HDA_CODEC_ALC660, "Realtek ALC660" }, { HDA_CODEC_ALC861, "Realtek ALC861" }, { HDA_CODEC_ALC861VD, "Realtek ALC861-VD" }, { HDA_CODEC_ALC880, "Realtek ALC880" }, -------------------------------------------------------------------------= ------- =0A=0A=0A------------------------------------------------------=0ALeggi G= RATIS le tue mail con il telefonino i-mode=99 di Wind=0Ahttp://i-mode.win= d.it/=0A