From owner-freebsd-usb@FreeBSD.ORG Wed Feb 10 22:42:33 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 BE56210656C7 for ; Wed, 10 Feb 2010 22:42:33 +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 36A5C8FC0A for ; Wed, 10 Feb 2010 22:42:33 +0000 (UTC) Received: (qmail invoked by alias); 10 Feb 2010 22:42:31 -0000 Received: from e181222010.adsl.alicedsl.de (EHLO klausdieter0815.dyndns.org) [85.181.222.10] by mail.gmx.com (mp-eu001) with SMTP; 10 Feb 2010 23:42:31 +0100 X-Authenticated: #56306756 X-Provags-ID: V01U2FsdGVkX1/cb2cOYnfco3hXHJQXbjWv11p30AxUxwbeuV/LMc eKvWsk8DxntY65 Received: by myhost.mydomain.de (Postfix, from userid 1001) id 28D48D10B; Wed, 10 Feb 2010 23:42:31 +0100 (CET) From: Christof Schulze To: freebsd-usb@freebsd.org Date: Wed, 10 Feb 2010 23:42:30 +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="nextPart1307720.F0noYAbuuL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201002102342.30832.christof.schulze@gmx.com> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.81999999999999995 Subject: Fwd: Re: 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 22:42:33 -0000 --nextPart1307720.F0noYAbuuL Content-Type: multipart/mixed; boundary="Boundary-01=_WZzcLRKGQ16m1BW" Content-Transfer-Encoding: 7bit --Boundary-01=_WZzcLRKGQ16m1BW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline sorry, I forgot to cc the list. Since I just got the welcome to the - usb@freebsd.org Mailinglist, this mess should stop now Christof =2D-=20 () ascii ribbon campaign - against html e-mail=20 /\ www.asciiribbon.org - against proprietary attachments --Boundary-01=_WZzcLRKGQ16m1BW Content-Type: message/rfc822; name="forwarded message" Content-Transfer-Encoding: 7bit Content-Description: Christof Schulze : Re: Driver for LEDs on Logitech MX610 Content-Disposition: inline From: Christof Schulze To: Hans Petter Selasky Subject: Re: Driver for LEDs on Logitech MX610 Date: Wed, 10 Feb 2010 23:08:35 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) References: <201002100159.54463.christof.schulze@gmx.com> <201002100917.21185.hselasky@c2i.net> In-Reply-To: <201002100917.21185.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3750005.XApJz6uckp"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201002102308.39790.christof.schulze@gmx.com> X-UID: 3823 X-GMX-UID: eQhFAohtQEVSP3MaMnZpTklPNzg2NYIE X-Flags: 1001 X-Length: 3041 --nextPart3750005.XApJz6uckp Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Hello, > Have you looked at libusb? I had not looked at it. I have to admit that I made a mistake concerning th= e=20 device names. This is what the kernel finds when plugging in the device: ugen0.3: at usbus0 ums0: on usbus0 ums0: 16 buttons and [XYZ] coordinates ID=3D0 uhid0: on usbus0 so the led-device gets recognized as uhid0. Maybe that is why that your sam= ple=20 code from http://archive.netbsd.se/?ml=3Dfreebsd-usb&a=3D2008-12&t=3D9232208 never returns from a libusb20_dev_wait_process in do_io()? Now I am unsure whether I should stick with hid or fully get rid of it :) Considering the fact that the author of libusb seems to be willing to help = &=20 considering the state of the usbhid documentation I am tempted to get rid o= f=20 it.=20 In that case I would have to convince the kernel that this is not a hid dri= ve=20 and create different device class. How would I go about that? After all I would find it cool if it worked for *my* mouse but it would be= =20 much cooler if other people could use that software too. Please be easy on = me=20 if this is a beginners question - but that is what I am as this is my first= =20 attempt for doing some FreeBSD-specific coding. > what version of FreeBSD are you using? This is a 8_RELENG system. Regards Christof =2D-=20 () ascii ribbon campaign - against html e-mail=20 /\ www.asciiribbon.org - against proprietary attachments --nextPart3750005.XApJz6uckp 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) iEYEABECAAYFAktzLmcACgkQpZfyPAmdZJnpvwCeKliuHLtxjOUpALXvzfUicwFd 3YYAn2oqkVSfdIVOgwbeW+eX/eTWtGkq =cf3H -----END PGP SIGNATURE----- --nextPart3750005.XApJz6uckp-- --Boundary-01=_WZzcLRKGQ16m1BW-- --nextPart1307720.F0noYAbuuL 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) iEYEABECAAYFAktzNlYACgkQpZfyPAmdZJnoQwCbBylhH81sa0WibcCvO1ieBCC3 swAAnRxCe8jCFwRcW8ttKs/sC2OO8fjS =k/vI -----END PGP SIGNATURE----- --nextPart1307720.F0noYAbuuL--