Subject: eap driver and SoundBlaster PCI128
To: None <port-i386@netbsd.org>
From: Mathew Richardson <mrr@merit.edu>
List: port-i386
Date: 03/13/2000 04:41:10
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii

Well, despite the recent commits to make the eap driver work with
SoundBlaster PCI128, it's still not working for me.  It appears
to be recognized and configured by the kernel:

<snip>
eap0 at pci0 dev 20 function 0: Ensoniq AudioPCI 97 (rev. 0x08)
eap0: interrupting at irq 9
eap0: CRY19 codec; headphone, 20 bit DAC, 18 bit ADC, Spatializer 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
<snip>

But I don't get any sound with either audioplay or mpg123...  I
noticed that one of the two most recent patches to eap.c specifically
didn't change the way things occurred with rev 8 ... I forced the use
of the changes despite that, and that didn't work.

I also tried increasing the delay back to 100 in eap1371_reset_codec,
but that didn't work.

I'm going to attach the output of audioctl -a and mixerctl -a to the
end of this, just in case things aren't set up correctly.  I'll also
include my complete dmesg.

The outputs that I am including are the defaults.  I have tried, at
various times, changing all of the mutes to off.

Any help is appreciated.

mrr

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="audioctl.out"

name=Ensoniq AudioPCI
version=
config=eap
encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16*
properties=full_duplex,mmap,independent
full_duplex=0
fullduplex=0
blocksize=8800
hiwat=7
lowat=1
monitor_gain=0
mode=
play.rate=44100
play.channels=2
play.precision=16
play.encoding=slinear_le
play.gain=127
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=8800
play.samples=6050720
play.eof=0
play.pause=0
play.error=1
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

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="mixerctl.out"

outputs.master=255,255
outputs.master.mute=off
outputs.mono=255
outputs.mono.mute=on
outputs.mono.source=mixerout
outputs.headphones=255,255
outputs.headphones.mute=on
outputs.tone=255,255
inputs.speaker=255
inputs.speaker.mute=off
inputs.phone=191
inputs.phone.mute=on
inputs.mic=191
inputs.mic.mute=on
inputs.mic.preamp=off
inputs.mic.source=mic0
inputs.line=191,191
inputs.line.mute=on
inputs.cd=191,191
inputs.cd.mute=on
inputs.video=191,191
inputs.video.mute=on
inputs.aux=191,191
inputs.aux.mute=on
inputs.dac=191,191
inputs.dac.mute=off
record.source=mic
record.volume=255,255
record.volume.mute=off
record.mic=0
record.mic.mute=off
outputs.loudness=off
outputs.spatial=off
outputs.spatial.center=0
outputs.spatial.depth=0

--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.out"

NetBSD 1.4U (THOR) #10: Mon Mar 13 01:01:44 EST 2000
    mrr@nic-cl11-014.mw.mediaone.net:/usr/src/sys/arch/i386/compile/THOR
cpu0: family 6 model 2 step 1
cpu0: AMD K7 (Athlon) (686-class)
total memory = 255 MB
avail memory = 234 MB
using 3296 buffers containing 13184 KB of memory
BIOS32 rev. 0 found at 0xfdab0
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Advanced Micro Devices AMD751 System Controller (rev. 0x25)
ppb0 at pci0 dev 1 function 0: Advanced Micro Devices AMD751 PCI-to-PCI Bridge (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 5 function 0: Nvidia Corporation product 0x0028 (rev. 0x11)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
wsdisplay0: screen 1-4 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0
pcib0: Advanced Micro Devices AMD756 PCI-to-ISA Bridge (rev. 0x01)
pciide0 at pci0 dev 7 function 1: Advanced Micro Devices AMD756 IDE Controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DPTA-372730>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 26105 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 53464320 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <CRD-8400B, 1999/04/27, 1.04> type 5 cdrom removable
cd0: 32-bits data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
Advanced Micro Devices AMD756 Power Management Controller (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
ohci0 at pci0 dev 7 function 4: Advanced Micro Devices AMD756 USB Host Controller (rev. 0x06)
ohci0: interrupting at irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Advanced Micro  OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 0 ports with 0 removable, self powered
Conexant Systems product 0x1036 (miscellaneous communications, revision 0x08) at pci0 dev 18 function 0 not configured
ex0 at pci0 dev 19 function 0: 3Com 3c905C-TX 10/100 Ethernet with mngmt (rev. 0x78)
ex0: interrupting at irq 5
ex0: MAC address 00:01:02:28:19:3e
OUI 0x001018 model 0x0017 rev 7 at ex0 phy 24 not configured
ex0: supplying EUI64: 00:01:02:ff:fe:28:19:3e
eap0 at pci0 dev 20 function 0: Ensoniq AudioPCI 97 (rev. 0x08)
eap0: interrupting at irq 9
eap0: CRY19 codec; headphone, 20 bit DAC, 18 bit ADC, Spatializer 3D
audio0 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pmsi0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pmsi0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
biomask ed4d netmask ed6d ttymask fdef
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
ex0: starting DAD for fe80:0001::0201:02ff:fe28:193e
ex0: DAD complete for fe80:0001::0201:02ff:fe28:193e - no duplicates found

--3MwIy2ne0vdjdPXF--