![]() ![]()
|
This should be simple. Perhaps I'm just being brain dead, but I cannot identify the group/priv which gives an account the ability to directly access USB devices. This is not a desktop issue, it is a programming issue. I'm experimenting with Qt and libusb. The first post of the series is http://www.logikalsolutions.com/wordpress/information-technology/qt-and-usb-pt-1/ if that matters to you.
Somebody really cheated with sudo too. roland@roland-I5-HP-Compaq-8300-Elite-SFF-PC:~/Projects/build-myusb-Desktop-Debug$ groups roland adm dialout cdrom sudo dip plugdev lpadmin sambashare roland@roland-I5-HP-Compaq-8300-Elite-SFF-PC:~/Projects/build-myusb-Desktop-Debug$ sudo groups [sudo] password for roland: root There should be a group which, just like dialout, gives a user access to the hardware. For those who don't know, dialout allows you to directly access a serial port. I thought plugdev "should" do it, but, obviously not.
Running as my mere mortal self I basically see the following:
The QtCreator application output window shows lots of this:
sudo this same executable from the command line produces:
Yes, I've read the on-line places about creating UDEV rules, but, that should not be required. Something in the following list (other than root) should allow direct USB access without a new udev rule. We went down this path with serial and parallel ports. Did we learn nothing?
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]