[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange soundcard problem



I'm running a Creative Soundblaster 128 PCI card with a recent -current 
installation and get the following odd behaviour that hasn't yet 
yielded to a good google-ing: 

I installed OpenBSD and got perfect sound support right away. I then 
needed to temporarily install a floppy drive and on rebooting sound was 
distorted and playing at a very slow rate. When I removed the floppy 
drive and rebooted sound played at the correct speed but was still 
distorted (as if the levels were too high and it was clipping).

I was only able to get clean sound back by quickly booting a different 
OS (FreeBSD) before rebooting OpenBSD.

Once I got back to good sound I dumped the output from dmesg, audioctl 
-a and mixerctl -a, and then did the same again after getting back to 
sound playing at the correct rate but clipped. The dumps were all 
identical apart from a difference in play.samples from audioctl, but I 
guess that's OK.

The impression I get is that the card has got one of its levels knocked 
up too high,  but going through the entries in mixerctl and messing 
with them by hand has so far had no effect on the distortion.

I've tried the same thing on an old box with a vanilla 3.0 install and 
that seems to misbehave similarly.

Any suggestions about what I might try next?

Thanks in adavance

Brian

---------------------------------------------------------------------

OpenBSD 3.1-current (GENERIC) #0: Tue Jun 11 20:06:57 BST 2002
    brian_(_at_)_ren:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon Model 4 (Thunderbird) ("AuthenticAMD" 686-class) 1 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 267956224 (261676K)
avail mem = 242679808 (236992K)
using 2844 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(6a) BIOS, date 08/24/01, BIOS32 rev. 0 @ 
0xfb4b0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xdf94
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfdee0/176 (9 entries)
pcibios0: PCI Exclusive IRQs: 10 11
pcibios0: PCI Interrupt Router at 000:07:0 ("VIA VT82C596A PCI-ISA" rev 
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xbc00
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8363 Host" rev 0x03
ppb0 at pci0 dev 1 function 0 "VIA VT8363 PCI-AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia GeForce2 MX" rev 0xa1
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 7 function 0 "VIA VT82C686 PCI-ISA" rev 0x40
pciide0 at pci0 dev 7 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, 
channel 0 configured to compatibility, channel 1 configured to 
compatibility
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct20 20>
wd0: 8-sector PIO, LBA, 19470MB, 16383 cyl, 16 head, 63 sec, 39876480 
sectors
wd1 at pciide0 channel 0 drive 1: <FUJITSU MPD3084AT>
wd1: 16-sector PIO, LBA, 8063MB, 16383 cyl, 16 head, 63 sec, 16514064 
sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <RICOH, DVD/CDRW MP9120, 1.30> SCSI0 
5/cdrom removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <LG, CD-ROM CRD-8522B, 1.01> SCSI0 5/cdrom 
removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
cd1(pciide0:1:1): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 7 function 2 "VIA VT83C572 USB" rev 0x16: irq 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 7 function 3 "VIA VT83C572 USB" rev 0x16: irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
"VIA VT82C686 SMBus" rev 0x40 at pci0 dev 7 function 4 not configured
eap0 at pci0 dev 11 function 0 "Ensoniq CT5880" rev 0x02: irq 10
ac97: codec id 0x54524123 (TriTech Microelectronics TR28602)
audio0 at eap0
rl0 at pci0 dev 17 function 0 "Realtek 8139" rev 0x10: irq 11 address 
00:10:a7:05:b3:0b
rlphy0 at rl0 phy 0: RTL internal phy
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
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
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt1 at isa0 port 0x278/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
biomask c400 netmask cc00 ttymask dc02
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matched BIOS disk 80
wd1c:  aborted command, interface CRC error reading fsbn 0 (wd1 bn 63; 
cn 0 tn 1 sn 0), retrying
wd1: soft error (corrected)
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
uhub2 at uhub0 port 1
uhub2: Texas Instruments General Purpose USB Hub, class 9/0, rev 
1.10/1.01, addr 2
uhub2: 2 ports with 0 removable, self powered
ulpt0 at uhub2 port 1 configuration 1 interface 0
ulpt0: EPSON USB Printer, rev 1.10/1.00, addr 3, iclass 7/1
ulpt0: using bi-directional mode
ugen0 at uhub2 port 2
ugen0: EPSON SP 895 Storage, rev 1.10/1.10, addr 4
uhub3 at uhub0 port 2
uhub3: Iiyama Hub, class 9/0, rev 1.10/1.10, addr 5
uhub3: 4 ports with 4 removable, self powered
lpt1: offline

---------------------------------------------------------------------
mixerctl -a:

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=off
outputs.bass=255
outputs.treble=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
outputs.surround=255,255
outputs.surround.mute=off
outputs.center=255
outputs.center.mute=off
outputs.lfe=255
outputs.lfe.mute=off

---------------------------------------------------------------------
audioctl -a:

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=4096
hiwat=10
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=4096
play.samples=3833856
play.eof=0
play.pause=0
play.error=1
play.waiting=0
play.open=0
play.active=0
play.buffer_size=65536
record.rate=44100
record.channels=2
record.precision=16
record.encoding=slinear_le
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