From owner-freebsd-questions@FreeBSD.ORG Sun Oct 24 21:15:29 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 D0C33106564A for ; Sun, 24 Oct 2010 21:15:29 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 472E98FC12 for ; Sun, 24 Oct 2010 21:15:28 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id o9OLFRbt098763; Sun, 24 Oct 2010 23:15:27 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 79AC4BAAC; Sun, 24 Oct 2010 23:15:27 +0200 (CEST) Date: Sun, 24 Oct 2010 23:15:27 +0200 From: Roland Smith To: David DEMELIER Message-ID: <20101024211527.GA50666@slackbox.erewhon.net> References: <20101024154850.GA43549@slackbox.erewhon.net> <20101024203051.GA49563@slackbox.erewhon.net> <20101024204239.GA50108@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" 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 21:15:29 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 24, 2010 at 11:01:25PM +0200, David DEMELIER wrote: > 2010/10/24 Roland Smith : > > On Sun, Oct 24, 2010 at 10:36:49PM +0200, David DEMELIER wrote: > >> 2010/10/24 Roland Smith : > >> > On Sun, Oct 24, 2010 at 10:12:34PM +0200, David DEMELIER wrote: > >> >> >> What can I try for the multimedia keys ? > >> >> > > >> >> > Try using usbhidctl(1) to see if the multimedia keys generate dat= a. 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 c= an use > >> >> > usbhidaction(1) to execute commands when certain values appear on= a HID. > >> > > >> >> 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? > >> > > >> > For a hub it is. > >> > > >> > What do you find in /var/run/dmesg.boot for ugen2.2? > >> > > >> > Roland > >> > > >> > >> This : > >> > >> markand@Abricot ~ $ grep -i ugen2.2 /var/run/dmesg.boot > >> ugen2.2: at usbus2 > > > > What is the line after it (try adding -A 1)? > ugen2.2: at usbus2 > ukbd0: 2> on usbus2 > kbd2 at ukbd0 Try adding the -l switch and the name "Keyboard" to the usbhidctl invocatio= n. 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) --UugvWAfsgieZRqgk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzEoe8ACgkQEnfvsMMhpyXvOACfQXNwMnEqMPFPl+1Zu9sPy/jW UsQAnj9wZOMW6FMkBO9AlmWddpfiaJ0o =u95/ -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk--