On Dec 10, 2015, at 1:37 AM, Michael H <michael at wemoto.com> wrote: > > I've setup udev rules to block all usb devices and then additional rules > to allow specific vendors / products to be used (mainly keyboards and > mice). It sounds like you’re reinventing the wheel: https://github.com/dkopecek/usbguard Search for “Linux USB whitelist” for additional existing solutions to the problem, if you don’t like USBGuard for some reason.