From owner-freebsd-questions@FreeBSD.ORG Sun Oct 24 21:19:27 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 E31451065679 for ; Sun, 24 Oct 2010 21:19:26 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7185F8FC27 for ; Sun, 24 Oct 2010 21:19:25 +0000 (UTC) Received: by wwe15 with SMTP id 15so84601wwe.1 for ; Sun, 24 Oct 2010 14:19:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uURFD6vLYv6+eyql8MJg7eorkVahYzch7VlQSHM/rCQ=; b=WvQR+nwKaQgONoOXrS1HupUpNjjjbivbIAZKOmD95aNuFVM4FKo9kMS9R1Df1e3ubw F3KFnsF2jYGC2Opvz15QKFZPKS2g7GeiyFF91nnBPxlevoPik5+/iLzBnU3NEDXsmc8A 4+vDDXSkXzuyPiKFcPMNE+Ln8z5mcWCasKFGc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=nvI0Fi8GQB8uLj+f/I0e5tk3jJ9I5WQPEfzz0TntFZfIv9I9muJg8h5k8/Zp8igl5b V/wqD2GkTHlJ1Q6c1LbQxatgN+iuIVEH/Lpg8XNz92kzoCq87btNA4q3OHDgVZKNo6rV ODxDWRgfQaCydNamUI1iolMsRDUgubcz66njE= MIME-Version: 1.0 Received: by 10.216.182.202 with SMTP id o52mr5363798wem.29.1287955165164; Sun, 24 Oct 2010 14:19:25 -0700 (PDT) Received: by 10.216.73.198 with HTTP; Sun, 24 Oct 2010 14:19:25 -0700 (PDT) In-Reply-To: <20101024211527.GA50666@slackbox.erewhon.net> References: <20101024154850.GA43549@slackbox.erewhon.net> <20101024203051.GA49563@slackbox.erewhon.net> <20101024204239.GA50108@slackbox.erewhon.net> <20101024211527.GA50666@slackbox.erewhon.net> Date: Sun, 24 Oct 2010 23:19:25 +0200 Message-ID: From: David DEMELIER To: Roland Smith Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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:19:27 -0000 2010/10/24 Roland Smith : > 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 da= ta. In the file >> >> >> > /usr/share/misc/usb_hid_usages you can find some possible action= s. >> >> >> > >> >> >> > If you have found the values that the multimedia keys give, you = can use >> >> >> > usbhidaction(1) to execute commands when certain values appear o= n 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 invocat= ion. > > 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) > markand@Abricot ~ $ sudo usbhidctl -f /dev/ugen2.2 -l -v Keyboard usbhidctl: USB_GET_REPORT_DESC I think this remote needs some quirks or a full driver for it. :-( --=20 Demelier David