[SOLVED] Need help to configure multiple soundcards (built-in card and webcam).
Linux - HardwareThis 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.
If you're really logged in as root I can see no explanation at all to why you would not be able to create the file. But just to make sure, try this. After you've switched to root using su, enter the command
Code:
whoami
If you get the output
Code:
root
well, then you're good to go. (Of course, the easiest way to see if you're root is to see if you have a # instead of a $ in the command prompt, at least on most distros but I'd use whoami just to make sure.)
Then (if you are in fact root) do what I described earlier
Code:
nano /etc/modprobe.d/sound
Add this line to the file:
Code:
options snd_mpu401 index=1
Save and exit using CTRL-x
check that you have the file and that it contains the correct line
Code:
cat /etc/modprobe.d/sound
Like I said, I can think of no reason why root would not be able to create the file.
Ok, could you reboot the system without the webcam connected and run post the output of cat /proc/asound/modules? And when you do this, sound works fine, right?
It'll help us make *really* sure which module is in fact used by the onboard card. (That's why I in the original post included commands both with and without the webcam connected.)
Ok did that, created allot of problems. On reboot the sound did work but the webcam was not recognized, when I unplugged and replugged then it worked. I also lost my internet connection, so I put it back to 1 instead of 2 and after several more reboots and playing with the network connection button I finally got back on the net.
Ok did that, created allot of problems. On reboot the sound did work but the webcam was not recognized, when I unplugged and replugged then it worked. I also lost my internet connection, so I put it back to 1 instead of 2 and after several more reboots and playing with the network connection button I finally got back on the net.
Strange. I cannot for the life of me see how that would have any effect on the network. As for a network connection button, I don't know what it is. Anyway, try this in instead:
Basically, what you're doing is that you tell the system how to index all connected sound devices.
A word of advice is that you try to post information that help diagnose the problem. For example, you could have checked out how cat /proc/asound/modules looked when you had the problem. It might have given an indication of what was the cause of it. Also, in my first reply to you I asked that you post the output of the commands listed in the first post, with and without the webcam connected. Had you done so, I would have realized that snd_intel8x0 and snd_mpu401 was not used by the webcam at all and that would have saved some time. As a general rule, a bit too much information is better than a bit too little.
best regards
/CZ
Last edited by Count Zero; 01-16-2010 at 06:10 AM.
Unplugging and replugging in the webcame activates cheese and the video is a go, same as skype.
redoing cat /proc/asound/modules gives me the same;
0 snd_intel8x0
1 snd_mpu401
2 snd_usb_audio
I guess the good thing is the sound does not shut off now when the webcam is left in, but wont work till its "fresh pluged in"
Well, at loeast your system is a bit more robust now. Should you for whatever reason change webcam or stop using it you can just remove the last of the three lines. As for needing to re-connect it in order for it to be detected properly I have no no idea why that is so. Sorry.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.