From owner-freebsd-questions Mon Apr 23 17: 3:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web11704.mail.yahoo.com (web11704.mail.yahoo.com [216.136.172.70]) by hub.freebsd.org (Postfix) with SMTP id 2EB0D37B43C for ; Mon, 23 Apr 2001 17:03:44 -0700 (PDT) (envelope-from mcellroy@yahoo.com) Message-ID: <20010424000343.36730.qmail@web11704.mail.yahoo.com> Received: from [24.30.159.19] by web11704.mail.yahoo.com; Mon, 23 Apr 2001 17:03:43 PDT Date: Mon, 23 Apr 2001 17:03:43 -0700 (PDT) From: Jonathan McEllroy Subject: ES1371 pcm produces no sound in 4.0-RELEASE To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have had some trouble getting sound to work on 4.0-RELEASE. Here is my whole story. I spent many hours reading the mail groups and t ried many things. I have a FICA VA-503+ board with an AMD K6-2 300 MHz with 64 MB RAM . I have a Creative CT4810 (a.k.a ES1371) PCI and have "PNP OS" tur ned off in the BIOS. Here is the important part of my kernel config file: # Creative Labs Sound Blaster 16 device pcm oanorth:mcellroy> uname -a FreeBSD oanorth 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Sun Apr 22 21:2 3:08 PDT 2001 mcellroy@oanorth:/usr/src/sys/compile/KERNEL_4.0_ 22_APR_2001 i386 I edited /usr/src/sys/dev/sound/pci/es137x.c to include the code fo r the 1371. I know 4.2 includes the code, but I could not get 4.2 t o build. oanorth:mcellroy> grep ES1371_PCI_ID3 es137x.c #define ES1371_PCI_ID3 0x58801274 pci_get_devid(dev) == ES1371_PCI_ID3) { pci_get_devid(dev) == ES1371_PCI_ID3) { After rebuilding the 4.0 kernel: oanorth:mcellroy> dmesg | grep pcm pcm0: port 0xe800-0xe83f irq 10 at device 8.0 on pci0 pcm0: ac97 codec reports dac not ready After 'runas ./MAKEDEV snd0': oanorth:mcellroy> cat /dev/sndstat FreeBSD Audio Driver (newpcm) Apr 22 2001 21:21:28 Installed devices: pcm0: at io 0xe800 irq 10 (1p/1r channels duplex) oanorth:mcellroy> mixer pcm 100 vol 100 Setting the mixer pcm to 100:100. Setting the mixer vol to 100:100. Then I try to cat a file to the device: oanorth:mcellroy> ll /dev/dsp0 crw-rw-rw- 1 root wheel 30, 3 Apr 22 21:34 /dev/dsp0 oanorth:mcellroy> cat beaming.au > /dev/dsp0 And it pauses as if it is playing but no sound comes from the Creative Labs unamplified speakers. I'm sort of at a loss here as to what to do next. The sound card works in Win98 with no problems, but I really want to get it working in FreeBSD. Thanks, Jon McEllroy __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message