Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old December 30th, 2007   #1
greyfox1
Gee! These Aren't Roasted!
 
greyfox1's Avatar
 
Join Date: Dec 2007
Location: Columbus OH, USA
Beans: 186
Ubuntu 9.10 Karmic Koala
QC-USB driver for Logitech Quickcam Web

Hi all,

I'm having a problem installing the QC-USB driver and I'm running into a problem. So far I haven't been able to find any existing information about this, so here it goes:

I'm using the script provided with the driver (quickcam.sh) and everything goes smoothly up until the point where the script attempts to load and test the driver. That step fails-- the last few lines of the output are:

Code:
[  416.508711] usb 2-2: USB disconnect, address 2
[  420.147332] usb 2-2: new full speed USB device using ohci_hcd and address 6
[  420.332918] usb 2-2: configuration #1 chosen from 1 choice
[  420.536087 ] quickcam: Unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
[  420.602958] quickcam: Unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
[  420.612980] quickcam: Unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
[!] The QuickCam driver failed to load!
A little bit about my setup:

* I'm using Ubuntu Studio 7.10 with the 2.6.22-14 realtime kernel.
* Version 0.6.6 of qc-usb driver.
* lsusb info: Bus 002 Device 006: ID 046d:0850 Logitech, Inc. QuickCam Web
* Sensor info from system log: [ 55.134221] quickcam: Sensor VV6410 detected
* Running "$ /sbin/lsmod | grep -i usb" produces:

Code:
snd_usb_audio          81408  0
snd_pcm                80644  4 snd_usb_audio,snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_usb_lib            18176  1 snd_usb_audio
snd_hwdep              10500  3 snd_emux_synth,snd_usb_audio,snd_emu10k1
snd_rawmidi            25728  4 snd_seq_virmidi,snd_emu10k1,snd_usb_lib,snd_seq_midi
snd                    55172  17 snd_emux_synth,snd_seq_virmidi,snd_usb_audio,snd_emu10k1,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
usb_storage            73536  0
usbhid                 30176  0
hid                    29056  1 usbhid
ide_core              118980  4 usb_storage,ide_cd,ide_disk,amd74xx
libusual               18704  1 usb_storage
scsi_mod              148844  5 sbp2,usb_storage,sg,sd_mod,libata
usbcore               139912  9 snd_usb_audio,snd_usb_lib,xpad,usb_storage,usbhid,libusual,ohci_hcd,ehci_hcd
I think the "RT" part of the message may be related to my realtime kernel? Maybe not. I'm stumped.



Also, I've gone through this tutorial and unfortunately it seems that my webcam is not supported by that driver (I get "Could not connect to video device (/dev/video0)" when I launch camorama).



Help will be greatly appreciated!
greyfox1 is offline   Reply With Quote
Old December 30th, 2007   #2
papatrpt89
Just Give Me the Beans!
 
Join Date: Jun 2007
Location: Rochester, NY
Beans: 60
Ubuntu 8.10 Intrepid Ibex
Send a message via AIM to papatrpt89
Re: QC-USB driver for Logitech Quickcam Web

I don't know how much help I can be, but I also own a logitech webcam, and it worked out of the box, with Kopete and a program called cheese (similar to OSXs photobooth). It might be worth a shot just trying it outwith without worrying about drivers.

If you still have problems, there seems to be a thread here about logitech webcams:

http://ubuntuforums.org/showthread.p...ogitech+webcam

Good luck!
papatrpt89 is offline   Reply With Quote
Old December 31st, 2007   #3
greyfox1
Gee! These Aren't Roasted!
 
greyfox1's Avatar
 
Join Date: Dec 2007
Location: Columbus OH, USA
Beans: 186
Ubuntu 9.10 Karmic Koala
Re: QC-USB driver for Logitech Quickcam Web

Thanks for the suggestion but that did not help. My system doesn't really recognize the camera at this point, I believe. Also the thread you mentioned is the second one I referenced in my original post.

I noticed a lot of references to /dev/video0 in reading about this and so far, /dev/video0 does not exist. I suppose that's part of the problem.
greyfox1 is offline   Reply With Quote
Old December 31st, 2007   #4
papatrpt89
Just Give Me the Beans!
 
Join Date: Jun 2007
Location: Rochester, NY
Beans: 60
Ubuntu 8.10 Intrepid Ibex
Send a message via AIM to papatrpt89
Re: QC-USB driver for Logitech Quickcam Web

Sorry, I'm pretty stumped
papatrpt89 is offline   Reply With Quote
Old January 2nd, 2008   #5
greyfox1
Gee! These Aren't Roasted!
 
