Hello,

I Ketut Mustika Wiguna wrote:
> I am new to libhid and in USB device.
> 
> I have problem when I try to write and read data to the USB HID
> device, actually, I just want to read and write data to the USB.

That is not possible.

USB is a protocol with many(!!) layers.

They should be understood to be used best.

That said, in Linux, you can try using the hidraw API. There isn't a
lot of documentation even in the kernel sources, but use google and
you'll find some. One particular project is about the PS3 controller.
It has some source code which should be easy to understand.


//Peter

_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Reply via email to