Date: Sun, 24 Oct 2010 22:12:34 +0200 From: David DEMELIER <demelier.david@gmail.com> To: Roland Smith <rsmith@xs4all.nl> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Auvisio USB remote Message-ID: <AANLkTi=%2BjTEE6c8zUbF61UOKKf%2BGG=V3nyiM8dJx6cO7@mail.gmail.com> In-Reply-To: <20101024154850.GA43549@slackbox.erewhon.net> References: <AANLkTim_mR2PFPenWnx5E%2BK4%2BrCbHAcrW6=n-f5qns=h@mail.gmail.com> <20101024154850.GA43549@slackbox.erewhon.net>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/10/24 Roland Smith <rsmith@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> o= n usbus2 >> ums1: 5 buttons and [XYZ] coordinates ID=3D1 >> >> What can I try for the multimedia keys ? > > Try using usbhidctl(1) to see if the multimedia keys generate data. In th= e 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 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.xs4all.n= l/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 =C2=A0B7CE 1277 EFB0 C321 A725 (KeyID: C321= A725) > Thanks for your answer, I tried usbhidctl(1) like this : markand@Abricot ~ $ sudo usbhidctl -f /dev/ugen2.2 -a usbhidctl: USB_GET_REPORT_DESC Is this behavior expected? --=20 Demelier David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=%2BjTEE6c8zUbF61UOKKf%2BGG=V3nyiM8dJx6cO7>