greyfox1's Avatar
 
Join Date: Dec 2007
Location: Columbus OH, USA
Beans: 186
Ubuntu 9.10 Karmic Koala
Re: QC-USB driver for Logitech Quickcam Web

That's ok m8, thanks for the suggestion anyway.

*Bump* Anyone else have suggestions? TIA.
greyfox1 is offline   Reply With Quote
Old January 4th, 2008   #6
s4mdf0o1
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 4
Re: QC-USB driver for Logitech Quickcam Web

Hi
I've just also compiled a realtime kernel
I now have the same error
The webcam working before, so we might search for a "realtime" issue...

Code:
kernel: quickcam: Unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores
My own infos :
Linux 2.6.23.11-rt14 #1 SMP PREEMPT RT x86_64 (amd64)

Just a little up
s4mdf0o1 is offline   Reply With Quote
Old January 4th, 2008   #7
s4mdf0o1
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 4
Re: QC-USB driver for Logitech Quickcam Web

I tried this solution :
http://search.luky.org/linux-kernel.2005/msg39997.html

Quote:
A quick fix would be changing the 'struct semaphore' to 'struct compat_semaphore'.
no success :'(
... try again

Edit:
Sorry I made an error : it works !
I was compiling using m-a which overwrites my changes

So you just have to change what's told in quickcam.h
and rebuild
That's it
NB: take care using m-a, to create a new modified/compressed qc-usb-modules.tar.gz in /usr/src/ !

Last edited by s4mdf0o1; January 4th, 2008 at 01:38 PM..
s4mdf0o1 is offline   Reply With Quote
Old January 4th, 2008   #8
greyfox1
Gee! These Aren't Roasted!
 
greyfox1's Avatar
 
Join Date: Dec 2007
Location: Columbus OH, USA
Beans: 186
Ubuntu 9.10 Karmic Koala
Re: QC-USB driver for Logitech Quickcam Web

Hi, thanks for the reply-- but I'm not clear on what exactly you were doing. Could you tell me the commands you used? I don't know what all this m-a stuff you refer to means. All I've been doing is navigating to the directory I untarred to and running

./quickcam.sh

I changed "struct semaphore lock" to "struct compat_semaphore lock" in quickcam.h -- both in the directory where I untarred and /usr/src/modules/qc-usb-source/. However I still get the original "there_is_no_init_MUTEX_LOCKED_for_RT_semaphor es" error when the quickcam.sh tries to load the driver. Please help, I would really like to get this working!!
greyfox1 is offline   Reply With Quote
Old January 5th, 2008   #9
s4mdf0o1
First Cup of Ubuntu
 
Join Date: Jan 2008
Beans: 4
Re: QC-USB driver for Logitech Quickcam Web

What I've done :
Code:
cp /usr/src/qc-usb-modules.tar.gz{,.orig} #backup
cp /usr/src/qc-usb-modules.tar.gz /tmp # work copy
cd /tmp
tar xvzf qc-usb-modules.tar.gz
sed -i "s/struct semaphore lock/struct compat_semaphore lock/g" modules/qc-usb-source/quickcam.h
tar cvzf qc-usb-modules.tar.gz modules
mv qc-usb-modules.tar.gz /usr/src #overwrite
cd /usr/src
sudo apt-get install module-assistant
sudo m-a prepare
sudo m-a build qc-usb
dpkg -i qc-usb-modules-[your_version].deb
modprobe quickcam
That's it

Last edited by s4mdf0o1; January 5th, 2008 at 04:14 AM..
s4mdf0o1 is offline   Reply With Quote
Old January 5th, 2008   #10
greyfox1
Gee! These Aren't Roasted!
 
greyfox1's Avatar
 
Join Date: Dec 2007
Location: Columbus OH, USA
Beans: 186
Ubuntu 9.10 Karmic Koala
Re: QC-USB driver for Logitech Quickcam Web

Thanks again for your detailed instructions. However...

I went through all the steps listed above with no problems or errors, but my cam still doesn't work!

Kopete freezes when I try to access the "video devices" section of the options.

Skype lists my quickcam as an available device, but when I click "test" the green light on the cam blinks on, then off and I never see any picture.

Camorama starts up, but tells me it was unable to capture an image and then crashes. However the process continues to run in the background and shows up in the System Monitor as "Uninterruptible". The only way I've found to kill it is to reboot.

Sometimes when trying any of the programs above my system just freezes and I am forced to hard boot.

As always, any help will be appreciated!!
greyfox1 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:54 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry