|
Lines 35-41
Link Here
|
| 35 |
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
35 |
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| 36 |
.\" POSSIBILITY OF SUCH DAMAGE. |
36 |
.\" POSSIBILITY OF SUCH DAMAGE. |
| 37 |
.\" |
37 |
.\" |
| 38 |
.Dd July 12, 1998 |
38 |
.Dd September 20, 2006 |
| 39 |
.Dt USBHIDCTL 1 |
39 |
.Dt USBHIDCTL 1 |
| 40 |
.Os |
40 |
.Os |
| 41 |
.Sh NAME |
41 |
.Sh NAME |
|
Lines 51-63
Link Here
|
| 51 |
.Op Fl t Ar table |
51 |
.Op Fl t Ar table |
| 52 |
.Op Fl v |
52 |
.Op Fl v |
| 53 |
.Op Ar item ... |
53 |
.Op Ar item ... |
|
|
54 |
.Nm |
| 55 |
.Fl f Ar device |
| 56 |
.Op t ar table |
| 57 |
.Fl w Ar name Ns = Ar value ... |
| 54 |
.Sh DESCRIPTION |
58 |
.Sh DESCRIPTION |
| 55 |
The |
59 |
The |
| 56 |
.Nm |
60 |
.Nm |
| 57 |
utility can be used to dump the state of a USB HID (Human Interface Device). |
61 |
utility can be used to dump or modify the state of a USB HID (Human Interface Device). |
| 58 |
Each named |
62 |
Each named |
| 59 |
.Ar item |
63 |
.Ar item |
| 60 |
is printed. |
64 |
is printed. |
|
|
65 |
If the |
| 66 |
.Fl w |
| 67 |
flag is specified |
| 68 |
.Nm |
| 69 |
attempts to set the specified items to the given values. |
| 61 |
.Pp |
70 |
.Pp |
| 62 |
The options are as follows: |
71 |
The options are as follows: |
| 63 |
.Bl -tag -width Ds |
72 |
.Bl -tag -width Ds |
|
Lines 67-72
Link Here
|
| 67 |
Specify a path name for the device to operate on. |
76 |
Specify a path name for the device to operate on. |
| 68 |
.It Fl l |
77 |
.It Fl l |
| 69 |
Loop and dump the device data every time it changes. |
78 |
Loop and dump the device data every time it changes. |
|
|
79 |
Only 'input' items are displayed in this mode. |
| 70 |
.It Fl n |
80 |
.It Fl n |
| 71 |
Suppress printing of the item name. |
81 |
Suppress printing of the item name. |
| 72 |
.It Fl r |
82 |
.It Fl r |
|
Lines 75-80
Link Here
|
| 75 |
Specify a path name for the HID usage table file. |
85 |
Specify a path name for the HID usage table file. |
| 76 |
.It Fl v |
86 |
.It Fl v |
| 77 |
Be verbose. |
87 |
Be verbose. |
|
|
88 |
.It Fl w |
| 89 |
Change item values. |
| 90 |
Only 'output' and 'feature' kinds can be set with this option. |
| 78 |
.El |
91 |
.El |
| 79 |
.Sh FILES |
92 |
.Sh FILES |
| 80 |
.Pa /usr/share/misc/usb_hid_usages |
93 |
.Pa /usr/share/misc/usb_hid_usages |
|
Lines 91-94
Link Here
|
| 91 |
.Sh BUGS |
104 |
.Sh BUGS |
| 92 |
The |
105 |
The |
| 93 |
.Nm |
106 |
.Nm |
| 94 |
utility cannot show nor set output and feature items. |
107 |
utility cannot show feature items. |