linux - Cannot open /dev/video0 (No such device) -


i trying install webcam on synology nas (arm, linux kernel 3.2.40). have compiled , installed kernel modules, seem work. kernel output when inserting modules , plugging camera (logitech c270):

[  130.963903] linux video capture interface: v2.00 [  136.098356] usbcore: registered new interface driver uvcvideo [  136.104135] usb video class driver (1.1.1) [  145.384393] usb 3-2: new high-speed usb device number 4 using etxhci_hcd_150119 [  145.628583] uvcvideo: found uvc 1.00 device usbdevice (046d:0825) [  145.726156] input: usbdevice /devices/pci0000:00/0000:00:00.0/usb3/3-2/3-2:1.0/input/input0 

this lsusb output:

# lsusb  libudev: udev_has_devtmpfs: name_to_handle_at on /dev: function not implemented bus 002 device 001: id 1d6b:0002 linux foundation 2.0 root hub bus 001 device 001: id 1d6b:0002 linux foundation 2.0 root hub bus 004 device 001: id 1d6b:0003 linux foundation 3.0 root hub bus 003 device 004: id 046d:0825 logitech, inc. webcam c270 bus 003 device 001: id 1d6b:0002 linux foundation 2.0 root hub 

however, cannot access camera:

# v4l2-ctl --all  failed open /dev/video0: no such device 

in strace:

open("/dev/video0", o_rdwr)             = -1 enodev (no such device) 

i have tried different camera model, c270 on computer (works fine), deleting /dev/video0 , re-creating (mknod /dev/video0 c 81 0), changing permissions, etc. same error...

crw-rw-rw- 1 root video 81, 0 jun 14 12:07 /dev/video0 

lsmod shows uvcvideo not used camera:

# lsmod  module                  size  used uvcvideo               57657  0  videodev               72561  1 uvcvideo usbcore               147080  7 ehci_hcd,etxhci_hcd,usb_storage,usblp,usbhid,uvcvideo usb_common               592  1 usbcore 

any ideas?


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -