I have a libusb-based program that can't open USB devices on a freshly installed Ubuntu because it lacks permissions.
This solution will probably work for me, but it requires manually specifying each and every device – and I have quite a few. So I tried this (in a file
I've omitted VID and PID, hoping that it will simply apply the rule to ALL devices. It definitely has some effect, but the effect is rather weird: instead of detecting 5 devices that it can't open, libusb only detects 2 now – both are USB host controllers, not actual devices.
How to achieve what I want?