NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/44634: [SOLUTION] Microsoft Natural Mouse 6000 wheel does not work and sends strange keys



The following reply was made to PR kern/44634; it has been noted by GNATS.

From: Julian Fagir <gnrp%komkon2.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: misc/44634: [SOLUTION] Microsoft Natural Mouse 6000 wheel does
 not work and sends strange keys
Date: Sat, 12 Mar 2011 03:56:25 +0100

 --MP_/zTXT.c+FRk2g3.HRM=uj2GT
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Hi,
 
 finally, my mouse works.
 The problem was the same as it was apparently with the Microsoft Wireless
 Mosue 6000 - a shifted report.
 Thus, applying the two patches below, the mouse works fine and without any
 problems. :)
 I would be happy if someone would commit it, as there are possibly others who
 will run into that trap, too.
 
 By the way, I think, one has to think how to handle these problems in the
 future. There seem to be more of these mice arising from Microsoft, and
 waiting for each to come out and then testing for the USB-model is perhaps
 not the best way.
 
 Regards, Julian
 --MP_/zTXT.c+FRk2g3.HRM=uj2GT
 Content-Type: text/x-patch
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename=ums.diff
 
 --- sys/dev/usb/ums.c.orig     2011-03-12 03:54:55.000000000 +0100
 +++ sys/dev/usb/ums.c  2011-03-12 03:22:51.000000000 +0100
 @@ -288,7 +288,8 @@
         */
        if (uha->uaa->vendor =3D=3D USB_VENDOR_MICROSOFT &&
            (uha->uaa->product =3D=3D USB_PRODUCT_MICROSOFT_24GHZ_XCVR10 ||
 -           uha->uaa->product =3D=3D USB_PRODUCT_MICROSOFT_24GHZ_XCVR20)) {
 +           uha->uaa->product =3D=3D USB_PRODUCT_MICROSOFT_24GHZ_XCVR20 ||
 +           uha->uaa->product =3D=3D USB_PRODUCT_MICROSOFT_NATURAL_6000)) {=09
                if ((sc->flags & UMS_Z) && sc->sc_loc_z.pos =3D=3D 0)
                        sc->sc_loc_z.pos =3D 24;
                if ((sc->flags & UMS_W) && sc->sc_loc_w.pos =3D=3D 0)
 
 --MP_/zTXT.c+FRk2g3.HRM=uj2GT
 Content-Type: text/x-patch
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment; filename=usbdevs.diff
 
 --- sys/dev/usb/usbdevs.h.orig 2011-03-12 03:49:15.000000000 +0100
 +++ sys/dev/usb/usbdevs.h      2011-03-12 03:48:52.000000000 +0100
 @@ -1858,6 +1858,7 @@
  #define       USB_PRODUCT_MICROSOFT_XBOX_CONTROLLER_S12       0x0289          
/* Xbox Controll=
 er S (1.2) */
  #define       USB_PRODUCT_MICROSOFT_24GHZ_XCVR10      0x071d          /* 
2.4GHz Transceiver V=
 1.0 */
  #define       USB_PRODUCT_MICROSOFT_24GHZ_XCVR20      0x071f          /* 
2.4GHz Transceiver V=
 2.0 */
 +#define       USB_PRODUCT_MICROSOFT_NATURAL_6000      0x00e1          /* 
Microsoft Natural Wi=
 reless Mouse 6000 */
 =20
  /* Microtech products */
  #define       USB_PRODUCT_MICROTECH_SCSIDB25  0x0004          /* 
USB-SCSI-DB25 */
 
 --MP_/zTXT.c+FRk2g3.HRM=uj2GT--
 


Home | Main Index | Thread Index | Old Index