Philips webcam
Thomas Kaiser
ubuntu at kaiser-linux.li
Fri Jan 4 18:24:24 UTC 2008
Dotan Cohen wrote:
> On 04/01/2008, Thomas Kaiser <ubuntu at kaiser-linux.li> wrote:
>> Install the module (driver):
>> sudo make install
>
> The install went fine.
>
>> Make sure your cam is unplugged and unload the old module (driver), in case it
>> was already loaded:
>> sudo modprobe -r gspca
>
> Check.
>
>> Plug your cam and check if the device /dev/video* is created:
>> ls /dev/video*
>
> No, no /dev/video*
>
> feisty at feisty-laptop:~$ ls /dev/v*
> /dev/vcs /dev/vcs3 /dev/vcs6 /dev/vcsa /dev/vcsa3 /dev/vcsa6
> /dev/vcs1 /dev/vcs4 /dev/vcs7 /dev/vcsa1 /dev/vcsa4 /dev/vcsa7
> /dev/vcs2 /dev/vcs5 /dev/vcs8 /dev/vcsa2 /dev/vcsa5 /dev/vcsa8
> feisty at feisty-laptop:~$
>
>> If you got this device, you should be OK.
>
> So, I'm not OK...
>
>> A good place to check is the kernel log:
>> Open /var/log/kern.log with your editor. You should find some messages from
>> gspca at the end of this file which will tell you if the cam is detected.
>
> Apparently it was:
>
> Jan 4 19:58:51 feisty-laptop kernel: [66839.440000] usb 2-1: new full
> speed USB device using uhci_hcd and address 5
> Jan 4 19:58:51 feisty-laptop kernel: [66839.672000] usb 2-1:
> configuration #1 chosen from 1 choice
>
> Er, I'm stuck. I don't even know what to google, as I've gotten no
> error messages.
OK something went wrong. I don't see any messages from gspca.
You can check with the command 'lsmod' if the gspca module got loaded.
Do something like that:
thomas at AMD64:~/Projects/webcam/PixArt/PAC7311$ lsmod |grep gspca
And output on my box:
gspca 691280 0
compat_ioctl32 11136 1 gspca
videodev 31360 2 gspca,saa7146_vv
usbcore 161584 4 gspca,ehci_hcd,ohci_hcd
When you don't see any occurrence of gspca try to load the module manually:
sudo modprobe gspca
'modinfo gspca' gives you some more information about the module Ubuntu uses.
Maybe Ubunutu is still using the old gspca module (not your own build).
Anyway, you could unload the module with 'sudo modprobe -r gspca' and force to
load yours module when you issue following command in the directory where you
started the 'make' command:
sudo insmod gspca.ko
Let's see what happens.
Thomas
--
http://www.kaiser-linux.li
More information about the ubuntu-users
mailing list