From owner-freebsd-questions@FreeBSD.ORG Sun Oct 24 21:39:50 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 52725106566C for ; Sun, 24 Oct 2010 21:39:50 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id BAEBD8FC15 for ; Sun, 24 Oct 2010 21:39:49 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id o9OLdmHY016572; Sun, 24 Oct 2010 23:39:48 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id E7088BAB7; Sun, 24 Oct 2010 23:39:47 +0200 (CEST) Date: Sun, 24 Oct 2010 23:39:47 +0200 From: Roland Smith To: David DEMELIER Message-ID: <20101024213947.GA51436@slackbox.erewhon.net> References: <20101024154850.GA43549@slackbox.erewhon.net> <20101024203051.GA49563@slackbox.erewhon.net> <20101024204239.GA50108@slackbox.erewhon.net> <20101024211527.GA50666@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" 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:39:50 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 24, 2010 at 11:19:25PM +0200, David DEMELIER wrote: > >> >> >> >> 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 acti= ons. > >> >> >> > > >> >> >> > If you have found the values that the multimedia keys give, yo= u can 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? > >> >> 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 invoc= ation. > markand@Abricot ~ $ sudo usbhidctl -f /dev/ugen2.2 -l -v Keyboard > usbhidctl: USB_GET_REPORT_DESC >=20 > I think this remote needs some quirks or a full driver for it. :-( Could very well be. I don't have any HI devices at hand to test. 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) --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzEp6MACgkQEnfvsMMhpyUPvgCfXI5fBY9ZCQRpwYDhT6Gveezd 7d0Ani14Ym0FJg1cpZzTAblmYM9lT88o =FCKp -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--