Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2005 21:49:55 +0100
From:      Marius =?ISO-8859-1?Q?N=FCnnerich?= <marius.nuennerich@gmx.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: USB Mouse not working
Message-ID:  <20050323214955.6fdc2bcf@olaf.hackerzberg.dyndns.org>
In-Reply-To: <200503220146.aa36398@salmon.maths.tcd.ie>
References:  <20050321102334.44abcc37@olaf.hackerzberg.dyndns.org> <200503220146.aa36398@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature_Wed__23_Mar_2005_21_49_55_+0100_FYrIzv_uF488cyHx
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Tue, 22 Mar 2005 01:46:19 +0000
Ian Dowse <iedowse@maths.tcd.ie> wrote:
>=20
> I'm not sure I do either :-) On a mouse I tried here I got very
> different information than that:
>=20
> Report descriptor:
> Collection page=3DGeneric_Desktop usage=3DMouse
> Collection page=3DGeneric_Desktop usage=3DPointer
> Input   size=3D1 count=3D1 page=3DButton usage=3DButton_1, logical range =
0..1
> Input   size=3D1 count=3D1 page=3DButton usage=3DButton_2, logical range =
0..1
> Input   size=3D1 count=3D1 page=3DButton usage=3DButton_3, logical range =
0..1
> Input   size=3D8 count=3D1 page=3DGeneric_Desktop usage=3DX, logical range
-127..127
> Input   size=3D8 count=3D1 page=3DGeneric_Desktop usage=3DY, logical range
-127..127
> Input   size=3D8 count=3D1 page=3DGeneric_Desktop usage=3DWheel, logical =
range
-127..127
> End collection
> Feature size=3D1 count=3D1 page=3DGeneric_Desktop usage=3DMotion_Wakeup,
logical range 0..1
> End collection
> Total   input size 4 bytes
> Total  output size 0 bytes
> Total feature size 0 bytes
>=20
> But I don't know enough about how this is supposed to work to make
> sense of the difference.

I got similar output, when I plug in that mouse with
hw.usb.ums.debug=3D99:
ums0: Device USB Device, rev 1.10/0.01, addr 2, iclass 3/1
ums_attach: bLength=3D7 bDescriptorType=3D5 bEndpointAddress=3D2-in
bmAttributes=3D3 wMa xPacketSize=3D5 bInterval=3D10
ums0: 5 buttons and Z dir and a TILT dir.
ums_attach: sc=3D0xc1a14000
ums_attach: X   8/8
ums_attach: Y   16/8
ums_attach: Z   24/8
ums_attach: B1  0/1
ums_attach: B2  1/1
ums_attach: B3  2/1
ums_attach: B4  3/1
ums_attach: B5  4/1
ums_attach: size=3D9, id=3D3

The TILT dir is caused by the hardcoded=20
sc->flags |=3D UMS_T;

Has anyone an idea what to do next?
I suppose I can't do anything in ums.c, as it gets the (to few) data
from another file.

thanks
Marius

--Signature_Wed__23_Mar_2005_21_49_55_+0100_FYrIzv_uF488cyHx
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCQdZ4Fqu2z7AvZZQRAgmHAKCCJzHu/FwENw+g3Til+rS4tsdJjQCgvzdL
YYUAtVeNQoIzEGzsA7DRBt4=
=2FOz
-----END PGP SIGNATURE-----

--Signature_Wed__23_Mar_2005_21_49_55_+0100_FYrIzv_uF488cyHx--



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