[yocto] adding a udev entry for a camera

Edward Vidal vidal.develone at gmail.com
Wed Oct 30 13:51:13 PDT 2013


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.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131030/7bdaed5e/attachment.html>


More information about the yocto mailing list