[libhid-discuss] libhid can not open HID device on Ubuntu

Sarah Mount s.mount at wlv.ac.uk
Sun Mar 8 20:44:24 UTC 2009


2009/3/7 Ali Asad <Asad.Ali at gemalto.com>:
> Hi ,
>
> I am using libhid on Ubuntu to connect to a composit USB device that
> enumerates as a mass storage as well as HID device. When using the sample
> code of libhid, the call hid_force_open() fails with the following printout,
> and return code of 12. Any ideas what could cause this.
>

Try running your program with sudo.

Sarah


-- 
Sarah Mount, Senior Lecturer, University of Wolverhampton
Web:  http://www.wlv.ac.uk/~in0316/
Book: http://www.pythonforrookies.org/
WSN: http://www.fieldsensing.org.uk/
Photos: http://flickr.com/photos/sarahmount/

This email, together with any attachment, is for the exclusive and
confidential use of the addressee(s) and may contain legally
privileged information.  Any use, disclosure or reproduction without
the sender's explicit consent is unauthorised and may be unlawful.

Any e-mail including its content and any attachments may be monitored
and used by The University of Wolverhampton for reasons of security
and for monitoring internal compliance with the University's policy on
internet use. E-mail blocking software may also be used.  The
University cannot guarantee that this message or any attachment is
virus free or has not been intercepted and amended.

If you believe you have received this message in error please notify
the sender by email, telephone or fax and destroy the message and any
copies.



More information about the libhid-discuss mailing list