Skip to contentSkip to conversation

USB / udev only work for root

Libusb-devel Daniel Drake 1 participant 1 message Jan 3, 2009

lore
Share & tools
lore
#0 lore raw

Hi Sarah,

Quoted 3 lines · Sarah Messer

I can only communicate with a USB device using libusb when I'm logged in as root. I reported this previously for libusb-0.1.12, and have since tried upgrading to libusb-1.0 with the libusb-compat patch.

You should post your code and the exact output of your libusb-1.0 application.

If the device can be opened successfully but a control message is failing with a permissions error then it possibly suggests that you are sending a control message with a recipient interface which you have not claimed, or something like that.

Daniel