Date: Thu, 9 May 2019 16:06:52 +0200 From: Polytropon <freebsd@edvax.de> To: =?UTF-8?B?5p2O5ZGo5Y2O?= <ailee.email@icloud.com> Cc: =?UTF-8?B?5p2O5ZGo5Y2O?= via freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: how to let hid device work ? Message-ID: <20190509160652.c22fb0a1.freebsd@edvax.de> In-Reply-To: <20721531-893C-4D0A-BFAF-9B33EA9320B0@icloud.com> References: <20721531-893C-4D0A-BFAF-9B33EA9320B0@icloud.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190509160652.c22fb0a1.freebsd>