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

Re: mknod /dev/video0



Citerat från  Orjan Friberg <orjan.friberg@xxxxxxx.com>:

> Markus Nilsson wrote:
> > 
> > Ok, I got my /dev/video0 and also /proc/video.
> > But I can't open the video0 file after I connect my USB webcam.
> 
> What happens?  What kind of error message do you get?
> 
> -- 
> Orjan Friberg
> Axis Communications AB
>

I have rebuild the kernel with your new usb-host drivers and using 2.4.19 with
patch.
I got the webcam driver working, see below:

 usb.c: registered new driver usbdevfs
 usb.c: registered new driver hub
 wc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module version
8.6 loaded.
 pwc Also supports the Askey VC010, Logitech Quickcam 3000 Pro, Samsung MPC-C10
and MPC-C30,
pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
 usb.c: registered new driver Philips webcam

but when I connect the webcam I got this:

 usb-host.c: USB controller in host mode.
 usb-host.c: USB controller started.
 usb-host.c: USB controller in host mode.
 usb-host.c: USB controller started.
 usb-host.c: USB controller running.
 hub.c: USB new device connect on bus1/2, assigned device number 2
 usb-host.c: assert failed at line 1552
 usb-host.c: assert failed at line 1552
 usb-host.c: assert failed at line 1552
 usb-host.c: assert failed at line 1552
 sb.c: USB device 2 (vend/prod 0x471/0x308) is not claimed by any active driver.

I have also added

 @$(MKNOD) -m 0666           $(DEV)/video0    c 81    0

to packages/devices/axis-2.4/Makefile, wich appears on devboard after boot as

  crw-rw-rw-    1 root     sys        81,   0 Jan  1  1970 video0

Why isn't cam claimed by any driver?

/Markus