From owner-freebsd-multimedia@FreeBSD.ORG Sat May 7 04:42:04 2005 Return-Path: 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 121CD16A4D8 for ; Sat, 7 May 2005 04:42:04 +0000 (GMT) Received: from osl1smout1.broadpark.no (80-202-4-58.dd.nextgentel.com [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3D1443D90 for ; Sat, 7 May 2005 04:42:03 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IG0007ETRHWUCD0@osl1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Thu, 05 May 2005 15:44:20 +0200 (CEST) Received: from kg-work.kg4.no ([80.203.21.150]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IG000JWOLTPI5L0@osl1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Thu, 05 May 2005 13:41:50 +0200 (CEST) Date: Thu, 05 May 2005 13:37:57 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq;m"_0v;~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH To: freebsd-multimedia@freebsd.org Message-id: <20050505133757.2adacb8f.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Getting ALC658 sound tpo work on amd64? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 04:42:04 -0000 Hello, I'm trying to get sound work on my amd64 machine. The mainboard is a MS-7093 (aka RS480M2-IL) fra MSI, and according to the specs, it has a Realtek ALC658 audio codec (and "Compliance with AC97 v2.3 Spec."). For the record, I'm running FreeBSD / amd64 from the 5-stable branch: root@kg-quiet# uname -a FreeBSD kg-quiet.kg4.no 5.4-STABLE FreeBSD 5.4-STABLE #2: Tue May 3 22:40:03 CEST 2005 root@kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET amd64 I have the following info about the audio: 'pciconf -lv' says: none2@pci0:20:5: class=0x040100 card=0x00801462 chip=0x43701002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' class = multimedia subclass = audio and 'lspci -v' says: root@kg-quiet# lspci -v -s 00:14.5 00:14.5 Multimedia audio controller: ATI Technologies Inc: Unknown device 4370 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0080 Flags: bus master, 66Mhz, slow devsel, latency 64, IRQ 3 Memory at fe029000 (32-bit, non-prefetchable) Capabilities: [40] Message Signalled Interrupts: 64bit- Queue=0/0 Enable- I have tried 'kldload snd_driver', but 'cat /dev/sndstat' still shows nothing: root@kg-quiet# cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: I then looked at /usr/src/sys/dev/sound/pcm/ac97.c and saw an entry for an ALC658 codec in the ac97codecid table: { 0x414c4780, 0x0f, 0, "ALC658", 0 }, but I don't know anything about ac97 audio and how devices are identified, probed or whatever. According to the ALC658 datasheet from the RealTek web site, the codec is identified by 0x414c4780, so I don't understand what else is needed. If this is a stupid question, please be forgiving: Is there a place in the sound subsystem source where i can enter a "magic identifier" and get this chip recoginzed as a AC97 codec? If not, what else can I do to get this working? -- Regards, Torfinn Ingolfsen, Norway