how to let hid device work ?
Polytropon
freebsd at edvax.de
Thu May 9 14:12:25 UTC 2019
On Wed, 8 May 2019 18:08:32 +0800, 李周华 via freebsd-questions wrote:
> Now i have a hid device keybord
> how to config let this device work ?
> it's connect to computer via usb port.
Just guessing, as you did not provide brand and model of the
keyboard or system recognition messages, or which FreeBSD system
version you're using...
If it is a USB keyboard, it should be recognized by the ukbd driver
(USB keyboard driver). You can use the "usbconfig" program to find
out more about the device, and "usbhidctl" and "usbhidaction" for
HID control. See the corresponding manuals for details.
Examples from "dmesg" output:
ugen1.3: <EIZO> at usbus1
uhid0: <EIZO USB Monitor Function,
class 0/0, rev 1.00/1.10, addr 3> on usbus1
This is the HID component of an EIZO monitor.
ukbd0 on uhub8
ukbd0: <Mitsumi Electric Apple Extended USB Keyboard,
class 0/0, rev 1.10/4.10, addr 5> on usbus2
kbd2 at ukbd0
This is a USB keyboard.
When attaching the keyboard to your system, you should see
something similar.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list