[libhid-discuss] Help for my device

Charles Lepple clepple at ghz.cc
Mon May 14 18:32:03 UTC 2007


UCKUO wrote:
> Hello,
>
> I have a device which works in MS Windows environment. The device has a
> multi-color led to be lighted on.
> I used usbsnoopy to intercept the communication in Windows platform. I try
> to send the 8-byte code to the
> device to set the led light by using libhid. However, I can only drive the
> device at the first time when the device
> is plugged in. Other execution of the program won't change the led of the
> device.

Do you get an error message after the first time?

You might want to call hid_set_usb_debug() with a non-zero argument to
make sure the USB request is going through.

-- 
Charles Lepple





More information about the libhid-discuss mailing list