Udev rule for changing selected USB configuration descriptor:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="abcd", ATTRS{idProduct}=="12*", ATTRS{bConfigurationValue}!="2", \ ATTR{bConfigurationValue}="2"
Udev rule for creating link and setting permissions for easier access from own application:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="abcd", ATTRS{idProduct}=="12*", KERNEL=="hidraw*", \ MODE="0666", SYMLINK+="myDeviceLink"
remember to execute
$ sudo service udev restart
rd@radekdostal.com
+43 681 815 945 10
skype: radekdostal
www.mimo-domov.cz - Czech and Slovak people abroad