Subject: Re: USB cordless optical mouse not working ???
To: Asmodehn <asmodehn@free.fr>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: netbsd-help
Date: 06/12/2006 18:35:16
--l76fUT7nc3MelDdI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 13, 2006 at 10:19:44AM +1200, Asmodehn wrote:
> Hi,
>=20
> I am runnin NetBSD on my laptop. My usual "mouse" device is the builtin t=
ouchpad.
> Works fine as wsmouse0 for the console and X.
>=20
> But when I plug in my USB Cordless Mouse (MS), although it is recognised =
fine as
>=20
> uhidev0 at uhub1 port 1 configuration 1 interface 0
> uhidev0: Microsoft Microsoft USB Wireless Mouse, rev 2.00/0.17, addr 2, i=
class 3/1
> uhidev0: 23 report ids
> ums0 at uhidev0 reportid 17: 5 buttons and Z dir.
> wsmouse1 at ums0 mux 0

So, you have a ums(4) attaching.  I should be working.

> uhid0 at uhidev0 reportid 18: input=3D0, output=3D0, feature=3D1
> uhid1 at uhidev0 reportid 19: input=3D1, output=3D0, feature=3D0
> uhid2 at uhidev0 reportid 20: input=3D1, output=3D0, feature=3D0
> uhid3 at uhidev0 reportid 21: input=3D3, output=3D0, feature=3D0
> uhid4 at uhidev0 reportid 23: input=3D0, output=3D0, feature=3D1

I'd like to see the reports these give:

create the device for uhid4:
# cd /dev && ./MAKEDEV uhid4 && cd

print out the reports:
#!/bin/sh
for i in `seq 0 4`; do
echo -e \\nuhid$i\:;
usbhidctl -f /dev/uhid$i -v -r;
done

Assuming that there isn't something wrong with the device and/or NetBSD,
I'm thinking that perhaps it may need to be manually enabled or something.

>=20
> I dont have any input in X (yes I have /dev/wsmouse as input) or in the c=
onsole.
>=20
> Does anyone have any Idea where that might came from, and how I can track=
 it down ??
> Or Anyone who has this nice little mouse working ?
>=20
> I am tired of the touchpad :p
>=20
> Thanks a lot,
>=20
> --
> Asmodehn

	Jonathan Kollasch

--l76fUT7nc3MelDdI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFEjfo0Ojx1ye3hmokRAjyPAJ9BRTjZu45J3GFZ05IB7wEG1frVfwCglnpH
bjJs3jlxjA5uwrFWEXqZ3Wg=
=JLS5
-----END PGP SIGNATURE-----

--l76fUT7nc3MelDdI--