[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with module-assistant and gspca

Florian Kulzer wrote:
On Mon, Nov 17, 2008 at 20:32:15 -0200, Marcelo Chiapparini wrote:
On Sun, Nov 16, 2008 at 19:40:14 -0200, Marcelo Chiapparini wrote:
On Fri, Nov 14, 2008 at 20:48:53 -0200, Marcelo Chiapparini wrote:

I am running etch and I have a pleomax pwc-2100 webcam by Pixart Imaging Inc. The pwc-2100 doesn't run out the box. After googling a bit, I found that it needs the gspca module.


but still, skype and ekiga are not able to detect any webcam present...


I just installed camorama, and when I try to run it, the message "could not connect to video device (/dev/video0)" appears... this goes in line with your suggestion. Now the outputs you ask for are the following (sorry for the initial garbage, but I posted it to be sure gspca is loaded)

marcelo@yggdrasill:~$ sudo modprobe -v gspca
insmod /lib/modules/2.6.18-6-686/kernel/drivers/media/video/v4l2-common.ko
insmod /lib/modules/2.6.18-6-686/kernel/drivers/media/video/v4l1-compat.ko
insmod /lib/modules/2.6.18-6-686/kernel/drivers/media/video/videodev.ko
insmod /lib/modules/2.6.18-6-686/extra/gspca/gspca.ko

marcelo@yggdrasill:~$ lsmod |grep gspca
gspca                 600336  0
videodev               21120  1 gspca
usbcore               112644  6 gspca,usb_storage,usbhid,ehci_hcd,uhci_hcd

marcelo@yggdrasill:~$ ls -l /dev/video*
ls: /dev/video*: No such file or directory

marcelo@yggdrasill:~$ sudo grep -E 'gspca|videodev|v4l' /var/log/syslog
Nov 17 20:02:40 localhost kernel: usbcore: registered new driver gspca
Nov 17 20:02:40 localhost kernel: /tmp/buildd/linux-modules-extra-2.6-2.6.18/debian/build/build_i386_none_686_gspca/gspca_core.c: gspca driver 2.6.18 registered

So, the device /dev/video0 is not there...

This might mean that this camera is not recognized/supported, at least
with the Etch's version of gspca. The best thing to look for are the USB
device and vendor IDs, what do you get when you run "lsusb" with the
camera plugged in?

Also, it might help to see all the syslog entries related to the camera.
You can run

tail -fn0 /var/log/syslog

then plug in the camera and wait at least 30 seconds. Post all the
messages that appear. (CTRL-C to exit)

(besides, is there a way to load gspca automatically, without calling modprobe each time I want to use the cam?)

If the device is recognized and supported then the module should be
loaded automatically with the help of the information in modules.usbmap
in your kernel's module directory. If that fails then you can add the
module to /etc/modules to have it loaded at startup.

Hi Florian,

I have just installed the latest version of gspca driver for linux from the developer site (http://mxhaard.free.fr). The cam works now, with low quality thought. The driver version of gspca in etch is an old one... The process of installing the latest version of gspca was done trough a provided script, and has nothing to do with the debian-way...

Thanks again for the help!



Marcelo Chiapparini

Reply to: