From owner-freebsd-stable@FreeBSD.ORG Wed Mar 23 20:50:04 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D771816A4CE for ; Wed, 23 Mar 2005 20:50:04 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9599143D31 for ; Wed, 23 Mar 2005 20:50:03 +0000 (GMT) (envelope-from marius.nuennerich@gmx.net) Received: (qmail invoked by alias); 23 Mar 2005 20:50:01 -0000 Received: from pD9E5FF92.dip.t-dialin.net (EHLO olaf.hackerzberg.dyndns.org) [217.229.255.146] by mail.gmx.net (mp001) with SMTP; 23 Mar 2005 21:50:01 +0100 X-Authenticated: #5707313 Date: Wed, 23 Mar 2005 21:49:55 +0100 From: Marius =?ISO-8859-1?Q?N=FCnnerich?= To: freebsd-stable@freebsd.org 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> X-Mailer: Sylpheed-Claws 1.0.3 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Signature_Wed__23_Mar_2005_21_49_55_+0100_FYrIzv_uF488cyHx; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Y-GMX-Trusted: 0 Subject: Re: USB Mouse not working X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 20:50:05 -0000 --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 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--