|
Lines 1-20
Link Here
|
| 1 |
============================================================================== |
1 |
============================================================================== |
| 2 |
|
2 |
|
| 3 |
To use uhidd daemon for USB hid devices, you need to remove 'device ums', |
3 |
To use uhidd daemon for USB HID devices, depends on which sub class |
| 4 |
'device ukbd', and 'device uhid' from your kernel config file and recompile |
4 |
driver you want to attach, to avoid confilicts between the daemon and |
| 5 |
the kernel. Or if these drivers are loaded as kernel modules, kldunload them. |
5 |
the kernel drivers, you need to remove some of these entries 'device |
|
|
6 |
ums', 'device ukbd', or 'device uhid' from your kernel config file and |
| 7 |
recompile the kernel. Or if these drivers are loaded as kernel |
| 8 |
modules, kldunload those that conflicts. |
| 6 |
|
9 |
|
| 7 |
If you want to run uhidd deamon at the startup, add the following lines to |
10 |
If you want to run uhidd deamon at the startup, add the following lines to |
| 8 |
/etc/rc.conf: |
11 |
/etc/rc.conf: |
| 9 |
|
12 |
|
| 10 |
uhidd_flags="-kmhs" |
13 |
uhidd_flags="-kmohs" |
| 11 |
uhidd_enable="YES" |
14 |
uhidd_enable="YES" |
| 12 |
|
15 |
|
|
|
16 |
Note that you need to modify the uhidd_flags (command line options) |
| 17 |
according to which sub class drivers you want to use. |
| 18 |
|
| 13 |
To manually start/stop uhidd daemon on certain device, run: |
19 |
To manually start/stop uhidd daemon on certain device, run: |
| 14 |
|
20 |
|
| 15 |
%%PREFIX%%/etc/rc.d/uhidd [start|stop] /dev/ugen.X.Y |
21 |
%%PREFIX%%/etc/rc.d/uhidd [start|stop] /dev/ugen.X.Y |
| 16 |
|
22 |
|
| 17 |
See http://wiki.freebsd.org/uhidd for more details about how to install and |
23 |
See http://wiki.FreeBSD.org/uhidd for more details about how to install and |
| 18 |
setup the daemon. |
24 |
setup the daemon. |
| 19 |
|
25 |
|
| 20 |
============================================================================== |
26 |
============================================================================== |