From owner-freebsd-usb@FreeBSD.ORG Wed Feb 10 01:27:04 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4894D106566C for ; Wed, 10 Feb 2010 01:27:04 +0000 (UTC) (envelope-from christof.schulze@gmx.com) Received: from mailout-eu.gmx.com (mailout-eu.gmx.com [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id A467C8FC15 for ; Wed, 10 Feb 2010 01:27:03 +0000 (UTC) Received: (qmail invoked by alias); 10 Feb 2010 01:27:02 -0000 Received: from e181222010.adsl.alicedsl.de (EHLO klausdieter0815.dyndns.org) [85.181.222.10] by mail.gmx.com (mp-eu003) with SMTP; 10 Feb 2010 02:27:02 +0100 X-Authenticated: #56306756 X-Provags-ID: V01U2FsdGVkX1/TK8xe/R7TT4XfznIV8VEDbBRcaWJiUKunhWkC3Q lAqW8HGnJR9p1z Received: by myhost.mydomain.de (Postfix, from userid 1001) id B5EDF9A1A; Wed, 10 Feb 2010 02:25:37 +0100 (CET) From: Christof Schulze To: freebsd-usb@freebsd.org Date: Wed, 10 Feb 2010 02:25:33 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3936997.tTtWGuxrO3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201002100225.37444.christof.schulze@gmx.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 Subject: Driver for LEDs on Logitech MX610 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2010 01:27:04 -0000 --nextPart3936997.tTtWGuxrO3 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello everyone, currently I own a logitech mx610 which is a mouse that registers as two=20 separate USB devices (lsusb -vvv output [3]). One for the regular mouse usa= ge,=20 the other for controlling the LEDs that are on the mouse. They do register = as=20 ugen and ums device on FreeBSD. Since I find it cool I would like to use th= ose=20 LEDs for various notification purposes. There is a hack to make use of these LEDs on Linux available [1] which is n= ot=20 written with portability in mind from what I can tell. So I would like to g= et=20 this working on FreeBSD and looked into the matter. It seems like I want to= =20 control those LEDs using usbhid. The manpage however is quite sketchy and I= =20 cannot make heads or tails of it.=20 I would greatly appreciate some help in getting this to work. I'd like to k= now=20 what I have to do to the device to send the commands needed which are=20 represented by the control char array given in [1]. Thank you very much in advance. [1] http://www.kdedevelopers.org/node/2029 [2] http://lists.alioth.debian.org/pipermail/nut-upsdev/2008- January/002820.html [3] http://pastebin.com/f1c76b219 kind regards Christof =2D-=20 () ascii ribbon campaign - against html e-mail=20 /\ www.asciiribbon.org - against proprietary attachments --nextPart3936997.tTtWGuxrO3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEABECAAYFAktyCxEACgkQpZfyPAmdZJkGxQCeO+v3N2Z3d3jgClzpz8vb+Lv7 oocAoId4nZ4uMS1wmFeYQoHp39IOZQD7 =i8Vn -----END PGP SIGNATURE----- --nextPart3936997.tTtWGuxrO3--