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

Re: problems with module-assistant and gspca



Florian Kulzer 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:
Hello,

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.

[...]

I have returned to the linux-image-2.6.18-686 kernel shipped with etch, and installed gspca-modules-2.6-686 accordingly.

Now, my webcam, a Pleomax, is detected by the system:

marcelo@yggdrasill:~$ lsusb
Bus 002 Device 002: ID 093a:2600 Pixart Imaging, Inc.

the gspca module is supposed to work with Pixart devices:

"The gpsca video for linux (v4l) driver, provides support for webcams and digital cameras based on the spca5xx range of chips manufactured by
SunPlus, Sonix, Z-star, Vimicro, Conexant, Etoms, Mars-semi, Pixart and
Transvision."

the gspca module is loaded using modprobe:

marcelo@yggdrasill:~$ lsmod
Module                  Size  Used by
gspca                 600336  0
videodev               21120  1 gspca
v4l1_compat            12036  1 videodev
v4l2_common            20448  1 videodev


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

The first thing to check is if the video device nodes were created when
the modules were loaded. Post the output of:

ls -l /dev/video*

grep -E 'gspca|videodev|v4l' /var/log/syslog


Hi Florian! thanks for the reply!

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
Password:
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
Password:
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...

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

Thank you very much for the help!

Marcelo

--
Marcelo Chiapparini


Reply to: