[CentOS] USB devices - libgphoto2 - PTP - hplip

Thu Dec 10 22:01:00 UTC 2015
Warren Young <wyml at etr-usa.com>

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:


Search for “Linux USB whitelist” for additional existing solutions to the problem, if you don’t like USBGuard for some reason.