From owner-freebsd-questions@FreeBSD.ORG Sun Oct 24 15:48:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB535106566B for ; Sun, 24 Oct 2010 15:48:52 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 65D718FC1F for ; Sun, 24 Oct 2010 15:48:51 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id o9OFmoYs009759; Sun, 24 Oct 2010 17:48:50 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 79F8ABAA1; Sun, 24 Oct 2010 17:48:50 +0200 (CEST) Date: Sun, 24 Oct 2010 17:48:50 +0200 From: Roland Smith To: David DEMELIER Message-ID: <20101024154850.GA43549@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: Auvisio USB remote X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2010 15:48:53 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 24, 2010 at 10:36:16AM +0200, David DEMELIER wrote: > Hello folks; >=20 > 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. >=20 > 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. >=20 > This is the message when I plug the remote controller. > ugen2.2: at usbus2 > ukbd0: 2> on usbus2 > kbd2 at ukbd0 > ums1: on= usbus2 > ums1: 5 buttons and [XYZ] coordinates ID=3D1 >=20 > What can I try for the multimedia keys ? =20 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 --=20 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) --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzEVWIACgkQEnfvsMMhpyU9ugCeMxobNmyBZ7yIx/MG/+DaMMUT oFMAnAqGs7/s18R81JG5vWgGjahm5+CJ =ieh7 -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--