2010/10/24 Roland Smith <rsm...@xs4all.nl>: > On Sun, Oct 24, 2010 at 10:36:16AM +0200, David DEMELIER wrote: >> Hello folks; >> >> I have a USB remote >> (http://www.ortek.com/upimg/200732111364392163.jpg). It's an auvisio >> VRC-1100 Ro, there is no much information on it. It's recognized as a >> simple keyboard and mouse. >> >> The buttons sends some keypress events like "p" "enter" and numbers, >> but there is also multimedia keys, these don't send keypress events so >> I guess this is send via the HID device but I don't know how I can use >> them on FreeBSD. >> >> This is the message when I plug the remote controller. >> ugen2.2: <vendor 0x05a4> at usbus2 >> ukbd0: <vendor 0x05a4 product 0x9881, class 0/0, rev 1.10/1.10, addr >> 2> on usbus2 >> kbd2 at ukbd0 >> ums1: <vendor 0x05a4 product 0x9881, class 0/0, rev 1.10/1.10, addr 2> on >> usbus2 >> ums1: 5 buttons and [XYZ] coordinates ID=1 >> >> What can I try for the multimedia keys ? > > Try using usbhidctl(1) to see if the multimedia keys generate data. In the > file > /usr/share/misc/usb_hid_usages you can find some possible actions. > > If you have found the values that the multimedia keys give, you can use > usbhidaction(1) to execute commands when certain values appear on a HID. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) >
Thanks for your answer, I tried usbhidctl(1) like this : mark...@abricot ~ $ sudo usbhidctl -f /dev/ugen2.2 -a usbhidctl: USB_GET_REPORT_DESC Is this behavior expected? -- Demelier David _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"