charlysquare_at_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 _at__at_ -412,7 +412,7 _at__at_ 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 _at__at_ -194,7 +194,7 _at__at_ ret = UMATCH_NONE; free(desc, M_TEMP); - return (ret); + return (UMATCH_IFACECLASS); } USB_ATTACH(ums) -- -SørenReceived on Tue Mar 16 2004 - 08:04:08 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC