Jump to content

Logitech QuickCam [solved]


camorri
 Share

Recommended Posts

From lsusb:

 

lsusb

Bus 002 Device 003: ID 046d:0870 Logitech, Inc. QuickCam Express

 

I know some webcams are now supported in 2009 without loading drivers. This one did work under 2008.1, by loading the gspca package, the system sees in when I hot plug it, but it is not seen by any applications. There is no /dev/video or /dev/video1 created.

 

I have been here-->http://mxhaard.free.fr/spca5xx.html and my QuickCam is not in the supported list.

 

Is there a way to get this working?

Link to comment
Share on other sites

Can you try plugging it in and then from a console do:

 

su (enter root password when prompted)
dmesg

 

and then copy the last items shown that relate to the webcam so we can see some stuff about it.

Link to comment
Share on other sites

Ian,

 

Thank-you for the reply. Here is the last lines added to dmesg, after I hot plugged the webcam.

 

hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.

usb 2-5: new full speed USB device using ohci_hcd and address 3

usb 2-5: configuration #1 chosen from 1 choice

usb 2-5: New USB device found, idVendor=046d, idProduct=0870

usb 2-5: New USB device strings: Mfr=0, Product=1, SerialNumber=0

usb 2-5: Product: Camera

Link to comment
Share on other sites

I just checked your USB vendor and product ID and it is too old for the new gspca, instead you need to install the qc-usb-kernel package (for your kernel) and the dkms-qc-usb package for that Cam.

 

After you have those packages installed, with the Cam attached please post the output (as root) of

lsusb

and

lsmod | grep -i mod_quickcam

Link to comment
Share on other sites

Greg2,

 

That sounds like a plan. It looks like I need to do a bit of research first. There are 12 packages that start with qc-usb-kernel.

 

Right now I'm running

uname -a

Linux duelie 2.6.27.14-desktop-1mnb #1 SMP Wed Feb 18 03:14:14 EST 2009 i686 AMD Athlon 64 X2 Dual Core Processor 5200+ GNU/Linux

 

I need to figure out which package to install. I know I don't need the server ones.

 

I also looked at the dkms-qc-usb packages. I had one installed. The release showed as 2008.1, not 2009 version I should have installed. I removed the 2008.1 version, and installed the 2009 version.

 

This system was upgraded, not a clean install.

 

I will look into the kernels, and post back, with the requested info.

Link to comment
Share on other sites

You can do:

 

rpm -qa | grep -i kernel

 

and see what one you've got installed, but sounds like you have kernel-desktop-2.6.27-14 installed and so would need the corresponding one for this kernel.

Link to comment
Share on other sites

O.K. I have installed the qc-usb-kernel package, and dkms-qc-usb was installed.

 

I had to run Update Your System first. There is a kernel, so I ran the update. Then I installed the qc-usb-kernel package.

 

Here is the requested out put plus a little more.

 

[root@duelie ~]# ls /dev/v*

/dev/vcs /dev/vcs2 /dev/vcs8 /dev/vcsa1 /dev/vcsa7

/dev/vcs1 /dev/vcs7 /dev/vcsa /dev/vcsa2 /dev/vcsa8

[root@duelie ~]# lsusb

Bus 001 Device 001: ID 1d6b:0002

Bus 002 Device 004: ID 046d:0870 Logitech, Inc. QuickCam Express

Bus 002 Device 002: ID 04f9:0028 Brother Industries, Ltd

Bus 002 Device 001: ID 1d6b:0001

[root@duelie ~]# lsmod | grep -i mod_quickcam

[root@duelie ~]# uname -a

Linux duelie 2.6.27.19-desktop-1mnb #1 SMP Wed Mar 4 23:59:13 EST 2009 i686 AMD Athlonâ„¢ 64 X2 Dual Core Processor 5200+ GNU/Linux

 

Note the kernel is now 2.6.27.19-desktop.

 

I still do not get a /dev/video or /dev/video1 created. The system does not load mod_quickcam.

Edited by camorri
Link to comment
Share on other sites

The system does not load mod_quickcam.

OK, that is your problem. Let's see if it's using gspca

lsmod | grep -i gspca

if it's using gspca, then you will have to blacklist gspca and use mod_quickcam. Do you understand and know how to do this?

Link to comment
Share on other sites

Can you post results of:

 

rpm -ql qc-usb-kernel
rpm -ql dkms-qc-usb

 

so that we can see what files were installed, and in particular what kernel module to make sure it was mod_quickcam in one of these packages. Also, we can try:

 

find /lib -name *quick*

 

to see if any quickcam module was injected into the kernel with dkms.

Link to comment
Share on other sites

so that we can see what files were installed, and in particular what kernel module to make sure it was mod_quickcam in one of these packages.

All of the qc-usb-kernel packages in the official repos provide the mod_quickcam module. We just need to know if he's using it. :)

Link to comment
Share on other sites

First things first. Greg2 requested the output of lsmod | grep -i gspca

 

[root@duelie ~]# lsmod | grep -i gspca

[root@duelie ~]#

 

It appears that gspca in not loaded.

 

Ian requested

 

rpm -ql qc-usb-kernel

rpm -ql dkms-qc-usb

 

The outout...

 

rpm -ql qc-usb-kernel

package qc-usb-kernel is not installed

 

and

 

rpm -ql dkms-qc-usb

/usr/src/qc-usb-0.6.6-6mdv2009.0

/usr/src/qc-usb-0.6.6-6mdv2009.0/APPLICATIONS

/usr/src/qc-usb-0.6.6-6mdv2009.0/COPYING

/usr/src/qc-usb-0.6.6-6mdv2009.0/CREDITS

/usr/src/qc-usb-0.6.6-6mdv2009.0/FAQ

/usr/src/qc-usb-0.6.6-6mdv2009.0/Makefile

/usr/src/qc-usb-0.6.6-6mdv2009.0/Module.symvers

/usr/src/qc-usb-0.6.6-6mdv2009.0/Modules.symvers

/usr/src/qc-usb-0.6.6-6mdv2009.0/README.qce

/usr/src/qc-usb-0.6.6-6mdv2009.0/TODO

/usr/src/qc-usb-0.6.6-6mdv2009.0/debug.sh

/usr/src/qc-usb-0.6.6-6mdv2009.0/dkms.conf

/usr/src/qc-usb-0.6.6-6mdv2009.0/freeshm.sh

/usr/src/qc-usb-0.6.6-6mdv2009.0/linux-2.4.20-quickcam.patch

/usr/src/qc-usb-0.6.6-6mdv2009.0/linux-2.6.18.patch

/usr/src/qc-usb-0.6.6-6mdv2009.0/linux-2.6.7-quickcam.patch

/usr/src/qc-usb-0.6.6-6mdv2009.0/linux-2.6.8.1-quickcam.patch

/usr/src/qc-usb-0.6.6-6mdv2009.0/qc-driver.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/qc-formats.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/qc-hdcs.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/qc-memory.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/qc-memory.h

/usr/src/qc-usb-0.6.6-6mdv2009.0/qc-mjpeg.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/qc-pb0100.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/qc-vv6410.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/qcset.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/qcweb-info.txt

/usr/src/qc-usb-0.6.6-6mdv2009.0/quickcam.h

/usr/src/qc-usb-0.6.6-6mdv2009.0/quickcam.sh

/usr/src/qc-usb-0.6.6-6mdv2009.0/show.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/testquickcam

/usr/src/qc-usb-0.6.6-6mdv2009.0/testquickcam/Makefile

/usr/src/qc-usb-0.6.6-6mdv2009.0/testquickcam/testquickcam.c

/usr/src/qc-usb-0.6.6-6mdv2009.0/testquickcam/testquickcam.h

/usr/src/qc-usb-0.6.6-6mdv2009.0/videodev2.h

/usr/src/qc-usb-0.6.6-6mdv2009.0/videodevfix.h

 

That is installed.

 

and find /lib -name *quick* produces...

 

find /lib -name *quick*

/lib/modules/2.6.27.19-desktop586-1mnb/dkms-binary/3rdparty/qc-usb/mod_quickcam.ko.gz

/lib/modules/2.6.27.19-desktop586-1mnb/kernel/drivers/media/video/usbvideo/quickcam_messenger.ko.gz

/lib/modules/2.6.27.19-desktop-1mnb/kernel/drivers/media/video/usbvideo/quickcam_messenger.ko.gz

 

The modules are there.

 

I installed these modules using MCC Install/remove software.

 

qc-usb-kernel-2.6.27.19-desktop586-1mnb and qc-usb-kernel-desktop586-latest. Both show installed in MCC; ie I see a green circle, white down arrow in the status column. I don't understan why they don't show up in the rpm inquiry.

 

Greg2, missed this question on my first edit.

 

then you will have to blacklist gspca and use mod_quickcam. Do you understand and know how to do this?

 

It appears gspca is not being loaded. I have never had to blacklist a module. I would need to know the file to edit to do this.

 

I have tried to modprobe mod_quickcam, I always get a Module not found error, even though I have two copies of the module.

 

Here is what I see.

 

# modprobe /var/lib/dkms-binary/qc-usb/0.6.6-6mdv2009.0/2.6.27.19-desktop586-1mnb/i586/module/mod_quickcam.ko.gz

FATAL: Module /var/lib/dkms_binary/qc_usb/0.6.6_6mdv2009.0/2.6.27.19_desktop586_1mnb/i586/module/mod_quickcam.ko.gz not found.

 

I tried this on both directories where I have the module, it will not load.

Edited by camorri
Link to comment
Share on other sites

If the module is not found, then it seems we have a problem with dkms and the packages you installed.

 

rpm -qa | grep -i dkms
rpm -qa | grep -i qc | grep -i usb

 

and see if we actually have the packages you need installed. It could well be, that you're missing the main dkms package that isn't injecting the module into the kernel.

Link to comment
Share on other sites

The results of the two rpm commands...

 

rpm -qa | grep -i dkms

dkms-nvidia173-173.14.12-4mdv2009.0

dkms-qc-usb-0.6.6-6mdv2009.0

dkms-minimal-2.0.19-11mdv2009.0

dkms-nvidia-current-177.70-2.3mdv2009.0

dkms-2.0.19-11mdv2009.0

[root@duelie ~]# rpm -qa | grep -i qc | grep -i usb

qc-usb-kernel-desktop586-latest-0.6.6-1.20090305.6mdv2009.0

dkms-qc-usb-0.6.6-6mdv2009.0

qc-usb-kernel-2.6.27.19-desktop586-1mnb-0.6.6-6mdv2009.0

Link to comment
Share on other sites

O.K....

 

 

uname -r

2.6.27.19-desktop-1mnb

 

I looked at grub, and MCC installed kernels, and yes, both are installed. I'm not sure how I got them both installed.

 

I know it matters so we can load the correct modules for the web-cam, but does it matter for general use? If not, then I should be able to remove the unused kernel.

Edited by camorri
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...