Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2004 18:03:50 +0100
From:      =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk>
To:        charlysquare@altern.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: Memorex Cordless Mouse + Keyboard
Message-ID:  <40573376.6020604@DeepCore.dk>
In-Reply-To: <20040316163538.773D043D2F@mx1.FreeBSD.org>
References:  <20040316163538.773D043D2F@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
charlysquare@altern.org wrote:

>>Hi,
>>I've got a RF7000 memorex USB mouse + keyboard. Both are 
>>communicating with a usb receptor. My keyboard is recognized, 
>>but my mouse doesn't work. 
>>device ums is in my kernel, my XF86Config has got 
>>/dev/sysmouse and protocol auto, i've got the last ohci 
>>driver installed..
>>
>>dmesg | grep ums gives nothing... usbd seems to be running in 
>>processes, but moused don't seem to be present... 

I use the following hack with a wireless Fujitsu-Siemens USB kbd+mouse 
here, maybe that helps..



cvs diff: Diffing .
Index: hid.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/hid.c,v
retrieving revision 1.23
diff -u -r1.23 hid.c
--- hid.c       24 Aug 2003 17:55:54 -0000      1.23
+++ hid.c       30 Oct 2003 11:56:44 -0000
@@ -412,7 +412,7 @@
  u_long
  hid_get_data(u_char *buf, struct hid_location *loc)
  {
-       u_int hpos = loc->pos;
+       u_int hpos = loc->pos - 40;;
         u_int hsize = loc->size;
         u_int32_t data;
         int i, s;
Index: ums.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/usb/ums.c,v
retrieving revision 1.66
diff -u -r1.66 ums.c
--- ums.c       21 Feb 2004 21:10:49 -0000      1.66
+++ ums.c       22 Feb 2004 10:33:31 -0000
@@ -194,7 +194,7 @@
                 ret = UMATCH_NONE;

         free(desc, M_TEMP);
-       return (ret);
+       return (UMATCH_IFACECLASS);
  }

  USB_ATTACH(ums)


-- 
-Søren



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