From owner-freebsd-i386@FreeBSD.ORG Mon May 19 09:40:11 2003 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1175337B401 for ; Mon, 19 May 2003 09:40:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 948AC43FAF for ; Mon, 19 May 2003 09:40:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4JGeAUp053884 for ; Mon, 19 May 2003 09:40:10 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4JGe9Av053883; Mon, 19 May 2003 09:40:10 -0700 (PDT) Date: Mon, 19 May 2003 09:40:10 -0700 (PDT) Message-Id: <200305191640.h4JGe9Av053883@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: jimd@siu.edu Subject: Re: i386/52428: pcm0 reported twice: onboard AC97% X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jimd@siu.edu List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 16:40:11 -0000 The following reply was made to PR i386/52428; it has been noted by GNATS. From: jimd@siu.edu To: Martin.Kaeske@Stud.TU-Ilmenau.DE Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: i386/52428: pcm0 reported twice: onboard AC97% Date: Mon, 19 May 2003 11:44:16 -0500 (CDT) Thank you for the update. On a Dell GX240 FreeBSD-4.8-RELEASE system, I see two pcm devices: grep pcm /var/run/dmesg.boot pcm0: port 0xdc00-0xdcff irq 11 at device 7.0 on pci2 pcm1: port 0xcc40-0xcc7f,0xc800-0xc8ff irq 10 at device 31.5 on pci0 pcm1: pcm1: measured ac97 link rate at 55922 Hz cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xdc00 irq 11 (1p/1r/0v channels duplex) pcm1: at io 0xc800, 0xcc40 irq 10 bufsz 16384 (1p/1r/0v channels duplex) When I start Gnome2 "Volume Control" on said Dell GX240, I see two Cards, and the controls do indeed affect the two different sound devices seperately. In my situation as reported, I see only one pcm device, and only one "Volume Control" card. I had assumed that this was because of a lack of some support for the onboard AC97. In the Dell-GX240 kernel, I added: #PCI sound card support device pcm # for PnP cards #options PNPBIOS # enable PnP BIOS searching If I remember correctly, you are correct that cat /dev/sndstat currently only returns one device. I will try kldload-ing "snd_ich.ko" tonight and see what that does. Is there a MANual page or HANDBOOK entry for "snd_ich". I couldn't find one (I did read the MANual page for "snd"). Thank you. On 19 May, Martin.Kaeske@Stud.TU-Ilmenau.DE wrote: > Hello, > It's normal that there are two lines containing "pcm0", one is the > controller "EMU10K1" the other one is the AC97Codec "SigmaTel...". > Both refer to your SB-Live. AFAICS snd_ich.ko is responsible for your > onboard sound, maybe you want to "kldload snd_ich.ko" to see if this > actually works. > Nevertheless those two lines are not a bug, do "cat /dev/sndstat" to > verify that there is only one soundcard connected to pcm0. > > Can we close this PR?