device uhid - read only device?

Jindra Fucik fulda at
Thu Jun 8 14:55:25 UTC 2006

Hi list,

I'm trying to create usb device based on PIC16C745 chip 

I have done test device (buttons and leds)

My device working as generic uhid device.

I have little problem with FreeBSD - if I have loaded device uhid, my device 
is recognized as /dev/uhid0 - it is OK, I can use
evzen# usbhidctl -f /dev/uhid0 -a
usbhidctl: device does not support immediate mode, only changes reported.

It is fine - I can read status of buttons etc.

Problem is writting to device.
I see, that there is api for write usbhid(3) - hid_set_data, but nobody 
using this.
I see, that usbhidctl are different than OpenBSD version - removed switch -w 
(write to device)

It is mean, that uhid under FreeBSD are "read only"???


More information about the freebsd-usb mailing list