From owner-freebsd-current@FreeBSD.ORG Tue Mar 16 09:04:08 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68BE516A4CE for ; Tue, 16 Mar 2004 09:04:08 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EED043D3F for ; Tue, 16 Mar 2004 09:04:07 -0800 (PST) (envelope-from sos@DeepCore.dk) Received: from DeepCore.dk (sos.deepcore.dk [194.192.25.130]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i2GH3ocF007098; Tue, 16 Mar 2004 18:04:05 +0100 (CET) (envelope-from sos@DeepCore.dk) Message-ID: <40573376.6020604@DeepCore.dk> Date: Tue, 16 Mar 2004 18:03:50 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040126 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: charlysquare@altern.org References: <20040316163538.773D043D2F@mx1.FreeBSD.org> In-Reply-To: <20040316163538.773D043D2F@mx1.FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: freebsd-current@freebsd.org Subject: Re: Memorex Cordless Mouse + Keyboard X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 17:04:08 -0000 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