Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
05-28-2003, 04:21 PM
|
#1
|
Member
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123
Rep:
|
More ALSA probs
well, I've managed to download and compile my ALSA drivers and stuff, everything went just fine, I did it all by the book...
but when I ran the:
modprobe snd-opl3sa2;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
it gave me a bunch of error messages:
/lib/modules/2.4.20-8/kernel/sound/isa/snd-opl3sa2.o: init_module: No such device
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/sound/isa/snd-opl3sa2.o: insmod /lib/modules/2.4.20-8/kernel/sound/isa/snd-opl3sa2.o: failed
/lib/modules/2.4.20-8/kernel/sound/isa/snd-opl3sa2.o: insmod snd-opl3sa2 failed
how do I fix this?
|
|
|
05-28-2003, 05:38 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
did you remember to modprobe soundcore before all the other ones?
|
|
|
05-29-2003, 02:45 AM
|
#3
|
Member
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307
Rep:
|
I've had this, and usually its because your soundcard has allready been loaded (usually with the wrong driver, hence irq conflict message).
Check modules.conf and rc.local incase you have a conflicting driver in there. Once i removed that, everything modprobed perfectly. That was on both slack 9 and redhat 8 and 9.
Hope that helps.
|
|
|
05-29-2003, 08:12 AM
|
#4
|
Member
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123
Original Poster
Rep:
|
jpbarto: yes, I did, and it outputted that it worked.. don't remember the exact version numers and stuff now, but I did..
Evilone: You may be right, but how do I know which drivers are the right ones and which ones are wrong?
Should I delete EVERYTHING in those files or what?
A few days ago, I did tamper with modules.conf, but now as I had problems with installing ALSA, I changed it back to the way it was before I changed it...
But what to do?
|
|
|
05-29-2003, 08:24 AM
|
#5
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
to see what modules are running type 'lsmod'. this will list all modules in your kernel. See any that look like sound drivers? All the presently installed sound drivers will / should reside in /lib/modules/<kernel-version>/kernel/drivers/sound
Evilone: good call about drivers already being loaded.
ziggamon: if lsmod proves unfruitful the drivers may be compiled into the kernel. However I'm not a Redhat guy so I'm not sure what is common practice for their kernels (do they go for lots of modules out the box or for a really-huge-support-everything kernel?)
|
|
|
05-30-2003, 06:21 AM
|
#6
|
Member
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123
Original Poster
Rep:
|
yes, actually, when I ran lsmod I found many sound-related modules:
adlib_card 1252 0 (unused)
opl3 14784 0 [adlib_card]
sound 74228 0 [adlib_card opl3]
soundcore 6404 2 [sound]
what do I do with them now?
|
|
|
05-30-2003, 06:32 AM
|
#7
|
Member
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123
Original Poster
Rep:
|
I tried to comment everything that had to do with sound drivers in modules.conf and now lsmod doesn't output any sound-related modules...
and the modprobe gives the same errors...
|
|
|
05-30-2003, 08:34 AM
|
#8
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
I wanna make sure I've got this str8...
you do a fresh reboot and there's no sound modules loaded because you commented them out in modules.conf.
then you modprobe soundcore and begin modprobing snd-opl3sa2 and then you still get the error mentioned in the first post. is that right?
|
|
|
05-30-2003, 08:37 AM
|
#9
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
what type of card do you have? I couldn't find any on alsa's matrix that uses the opl3sa2 driver.
scratch that... had to dig deeper.
Last edited by jpbarto; 05-30-2003 at 08:38 AM.
|
|
|
05-30-2003, 08:49 AM
|
#10
|
Member
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123
Original Poster
Rep:
|
actually, I hadn't modprobed soundcore since I commented away everything there was in modules.conf
now I tried to modprobe soundcore, and it didn't output a thing. Nothingl.
|
|
|
05-30-2003, 08:49 AM
|
#11
|
Member
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123
Original Poster
Rep:
|
I have a Yamaha YMF719 I think, but I'm not sure
|
|
|
05-30-2003, 09:24 AM
|
#12
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
if you modprobe soundcore and it doesn't output anything... doesn't mean its not loaded... take a look as lsmod after you modprobe soundcore to see if its loaded.
|
|
|
05-30-2003, 09:37 AM
|
#13
|
Member
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123
Original Poster
Rep:
|
You were right, after modprobing soundcore, it was found by lsmod...
but what do I do now?
|
|
|
05-30-2003, 10:44 AM
|
#14
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
now try to modprobe snd-opl3sa2 and cross your fingers.
|
|
|
05-30-2003, 10:53 AM
|
#15
|
Member
Registered: May 2003
Location: Stockholm/Sweden
Distribution: Fedora Core 1
Posts: 123
Original Poster
Rep:
|
nope... same errors as before
|
|
|
All times are GMT -5. The time now is 03:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|