LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-17-2004, 01:57 AM   #1
jamluv
LQ Newbie
 
Registered: May 2004
Distribution: RH 9
Posts: 19

Rep: Reputation: 0
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
 
Old 05-17-2004, 08:16 PM   #2
scottstopyak
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat 9
Posts: 3

Rep: Reputation: 0
maybe...

Try "irq=auto" instead. Just a thought. Good luck.
 
Old 05-17-2004, 08:25 PM   #3
scottstopyak
LQ Newbie
 
Registered: Jan 2004
Distribution: Redhat 9
Posts: 3

Rep: Reputation: 0
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.
 
Old 05-18-2004, 12:56 AM   #4
jamluv
LQ Newbie
 
Registered: May 2004
Distribution: RH 9
Posts: 19

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

Modprobe opl3sa2

thanks anyway
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yamaha opl3sa2 sound card mgee089 Linux - Hardware 0 06-19-2005 01:21 AM
problem with yamaha opl3sa2 sound card yurry Linux - Hardware 1 01-02-2005 10:08 PM
need help for yamaha opl3 sax sound card in fedora linux 10 keith007 Linux - Hardware 0 12-23-2004 12:59 PM
Yamaha OPL3SA2 sound card problem - mandrake 10 official coolamit78 Linux - Software 1 11-25-2004 12:17 PM
Yamaha PCI sound card on slackware?? deaczkie Linux - Hardware 0 09-13-2003 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration