Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2003 09:40:10 -0700 (PDT)
From:      jimd@siu.edu
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/52428: pcm0 reported twice: onboard AC97%
Message-ID:  <200305191640.h4JGe9Av053883@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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: <CMedia CMI8738> port 0xdc00-0xdcff irq 11 at device 7.0 on pci2
 pcm1: <Intel 82801BA (ICH2)> port 0xcc40-0xcc7f,0xc800-0xc8ff irq 10 at device 31.5 on pci0
 pcm1: <Analog Devices AD1885 ac97 codec>
 pcm1: measured ac97 link rate at 55922 Hz
 
 
 cat /dev/sndstat
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0: <CMedia CMI8738> at io 0xdc00 irq 11 (1p/1r/0v channels duplex)
 pcm1: <Intel 82801BA (ICH2)> 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?
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305191640.h4JGe9Av053883>