Subject: eap driver and sb 128 pci
To: None <port-i386@netbsd.org>
From: Audun Arnesen Nordal <audun@stud.cs.uit.no>
List: port-i386
Date: 07/25/2001 10:01:17
I just don't have any luck with sound on my NetBSD 386 boxes *sigh*. I
couldn't get sound working on the integrated Intel 82801AA AC-97 that came
with one box because the driver is only partly working and the chip is
kinda stupid from what I understood. So I bought a SB 128 PCI which seems
to attach nicely, but there's just no way I can get it to play.

Excerpt from dmesg:
NetBSD 1.5W (dell.current) #6: Tue Jul 24 19:12:46 CEST 2001
 root@audun.tromso.fast.no:/usr/current/sys/arch/i386/compile/dell.current
[...]
eap0 at pci2 dev 10 function 0: vendor 0x1274 product 0x5880 CT5880C (rev.
0x02)
eap0: interrupting at irq 11
eap0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, Rockwell 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART

BTW, the card seems to share an interrupt with a usb host controller if
that matters:
uhci0 at pci0 dev 31 function 2: vendor 0x8086 product 0x2412 (rev. 0x02)
uhci0: interrupting at irq 11


Now, audioctl -a gives
name=Ensoniq AudioPCI
version=
config=eap
encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,sli
near_be:16*,ulinear_be:16*
properties=full_duplex,mmap,independent
full_duplex=0
fullduplex=0
blocksize=4384
hiwat=14
lowat=10
monitor_gain=0
mode=
play.rate=8000
play.channels=1
play.precision=8
play.encoding=mulaw
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=191
record.balance=32
record.port=0x1
record.avail_ports=0x7
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0

mixerctl -a gives
mixerctl: /dev/mixer: Operation not supported by device

audioplay <something> gives
audioplay: failed to open /dev/audio: Operation not supported by device

All help appreciated.

Best regards


-- 
Audun Nordal