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

YAMAHA-OPL3SA3 (using ALSA)



Hi !

I've been trying to run this soundcard since I first installed Debian
GNU/Linux. I don't know which drivers to use ? Alsa ? These from kernel
(2.0.36) ? Will these from kernel work ? (I don't use 2.2.x and 'll not
use it untill Potato goes stable). I thought that this won't work on
kernel drivers so I tried Alsa and it was like this :

I downloaded :

ii  alsa-modules    0.2.0-pre8-3
ii  alsa-source     0.2.0-pre8-3
ii  alsalib         0.1.1-1
ii  alsalib-dev     0.1.1-1
ii  alsautils       0.0.6-2

did: make-kpkg --revision 1.0 modules_image, and installed *.deb it made

and run alsaconfig, update-modules and rebooted

So i tried to turn it on by typing:

modprobe snd.o
modprobe snd-opl3sa.o snd_port=0x220 snd_wss_port=0x530
snd_midi_port=0x330 snd_fm_port=0x388 snd_irq=5 snd_dma1=0
snd_dma1_size=16 snd_dma2=1 snd_dma2_size=16

and I got :

snd: Yamaha OPL3-SA soundcard #1 not found at 0x220 or device busy
snd: Yamaha OPL3-SA soundcard not found or device busy
/lib/modules/2.0.36/misc/snd-opl3sa.o: init_module: Device or resource
busy
snd: Device or resource busy

So I thoght that I must use isapnp.
I configured isapnp.conf and when I run isapnp I got

lspci not found, so PCI resource conflict not checked
Board 1 has Identity cb 80 86 00 01 30 00 a8 65:  YMH0030 Serial No
2156265473 [checksum cb]
YMH0030/2156265473[0]{OPL3-SA3 Snd System }: Ports 0x220 0x530 0x388 0x330
0x370; IRQ5 DMA0 DMA1 --- Enabled OK
YMH0030/2156265473[1]{OPL3-SA3 Snd System }: --- Enabled OK

and there was nothing ... the same when running modprobe snd[...] :

snd: Yamaha OPL3-SA soundcard #1 not found at 0x220 or device busy
snd: Yamaha OPL3-SA soundcard not found or device busy
/lib/modules/2.0.36/misc/snd-opl3sa.o: init_module: Device or resource
busy
snd: Device or resource busy

******************************

... so what did I do wrong ? Maybe I should use drivers from kernel ?
What can be wrong ?

P.S. I tried to run commercial OSS and it worked, but it only run for 20
minutes :( It did everything automaticlly and it worked. (I didn't even
use isapnp)

I'm attaching /etc/isapnp.conf just in case ...

--
Piotr Domagalski <pdomagal@kk.kalisz.pl>
Linux is like a wigwam - no Windows, no Gates, Apache inside.




# Trying port address 0203
# Board 1 has serial identifier cb 80 86 00 01 30 00 a8 65

# (DEBUG)
(READPORT 0x0203)
(ISOLATE PRESERVE)
(IDENTIFY *)
(VERBOSITY 2)
(CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING

# Card 1: (serial identifier cb 80 86 00 01 30 00 a8 65)
# Vendor Id YMH0030, Serial Number 2156265473, checksum 0xCB.
# Version 1.0, Vendor version 0.0
# ANSI string -->OPL3-SA3 Snd System<--
#
# Logical device id YMH0021
#

(CONFIGURE YMH0030/2156265473 (LD 0

 (IO 0 (SIZE 16) (BASE 0x0220))
 (IO 1 (SIZE 8) (BASE 0x0530))
 (IO 2 (SIZE 8) (BASE 0x0388))
 (IO 3 (SIZE 2) (BASE 0x0330))
 (IO 4 (SIZE 2) (BASE 0x0370))
 (INT 0 (IRQ 5 (MODE +E)))
 (DMA 0 (CHANNEL 0))
 (DMA 1 (CHANNEL 1))

#       Start dependent functions: priority acceptable
# (IO 0 (SIZE 16) (BASE 0x0240))
# (IO 1 (SIZE 8) (BASE 0x0e80))
# (IO 2 (SIZE 8) (BASE 0x0388))
# (IO 3 (SIZE 2) (BASE 0x0300))
# (IO 4 (SIZE 2) (BASE 0x0100))
# (INT 0 (IRQ 5 (MODE +E)))
# (DMA 0 (CHANNEL 0))
# (DMA 1 (CHANNEL 0))

#       Start dependent functions: priority functional
# (IO 0 (SIZE 16) (BASE 0x0220))
# (IO 1 (SIZE 8) (BASE 0x0530))
# (IO 2 (SIZE 8) (BASE 0x0388))
# (IO 3 (SIZE 2) (BASE 0x0300))
# (IO 4 (SIZE 2) (BASE 0x0100))
# (INT 0 (IRQ 5 (MODE +E)))
# (DMA 0 (CHANNEL 0))
# (DMA 1 (CHANNEL 3))
 (NAME "YMH0030/2156265473[0]{OPL3-SA3 Snd System }")

(ACT Y)
))

#
# Logical device id YMH0022

(CONFIGURE YMH0030/2156265473 (LD 1
#     Compatible device id PNPb02f

#     Start dependent functions: priority preferred
# (IO 0 (SIZE 1) (BASE 0x0201))

#       Start dependent functions: priority acceptable
# (IO 0 (SIZE 1) (BASE 0x0201))
 (NAME "YMH0030/2156265473[1]{OPL3-SA3 Snd System }")

(ACT Y)
))

# End tag... Checksum 0x00 (OK)

# Returns all cards to the "Wait for Key" state
(WAITFORKEY)

Reply to: