Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 1999 00:20:42 +0300 (EET DST)
From:      Vladimir Kushnir <kushnir@ap3.bitp.kiev.ua>
To:        freebsd-current@FreeBSD.ORG
Subject:   Yamaha OPL-SA2 & newpcm: recognized but no sound
Message-ID:  <Pine.LNX.3.95.990911001734.12688A-100000@ap3.bitp.kiev.ua>

next in thread | raw e-mail | index | archive | help
Hi,
Since a newpcm/new PnP code commitment I'm desperately trying to get sound
out of my soundcard (Yamaha Sound Origins, OPL3-SA2 ISA pnp card). It is
recognized (see dmesg output below), seems to get right resources - but no
sound at all. It used to work under VoxWare as css device & friends, but
does not want to anymore either :-( 

Here are my outputs (for snd0, surely):
lines in kernel config:

controller pnp0
device pcm0

dmesg (from boot -v):

FreeBSD 4.0-CURRENT #1: Fri Sep 10 09:37:39 EEST 1999
    root@kushnir.kiev.ua:/usr/src/sys/compile/KUSHNIR
<snip>
pcm0: <Yamaha SA2> at port 0x220-0x22f,0x530-0x537,0x388-0x38b,0x330-0x331,0x370-0x371 irq 5 drq 0,1 on isa0
Yamaha: ver 0x21 DMA config 0x81
pcm: setmap 30000, ff00; 0xc3f40000 -> 30000
pcm: setmap 40000, ff00; 0xc3f50000 -> 40000
unknown0: <OPL3-SA2 Sound Board> at port 0x201 on isa0
unknown1: <OPL3-SA2 Sound Board> at port 0x100-0x107 on isa0
unknown2: <OPL3-SA2 Sound Board> at port 0x1e0-0x1e7,0x3e6 irq 11 on isa0
<snip>
  
cat /dev/sndstat:
FreeBSD Audio Driver (newpcm) Sep 10 1999 09:33:22
Installed devices:
pcm0: <Yamaha SA2> at io 0x530 irq 5 drq 0:1 (1/1 channels duplex)

Everything seems to be all right. Except there's no sound at all.

Old output:
config:

controller     snd0
device css0    at isa? port 0x534 irq 5 drq 1 flags 0x13
device opl0     at isa? port 0x388
device mpu0     at isa? port 0x330 irq 6 drq 0

dmesg (up till the ond of Aug):

config> pnp 1 0 os enable irq0 5 drq0 1 drq1 3
config> pnp 1 0 port0 0x220 port1 0x530 port2 0x388 port3 0x330 port4 0x370
config> pnp 1 1 os enable port0 0x201
config> pnp 1 2 os enable port0 0x800
config> pnp 1 3 os enable irq0 10 port0 0x1e0 port1 0x3e6
config> irq mpu0 -1
config> drq mpu0 -1
config> quit

Probing for PnP devices:
CSN 1 Vendor ID: YMH0020 [0x2000a865] Serial 0xffffffff Comp ID: PNPb02f [0x2fb0d041]

css0 at port 0x534 irq 5 drq 1 flags 0x13 on isa0
snd0: <CS4232 (CS4231)> 
opl0 at port 0x388 on isa0
snd0: <Yamaha OPL3 FM> 
WARNING: "snd" is usurping "snd"'s cdevsw[]
mpu0 at port 0x330 on isa0
snd0: <MPU-401 0.0  Midi interface> 
WARNING: "snd" is usurping "snd"'s cdevsw[]

/dev/sndstat:

VoxWare Sound Driver:3.5-alpha15-970902 (Wed Aug  6 22:58:35 PDT 1997 Amancio Hasty@rah.star-gate.com)
Config options: 

Installed drivers: 
Type 21: CS4232
Type 22: CS4232 MIDI
Type 1: OPL-2/OPL-3 FM
Type 5: Roland MPU-401


Card config: 
CS4232 at 0x534 irq 5 drq 1,3
OPL-2/OPL-3 FM at 0x388 irq 1
Roland MPU-401 at 0x330 irq 1

Audio devices:
0: CS4232 (CS4231) (DUPLEX)

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: MPU-401 0.0  Midi interface

Timers:
0: System clock
1: CS4232 (CS4231)

Mixers:
0: AD1848/CS4248/CS4231/CS4236

What can I do in order to reenable my soundcard?
Any help is appreciated!

Regards,
Vladimir

===========================|=======================
 Vladimir Kushnir   	   |	
 kushn@mail.kar.net, 	   |	Powered by FreeBSD
 kushnir@ap3.bitp.kiev.ua  |






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.990911001734.12688A-100000>