We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add generic block HID rule to avoid keyboards and non mass-storage devices
@mdurvaux did an interesting proposal:
SUBSYSTEM=="hidraw", DRIVERS=="usbhid", RUN+="/bin/bash -c 'cd /sys/devices/platform/bcm2708_usb/usb1/1-1 ; for d in $(ls -d 1-1.[2-5]); do if [ $(ls -lR $d | grep -c usbhid) -gt 0 ] ; then echo 0 > $d/authorized ; fi ; done'"
Should we test it to review the various test cases to see if everything still work.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add generic block HID rule to avoid keyboards and non mass-storage devices
@mdurvaux did an interesting proposal:
Should we test it to review the various test cases to see if everything still work.
The text was updated successfully, but these errors were encountered: