Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2006 21:29:27 +0200
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        freebsd-hackers@freebsd.org,  freebsd-usb@freebsd.org
Subject:   anyone working on setting output items with usbhidctl(1) ?
Message-ID:  <450DA217.9080602@gmail.com>

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

is anyone working on setting output items with usbhidctl(1) ?

I'm trying to add LED/rumbler support for the Xbox 360 Gamepad to
uhid(4), but there doesn't seem to be a userland tool to test output
items and the output report descriptor doesn't seem to be publicly
available (i.e. I must reverse-engineer it).

This device has 4 LEDs which can be controlled with the command 01 03
xx, where xx ranges from 0 to 255.
It also has two rumble motors which can be controlled with 00 08 00 bb
ll 00 00 00, where bb and ll both range from 0 to 255.

I thought that something like -s "feature1=value1,feature2=value2,..."
would be nice to have.

I'm not subscribed to the usb@ list, so please cc me.

Kind regards,
Rene
-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?450DA217.9080602>