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:
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.
[...]
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
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...
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.