steps to communicate with USB HID device ?

Hi
How can i communicate with a custom hid device (in report=30 bytes , out
report =20 bytes)

What drivers should i load ,
How to open a device and send /receive data to it ?

Johan

“Sagaert Johan” <sagaert.j@belgacom.net> wrote in message
news:d7cehk$90i$1@inn.qnx.com

Hi
How can i communicate with a custom hid device (in report=30 bytes , out
report =20 bytes)

What drivers should i load ,
How to open a device and send /receive data to it ?

Johan

i already came so far in knowing what rivers to load

io-usb -duhci
waitfor /dev/io-usb/io-usb
io-hid -dusb

hidview -R

HIDD v1.00, v1.00 DDK

Device Address : 0
Vendor : 0x4242 (USB Design By Example)
Product : 0x0100 (Buttons & Lights)
Version : r1.10
Usage : Undefined
Report Information :
06 00 ff Usage Page()
09 01 Usage(Undefined)
a1 01 Collection(Application)
19 01 Usage Min(1)
29 08 Usage Max(8)
15 00 Logical Min(0)
25 01 Logical Max(1)
75 01 Report Size(1)
95 08 Report Count(8)
81 02 Input(Data,Variable,Absolute)
19 01 Usage Min(1)
29 08 Usage Max(8)
91 02 Output(Data,Variable,Absolute)
c0 End Collection

hidview -a show me the data my device generates.
What sequence of usb api’s should i use to achieve the same as hidview -a
?
Is there a HID layer library ?

Johan

Hi Johan…

Go to this web page:

http://www.ces.clemson.edu/~cvilas/projects/wingman3d/wingman.htm

and you should see something of interest. There is a to-be-published HID
DDK; please send me an email requesting information.

Regards…

Miguel.


Sagaert Johan wrote:

“Sagaert Johan” <> sagaert.j@belgacom.net> > wrote in message
news:d7cehk$90i$> 1@inn.qnx.com> …

Hi
How can i communicate with a custom hid device (in report=30 bytes , out
report =20 bytes)

What drivers should i load ,
How to open a device and send /receive data to it ?

Johan



i already came so far in knowing what rivers to load

io-usb -duhci
waitfor /dev/io-usb/io-usb
io-hid -dusb

hidview -R

HIDD v1.00, v1.00 DDK

Device Address : 0
Vendor : 0x4242 (USB Design By Example)
Product : 0x0100 (Buttons & Lights)
Version : r1.10
Usage : Undefined
Report Information :
06 00 ff Usage Page()
09 01 Usage(Undefined)
a1 01 Collection(Application)
19 01 Usage Min(1)
29 08 Usage Max(8)
15 00 Logical Min(0)
25 01 Logical Max(1)
75 01 Report Size(1)
95 08 Report Count(8)
81 02 Input(Data,Variable,Absolute)
19 01 Usage Min(1)
29 08 Usage Max(8)
91 02 Output(Data,Variable,Absolute)
c0 End Collection

hidview -a show me the data my device generates.
What sequence of usb api’s should i use to achieve the same as hidview -a
?
Is there a HID layer library ?

Johan