LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Yamaha OPL3sa2 sound card with Redhat9 linux 9 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/yamaha-opl3sa2-sound-card-with-redhat9-linux-9-a-182322/)

jamluv 05-17-2004 01:57 AM

Yamaha OPL3sa2 sound card with Redhat9 linux 9
 
I Installed RH9 on my Acer Extensa 500DX Laptop. A lot seems to be working but I have a problem with sound. my sound card is Yamaha OPL3sa2, after compiling and recompiling my kernel i fanally got it working with the original kernel but it worked only once.I run the following modeprobe command:

[root@localhost root]# modprobe opl3sa2 mss_io=0x530 irq=5 dma2=0 mpu_io=0x330 io=0x388

and get this:

/lib/modules/2.4.20-8/kernel/drivers/sound/opl3sa2.o: init_module: Invalid argument
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-8/kernel/drivers/sound/opl3sa2.o: insmod /lib/modules/2.4.20-8/kernel/drivers/sound/opl3sa2.o failed
/lib/modules/2.4.20-8/kernel/drivers/sound/opl3sa2.o: insmod opl3sa2 failed

when i check my messeges log this what it says:

May 15 10:14:18 localhost kernel: ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
May 15 10:14:18 localhost kernel: ad1848: OPL3-SA2 WSS mode detected
May 15 10:14:18 localhost kernel: ad1848: ISAPnP reports 'OPL3-SA2 WSS mode' at i/o 0x530, irq 5, dma 1, 7
May 15 10:14:19 localhost modprobe: modprobe: Can't locate module sound-service-0-0
May 15 10:14:20 localhost last message repeated 2 times
May 15 10:15:00 localhost gdm(pam_unix)[1333]: session closed for user tayavi
May 15 10:15:28 localhost gdm(pam_unix)[1333]: session opened for user root by (uid=0)
May 15 10:15:31 localhost gconfd (root-1536): starting (version 2.2.0), pid 1536 user 'root'
May 15 10:15:31 localhost gconfd (root-1536): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only config source at position 0
May 15 10:15:31 localhost gconfd (root-1536): Resolved address "xml:readwrite:/root/.gconf" to a writable config source at position 1
May 15 10:15:31 localhost gconfd (root-1536): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only config source at position 2
May 15 10:16:36 localhost gconfd (tayavi-1397): GConf server is not in use, shutting down.
May 15 10:16:37 localhost gconfd (tayavi-1397): Exiting
May 15 10:16:52 localhost modprobe: modprobe: Can't locate module sound-service-0-0
May 15 10:16:52 localhost modprobe: modprobe: Can't locate module sound-service-0-0
May 15 10:17:27 localhost kernel: opl3sa2: Found OPL3-SA3 (YMF715E or YMF719E)
May 15 10:17:27 localhost kernel: opl3sa2: Search for a card at 0x904.
May 15 10:17:27 localhost kernel: opl3sa2: io, mss_io, irq, dma, and dma2 must be set

looks like something is working or is it? and Ideas

scottstopyak 05-17-2004 08:16 PM

maybe...
 
Try "irq=auto" instead. Just a thought. Good luck.

scottstopyak 05-17-2004 08:25 PM

oh yeah-this too
 
Also if you insmod the module, the module is only inserted temporarily. When you reboot it goes away. That would explain it working only once. The way I understand it is that you have to add the insmod command line to one of your start up scripts to make it fire up at boot time.

jamluv 05-18-2004 12:56 AM

I fanally got it working. the resources are assigned automatically in the cmos, a simple modprobe command did it all:

Modprobe opl3sa2

thanks anyway


All times are GMT -5. The time now is 07:13 PM.