Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed RH 9.0 recently. The sound card is not detected. But while booting for the first time it had detected. How to configure the sound card now?
I tried sndconfig... it said that a ISAPNP sound card was found and the details are: Model: OPL3-SA3 Snd System:Unknown. Then it displayed the card settings to match the dip swtich settings in the sound card. I/O port, IRQ, DMA 1 and DMA2. I tried various combinations... the sound card test is saying that "unable to play audio"-An error occured opening /dev/audio and then again it goes to the setting which is in loop. how to solve it? please help.
To get your sound card working, log in as root and give the following command:
modprobe opl3sa2
This command places the module for yamaha opl3 sa2 in memory.
Now give the command:
sndconfig
If you dont remember the DMA and IRQ settings, reboot into Windows 98/2000/XP....if you have a dual boot and check out the settings from there. You can locate the settings like this:
Start->Settings->Control Panel->System->Sound, Audio and Game Controllers
Then right click the Yamaha OPL3 SA3 soundboard and check "Properties".
These settings are also displayed at boot time of Windows.
If you dont know the settings, try and use my settings
Use DMA as 1, 0
IRQ as 5
and leave the rest as it is....
And yes, keep the volume of ur speakers high and use a console audio mixer program to set values of bass, treble and other settings to 100%....Check and unmute all the options otherwise u may not hear the test sound.
Note however that this setting will disappear after you reboot your machine. To keep the settings permanent, you have to get the sound module loaded at the time of system startup.
To do that, create a shell script....name it anything...lets say
load_sound.sh
put this line in it:
modprobe opl3sa2
and save it in the /usr/local/bin directory.
Now open the file
/etc/rc.d/rc.local
This is how it looks like:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# Your custom script is executed next
/usr/local/bin/load_sound.sh
Now, every time your system boots, the sound module will be loaded automatically.
Thanks a lot for ur help! The audio is working fine and i tried writing the shell script as u mentioned. when i restarted to check, it's not detecting the device again While booting i saw "Loading sound module ad1848" what should i do?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.