Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 17:03:43 -0700 (PDT)
From:      Jonathan McEllroy <mcellroy@yahoo.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ES1371 pcm produces no sound in 4.0-RELEASE
Message-ID:  <20010424000343.36730.qmail@web11704.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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: <AudioPCI ES1371> 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: <AudioPCI ES1371> 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




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