<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Courier New" size=2><SPAN
class=950004516-30032009>Hi,</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=950004516-30032009></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009>This is
a follow-up to my earlier postings. </SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=950004516-30032009></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009>I am using a
device that enumerates as both mass storage device and HID device. <SPAN
class=950004516-30032009>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.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009>Here is my dilemma:</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009>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.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009>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.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009></SPAN></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009>best regards, and many thanks for your
feedback.</SPAN></SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=950004516-30032009><SPAN
class=950004516-30032009>--- asad</SPAN></SPAN></FONT></DIV></BODY></HTML>