Re: /dev/video0

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

 



Le jeudi 16 novembre 2006 à 02:10 +0100, Alain PORTAL a écrit :
> Hi,
> 
> Can somebody tell me how is created this device?
> 
> When I'm connecting my webcam, nothing happends but in messages.log:
> 
> kernel: usb 4-1.4: USB disconnect, address 3
> kernel: usb 4-1.4: new full speed USB device using uhci_hcd and address 4
> kernel: usb 4-1.4: not running at top speed; connect to a high speed hub
> kernel: usb 4-1.4: configuration #1 chosen from 1 choice
> kernel: 4:3:1: cannot set freq 0 to ep 0x86
> kernel: 4:3:2: cannot set freq 0 to ep 0x86
> 
> When I load the module ("modprobe gspca"), new in messages.log:
> kernel: usbcore: registered new driver gspca
> kernel: /var/tmp/bach-build/BUILD/gspcav1-20060925/gspca_core.c: gspca driver 
> 01.00.04
> 
> And always no /dev/video0
> 
> I create it ("mknod /dev/video0 c 81 0; chmod go+wr /dev/video0"), verify
> 
> [root@lns-bzn-59-82-252-142-2 ~]# ls -l /dev/video0
> crw-rw-rw- 1 root root 81, 0 nov 16 01:45 /dev/video0
> 
> and run an application
> 
> [root@lns-bzn-59-82-252-142-2 ~]# xawtv
> This is xawtv-3.95, running on Linux/i686 (2.6.18-1.2239.fc5)
> WARNING: v4l-conf is compiled without DGA support.
> can't open /dev/video0: No such device
> v4l-conf had some trouble, trying to continue anyway
> v4l2: open /dev/video0: Aucun périphérique de ce type
> v4l2: open /dev/video0: Aucun périphérique de ce type
> v4l: open /dev/video0: Aucun périphérique de ce type
> no video grabber device available
> 
> Where is the problem?
> 
> I'm loosing my hair...
> 
The device is automatically created if the driver recognize the device.
If i do dmesg | grep gspca : 
gspca: no version for "struct_module" found: kernel tainted.
/var/tmp/bach-build/BUILD/gspcav1-20060925/gspca_core.c: USB SPCA5XX
camera found.(ZC3XX) 
/var/tmp/bach-build/BUILD/gspcav1-20060925/gspca_core.c:
[spca5xx_probe:3885] Camera type JPEG 
/var/tmp/bach-build/BUILD/gspcav1-20060925/Vimicro/zc3xx.h:
[zc3xx_config:515] Sensor ID:10
/var/tmp/bach-build/BUILD/gspcav1-20060925/Vimicro/zc3xx.h:
[zc3xx_config:587] Find Sensor PAS106
/var/tmp/bach-build/BUILD/gspcav1-20060925/gspca_core.c:
[spca5xx_getcapability:1163] maxw 352 maxh 288 minw 176 minh 144
usbcore: registered new driver gspca
/var/tmp/bach-build/BUILD/gspcav1-20060925/gspca_core.c: gspca driver
01.00.04 registered

Perhaps also the device created is not /dev/vodeo0 but /dev/videoX. For
me the device change at every reboot because i have also a tv card and
the first one get /dev/video0, the second /dev/video1 and so on...

Hope this will help you.

Eric


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux