Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2010 23:42:30 +0100
From:      Christof Schulze <christof.schulze@gmx.com>
To:        freebsd-usb@freebsd.org
Subject:   Fwd: Re: Driver for LEDs on Logitech MX610
Message-ID:  <201002102342.30832.christof.schulze@gmx.com>

next in thread | raw e-mail | index | archive | help
--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 <christof.schulze@gmx.com>: Re: Driver
	for LEDs on Logitech MX610
Content-Disposition: inline

From: Christof Schulze <christof.schulze@gmx.com>
To: Hans Petter Selasky <hselasky@c2i.net>
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: <Logitech> at usbus0
ums0: <Logitech USB Receiver, class 0/0, rev 2.00/42.00, addr 3> on usbus0
ums0: 16 buttons and [XYZ] coordinates ID=3D0
uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/42.00, addr 3> 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--



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