LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-22-2003, 10:28 PM   #1
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
alsa problems


im trying to configure alsa drivers for a usb audio card and all goes well until i try to load the modules at which point i get this message


root@mork:/usr/src/alsa/alsa-utils-0.9.0rc7# modprobe snd-usb-audio;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
/lib/modules/2.4.20/kernel/sound/acore/seq/oss/snd-seq-oss.o: init_module: Device or resource busy
/lib/modules/2.4.20/kernel/sound/acore/seq/oss/snd-seq-oss.o: 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/kernel/sound/acore/seq/oss/snd-seq-oss.o: insmod /lib/modules/2.4.20/kernel/sound/acore/seq/oss/snd-seq-oss.o failed
/lib/modules/2.4.20/kernel/sound/acore/seq/oss/snd-seq-oss.o: insmod snd-seq-oss failed
root@mork:/usr/src/alsa/alsa-utils-0.9.0rc7#



has anyone else had this problem or knows how to fix it? im running slack 8.1 on a 2.4.20 kernel


--thanks


btw im using http://www.alsa-project.org/alsa-doc...dule=usb-audio as a guide

Last edited by watashiwaotaku7; 02-22-2003 at 10:32 PM.
 
Old 02-22-2003, 10:49 PM   #2
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Are you sure you haven't compiled OSS modules into the kernel as well as the generic sound support? If you have, they could cause problems.
 
Old 02-22-2003, 11:00 PM   #3
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
should i not have oss? what about generic sound drivers should i have only soundcore compiled in then? what about usb sound and midi support?
 
Old 02-22-2003, 11:05 PM   #4
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Erm, it's fine to have OSS emulation in ALSA, but not in the Kernel. In the menuconfig/xconfig part of compiling the kernel, under sound, you should just have generic sound support, without any of the soundcard specific drivers below that selected. Perhaps you should try a kernel compile (obviously not erasing your current one) to see if this is the source of your problem?

[edit]
I'm basically going by the instructions I was given in LFS. They just have the following to say about OSS in the Kernel:

Before installing the alsa-drivers note that in your kernel configuration you should have Sound Card Support (CONFIG_SOUND) enabled but nothing else in the Sound menu (with the possible exception of TV Card Mixer support. In particular you should not have OSS Sound Modules enabled as this will cause problems when loading the alsa driver modules.
[/edit]

Last edited by Obi Perrin; 02-22-2003 at 11:10 PM.
 
Old 02-22-2003, 11:09 PM   #5
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
ill try that then and post if it works or not

Last edited by watashiwaotaku7; 02-22-2003 at 11:11 PM.
 
Old 02-22-2003, 11:15 PM   #6
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
I'm not quite sure what you mean by usb-sound. I've had a quick look in the sound and usb sections of make menuconfig and can't find it there. Are you referring to usb-audio in the usb section?

Of course, it could just be me going blind. :-D
 
Old 02-22-2003, 11:28 PM   #7
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
that would be what i mean but, i disabled it and after a quick kernel recompile and recompiling all the alsa things it seems to have worked as far as inserting the modules into the kernel space

--thanks a lot if i have any more problems ill post again
 
Old 02-22-2003, 11:33 PM   #8
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Ahh, cool. If usb-audio was what you meant, then I don't think it's needed. I believe it's needed for the direct connection of speakers without a soundcard (according to the description from the kernel help), and before reading the help bit, I'd heard of it being required for Linux to work with the newer version of MiniDisc players, but not as far as I know for usb soundcards.
 
Old 02-22-2003, 11:54 PM   #9
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
ive gotten to the point where it tells me to use alsamixer to unmute things, but alsamixer doesnt work so do you know how to fix it or a good replacement program?
 
Old 02-23-2003, 12:03 AM   #10
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Alsamixer doesn't work? That's odd. What happens?

There is an alternative, I just have to remember it. Think it goes something like this:

amixer -c0 sset PCM,0 80% 80% unmute
amixer -c0 sset Master,0 80% 80% unmute

It has been quite a while since I used those commands however. You may find that the exact syntax is incorrect, or that there is another device you need to unmute, or again, that they may be incompatible for your type of card. More info about mixer can be found with man amixer. If you can test the sound from mpg123 or another audio program, and it works, save the configuration with alsactl store. Then you can restore it on reboot with alsactl restore.
 
Old 02-23-2003, 12:15 AM   #11
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
just typing amixer i get this error

root@mork:~# amixer
amixer: Mixer attach default error: No such file or directory

and using xmms it tells me to make sure

1. you have the correct output plugin selected
2.No other program is blocking the soundcard
3. your soundcard is configured properly

alsamixer gives

root@mork:~# alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or directory
root@mork:~#

the modules load so i dont know whats wrong

also just a questions is setting up modprobe and kmod support necessary (the next step in the guide)

Last edited by watashiwaotaku7; 02-23-2003 at 12:18 AM.
 
Old 02-23-2003, 12:31 AM   #12
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Ran through google and a number of sources cropped up from the cause of this, hence, the following barage of questions.

Do you have the alsa-utils package installed?
Have you run the .snddevices script to create the appropriate /dev entries?
Have you run 'touch /etc/asound.state'?

I think you have installed the alsa-utils, so if you have, I would advise that you run ./snddevices. It should be in the driver source tree. Then the touch command, then try either alsamixer/amixer again.
 
Old 02-23-2003, 12:34 AM   #13
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
yes i did the first two the second i just tried and to no avail, what exactly is that supposed to do, is there another variation fo that command that i should try?
 
Old 02-23-2003, 12:39 AM   #14
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
Apologies, that didn't copy right from the LFS book. The third one should be:

touch /etc/asound.state &&
alsactl store

The "no such file or directory" error makes me think that it's looking for the current config in the default location and can't find it. If it's not that, then I'm afraid I can't think of much more than could help.
 
Old 02-23-2003, 12:41 AM   #15
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Original Poster
Rep: Reputation: 30
it tells me no soundcard found, im trying to use a soundblaster extigy

do you know of a command to test for sure if usb works? this could all be pointless if it didnt

Last edited by watashiwaotaku7; 02-23-2003 at 12:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
alsa problems mark_alfred Debian 2 02-17-2005 12:24 AM
Alsa-problems again hanspb Linux - Software 4 11-17-2004 05:24 PM
alsa problems... socket9001 Slackware 1 04-27-2004 01:32 AM
Problems with OSS while trying to avoid problems in ALSA (scratchy sound) GT_Onizuka Linux - General 1 02-06-2004 12:55 AM
alsa problems, please help matjazk Slackware 16 12-15-2003 06:45 AM


All times are GMT -5. The time now is 10:10 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration