[libhid-discuss] Talking to an HID device from user account in Linux
Ali Asad
Asad.Ali at gemalto.com
Mon Mar 30 17:26:06 UTC 2009
Hi,
This is a follow-up to my earlier postings.
I am using a device that enumerates as both mass storage device and HID device. I have used libhid as well as libusb to communicate with this composite USB device and the communication works as expected. So far so good.
Here is my dilemma:
The application that is used for communicating with the device over HID is not installed on the Linux machine, but is carried on the token itself. This application uses libhid or libusb and can be run from one of the mass storage partitions after the user connects the device to a Linux box.
As I understand it, the use of libhid requires root access in order to read-write from the device, right? This is how I have tested my application. Is there another way to talk to the HID device so that root access is not required? If so what would I need to do from my application, and more importantly, what would the end-user have to do on their Linux machines in order to run this application? I am targeting the Ubuntu distribution.
best regards, and many thanks for your feedback.
--- asad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20090330/3e918daa/attachment.htm
More information about the libhid-discuss
mailing list