You need to make sure the user able to access the /proc/bus/usb/NNN/YYY
"files". A hotplug script can do that.

On Thu, 17 Mar 2005, Uwe [iso-8859-1] D�rr wrote:

> Arnaud,
> thanks for your reply.
>
> Because libhid is based on libusb and libusb is a usermode driver, does this
> mean that the application linked with libusb must be running under root?
> Please correct me if I am wrong.
>
> I tried libusb in the past and I can remember, that I had to set the setuid
> bit for the linked application to get it run.
> This is one thing which I want to avoid and therefore this time I selected
> hiddev to program to. BTW, hiddev would fit nicely for the things I want to
> do ....
>
> On Thursday 17 March 2005 08:47, [EMAIL PROTECTED] wrote:
> > > ...
> >
> > You might also want to give a try to libhid
> > which is a userland HID library, based on libusb.
> > It's not complete, though it should answer your need...
> >
> > See: http://alioth.debian.org/projects/libhid
> >
> > Arnaud
> > ---
> > Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt
> > OpenSource Developer - http://arnaud.quette.free.fr/
> > Debian Developer - http://people.debian.org/~aquette/
> > ... and much more ...
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> > _______________________________________________
> > [email protected]
> > To unsubscribe, use the last form field at:
> > https://lists.sourceforge.net/lists/listinfo/linux-usb-users
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> [email protected]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
>

--
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to