[libhid-discuss] Find the path...

Charles Lepple clepple at ghz.cc
Wed Dec 5 13:39:59 UTC 2007


That doesn't sound right. If you re-plug the device, the kernel  
usbhid driver will claim it again, but running test_libhid (or libhid- 
detach-device, also included in libhid) should make lsusb show the  
descriptor.

Are there any errors in dmesg?

Do you have read+write permissions to the device node (in /proc/bus/ 
usb or /dev/bus/usb)?

What does "cat /proc/bus/usb/devices" say?

On Dec 5, 2007, at 1:28 AM, Matthias Lohr wrote:

> Doesn't work. lsusb seems to reload the usb driver...
>
> Matthias
>
> On Wednesday 05 December 2007 01:44:57 Charles Lepple wrote:
>> On Dec 4, 2007, at 7:28 PM, Peter Stuge wrote:
>>> On Tue, Dec 04, 2007 at 08:47:11PM +0100, Matthias Lohr wrote:
>>>> // lsusb
>>>>     Report Descriptors:
>>>>       ** UNAVAILABLE **
>>>
>>> Disable the HID driver to make it available.
>>>
>>> Either unload the driver or write a small program to call
>>> usb_detach_driver_np() in libusb, or the equivalent in libhid.
>>
>> Matthias,
>>
>> Peter is right, but by running the test program, you detached the
>> driver. Try running lsusb again.
>
>
> _______________________________________________
> libhid-discuss mailing list
> libhid-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss




More information about the libhid-discuss mailing list