LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 08-17-2002, 02:51 AM   #1
Meros
LQ Newbie
 
Registered: Aug 2002
Posts: 7

Rep: Reputation: 0
Thumbs down USB WEBCAM causes soundcard problems


I have a strange soundcard that hardly works under linux, namely Turtle Beach montego. However, it is working with an aureal driver I found and everuthing was fine...
Now for my birthday I got a webcam, the logitech quickcam pro 3000, wich under linux has a seperat standars usb audio microphone, and it causes problems!!! The webcam works fins, and everything works really good if i connect the webcam AFTER the computer starts up, but if i have it connected when i start the computer then problems occur. The soundcard stops to function, and the only mixer I can access is the one for the usb audio microphone! WHY???

Is there a way to fix this?? Will I always haveto disconnect my webcam when starting up? Is there a way to 'hide' the webcam shile starting up, to similate disconnecting it?

Help me, please! It's a really nice webcam, and I'd like to be able to use it without getting anoid everytime I start my computer!
 
Old 08-17-2002, 04:52 AM   #2
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
Sounds like a IRQ conflict, both Sound card and camera use same IRQ and since soundcard is initialized first, then webcam after it the webcam screws the sondcard, but if you connect the webcam after it will use another IRQ and leave the poor soundcard alone. You will have to look at /proc/interrupts and figure out which interrupt is used by both devices, then recompile your kernel and add webcam support AS A MODULE and then load it with IRQ= option, and put it to another (free) IRQ.
I realize this is confusing, but it's the only way i can think of right now. But before doing it wait and see if someone has a simpler solution on how to force a device to use a different IRQ.

-NSKL
 
Old 08-17-2002, 05:12 AM   #3
Meros
LQ Newbie
 
Registered: Aug 2002
Posts: 7

Original Poster
Rep: Reputation: 0
Hmm...

I think the webacam is not the problem, but the SOUND-part (another logical unit). But I am not entirely sure...
 
Old 09-09-2003, 02:39 AM   #4
Moshiach
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
It is the audio driver, as I've found out tonight. I've been beating my head against this all night. I could boot up fine, but my sound card would need to be reconfigured each time for it to work. After poking around a bit I noticed with dmesg that an audio driver was being loaded during the USB startups. I remembered the trouble I had when I first installed my quickcam on windows where it's microphone would always take the line-in away from my headset mic. I solved that problem by disabling the cam's mic.

So I did a search on the PWC driver that linux loads for the Logitech and came up with this link which describes how to disable the mic on the cam during bootup. It works for me now, your mileage may vary.
 
Old 09-09-2003, 03:17 AM   #5
Moshiach
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Sorry, I forgot one thing.

At the end of his usbaudiooff script you need to load your soundcard drivers. You can do that with the following lines placed after the line "esac"

/sbin/modprobe cs46xx
RETVAL=$?
if [ "$RETVAL" -eq 0 ]; then
success "Enable PCI Soundcard -"
else
failure "Enable PCI Soundcard -"
fi

I'm loading the cs46xx sound card drivers, yours might be different.

I'm still looking for a more elegant solution to this problem. The audio.o driver that is causing the problem still gets loaded at startup. This script just turns it off and loads the sound card.
 
  


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
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara SUSE / openSUSE 4 11-29-2006 12:09 PM
USB Webcam mattp Linux - Newbie 2 04-20-2006 09:40 AM
Debian thinks my webcam is a soundcard doctorwebbox Linux - Hardware 1 12-08-2004 07:59 PM
problems with USB printer (and webcam too) darksmiley Linux - Hardware 7 10-11-2004 07:50 PM
USB Webcam Howto? Problems with OV511 module... Goeland86 Linux - Hardware 14 02-16-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:39 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
Open Source Consulting | Domain Registration