# This is a sample udev file for HIDAPI devices which changes the permissions
# to 0666 (world readable/writable) for a specified device on Linux systems.

# If you are using the hidraw implementation, then do something like the
# following, substituting the VID and PID with your device.

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0022", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0023", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0024", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0025", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="0026", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="0027", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="0029", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="002a", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="002b", MODE="0666", GROUP="users"

KERNEL=="hidraw*", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="0030", MODE="0666", GROUP="users"
