USB device and permission

The Peacock hardware is recognised as general human interface device and it is found under:

/dev/usb/hiddev0

> udevadm info -a /dev/usb/hiddev0

returns the info about the device: the most important info would be:

  • KERNEL==”hiddev0″
  • SUBSYSTEMS==”usb”
  • ATTRS{idVendor}==”03eb”
  • ATTRS{idProduct}==”204f”

You can test the rule by

> udevadm test /dev/usb/hiddev0

you will get errors if invalid commands are found in the rules

In order to open the permission of Peacock to all users

KERNEL==”hiddev[0-9]*”,SUBSYSTEM==”usbmisc”, SUBSYSTEMS=”usb”,ATTRS{idVendor}==”03eb”,  ATTRS{idProduct}==”204f”,MODE=”777″

Comments are Disabled

%d bloggers like this: