[yocto] adding a udev entry for a camera

Khem Raj raj.khem at gmail.com
Wed Oct 30 16:58:39 PDT 2013


On Wed, Oct 30, 2013 at 1:51 PM, Edward Vidal <vidal.develone at gmail.com> wrote:
> Hello,
> I am trying to add a c920 camera to my systems.  I am not getting a
> /dev/video0.
> lsusb --verbose shows the HD Pro Webcam C920
> Bus 001 Device 007: ID 046d:082d Logitech, Inc.
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass          239 Miscellaneous Device
>   bDeviceSubClass         2 ?
>   bDeviceProtocol         1 Interface Association
>   bMaxPacketSize0        64
>   idVendor           0x046d Logitech, Inc.
>   idProduct          0x082d
>   bcdDevice            0.11
>   iManufacturer           0
>   iProduct                2 HD Pro Webcam C920
>   iSerial                 1 211EF9AF
>   bNumConfigurations      1
> plus much more information
>
> I created /etc/udev/rules.d/10-c920.rules
> SUBSYSTEM=="video4linux", BUS=="usb", ATTRS{idvendor}=="0x046d",
> ATTRS{idProduct}=="0x082d", NAME="video0", MODE:="0660"
>
> mknod /dev/video0 c 81 0
>
> when I v4l2-ctl --all error no /dev/video0
> Any and all help will be appreciated.

you can check if udev rule is infact kicking in. use udevadm monitor/test

> Thanks
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



More information about the yocto mailing list