Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 13:58:52 +0200
From:      "Jindra Fucik" <fulda@seznam.cz>
To:        <freebsd-usb@freebsd.org>
Subject:   uhid
Message-ID:  <032801c6525e$fbf049b0$94c89109@PC2088>

next in thread | raw e-mail | index | archive | help
Hi list,

do anybody any tests with uhid devices?

I have little problem with my device. Device is general uhid
- based on pic16c745 chipset
- http://ww1.microchip.com/downloads/en/devicedoc/41124c.pdf
- chapter 9 USB commands

I'm able to read status from device, but I have problem with write from PC 
to device.

My steps are:
- create buffer (malloc, hid_report_size)
- fill all buffer with zeroes
- fill data (hid_set_data)
- write buffer to device (write)
- close device (close)

question is - anybody have expeerience with writing to uhid device? is it 
true to write wia write command? is it interrupt write?

Thank for help

jindra




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?032801c6525e$fbf049b0$94c89109>