Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2010 23:15:27 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        David DEMELIER <demelier.david@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Auvisio USB remote
Message-ID:  <20101024211527.GA50666@slackbox.erewhon.net>
In-Reply-To: <AANLkTin7EtB6hH%2BX%2Ba2b7DW_uPFvDiSippYmA3dzvoyn@mail.gmail.com>
References:  <AANLkTim_mR2PFPenWnx5E%2BK4%2BrCbHAcrW6=n-f5qns=h@mail.gmail.com> <20101024154850.GA43549@slackbox.erewhon.net> <AANLkTi=%2BjTEE6c8zUbF61UOKKf%2BGG=V3nyiM8dJx6cO7@mail.gmail.com> <20101024203051.GA49563@slackbox.erewhon.net> <AANLkTimknD-qLMd=%2BymRAqd-p1cK=_XoaROVnnDthRCy@mail.gmail.com> <20101024204239.GA50108@slackbox.erewhon.net> <AANLkTin7EtB6hH%2BX%2Ba2b7DW_uPFvDiSippYmA3dzvoyn@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <rsmith@xs4all.nl>:
> > On Sun, Oct 24, 2010 at 10:36:49PM +0200, David DEMELIER wrote:
> >> 2010/10/24 Roland Smith <rsmith@xs4all.nl>:
> >> > 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: <vendor 0x05a4> at usbus2
> >
> > What is the line after it (try adding -A 1)?

> 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

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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101024211527.GA50666>