From owner-freebsd-usb@FreeBSD.ORG Wed Feb 10 00:59:57 2010 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EA201065672 for ; Wed, 10 Feb 2010 00:59:57 +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 CE57C8FC1E for ; Wed, 10 Feb 2010 00:59:56 +0000 (UTC) Received: (qmail invoked by alias); 10 Feb 2010 00:59:55 -0000 Received: from e181218153.adsl.alicedsl.de (EHLO klausdieter0815.dyndns.org) [85.181.218.153] by mail.gmx.com (mp-eu005) with SMTP; 10 Feb 2010 01:59:55 +0100 X-Authenticated: #56306756 X-Provags-ID: V01U2FsdGVkX1+0eH5ppsy0sK0yrRBm3INh06T+P84Rj6q5Imaaki gKwZ4h5YJZTfHh Received: by myhost.mydomain.de (Postfix, from userid 1001) id 14FAF98A2; Wed, 10 Feb 2010 01:59:55 +0100 (CET) From: Christof Schulze To: usb@freebsd.org Date: Wed, 10 Feb 2010 01:59:49 +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="nextPart14765308.XWydfRCKgH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201002100159.54463.christof.schulze@gmx.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 Cc: 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 00:59:57 -0000 --nextPart14765308.XWydfRCKgH 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=20 usage,=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=20 those=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=20 know=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 --nextPart14765308.XWydfRCKgH 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) iEYEABECAAYFAktyBQoACgkQpZfyPAmdZJmAgACglSnM593OZJTB18KJvXWHaa64 3zMAoOO18WfCzg4sQFy2xkeNl1vCw/1R =pWHW -----END PGP SIGNATURE----- --nextPart14765308.XWydfRCKgH--