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
Thanks for another excellent post. The place else could anybody get that type of info in such a perfect manner of writing?
I have a presentation next week, and I am
on the look for such information.
Feel free to visit my blog :: UFABET - http://claystanton.pbworks.com/w/page/150507036/Ufabet%20Online%20Slot%20Casino%20Site%20-%20The%20Place%20to%20Play%20Free%20Slots%21