Re: [libhid-discuss] Talking to an HID device from user account in Linux

2009-05-06 Thread Sarah Mount
@lists.alioth.debian.org [mailto:libhid-discuss-bounces+asad.ali=gemalto@lists.alioth.debian.org] On Behalf Of Xiaofan Chen Sent: Tuesday, March 31, 2009 12:15 AM To: libhid-discuss@lists.alioth.debian.org Subject: Re: [libhid-discuss] Talking to an HID device from user account in Linux On Tue, Mar 31

[libhid-discuss] Talking to an HID device from user account in Linux

2009-03-30 Thread Ali Asad
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

Re: [libhid-discuss] Talking to an HID device from user account in Linux

2009-03-30 Thread Xiaofan Chen
2009/3/31 Ali Asad asad@gemalto.com: 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

Re: [libhid-discuss] Talking to an HID device from user account in Linux

2009-03-30 Thread Ali Asad
, March 30, 2009 6:41 PM To: Ali Asad Cc: libhid-discuss@lists.alioth.debian.org Subject: Re: [libhid-discuss] Talking to an HID device from user account in Linux 2009/3/31 Ali Asad asad@gemalto.com: As I understand it, the use of libhid requires root access in order to read-write from

Re: [libhid-discuss] Talking to an HID device from user account in Linux

2009-03-30 Thread Peter Stuge
Ali Asad wrote: For example, you can connect a USB mouse (a HID device) without requiring root access or forcing the user to use udev rules. How are user mode applications able to talk to such HID devices? Is that through some generic/universal HID device driver supported by the Linux