From owner-freebsd-hardware@FreeBSD.ORG Sun Oct 24 12:09:56 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8422116A4CE for ; Sun, 24 Oct 2004 12:09:56 +0000 (GMT) Received: from smsgw.vianetworks.ch (smsgw.vianetworks.ch [146.228.10.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C093E43D48 for ; Sun, 24 Oct 2004 12:09:55 +0000 (GMT) (envelope-from mw@smsgw.vianetworks.ch) Received: from smsgw.vianetworks.ch (localhost.kpnqwest.ch [127.0.0.1]) by smsgw.vianetworks.ch (8.12.10/8.12.6) with ESMTP id i9OC9png062223; Sun, 24 Oct 2004 14:09:51 +0200 (CEST) (envelope-from mw@smsgw.vianetworks.ch) Received: (from mw@localhost) by smsgw.vianetworks.ch (8.12.10/8.12.6/Submit) id i9OC9pdp062222; Sun, 24 Oct 2004 14:09:51 +0200 (CEST) Message-Id: <200410241209.i9OC9pdp062222@smsgw.vianetworks.ch> In-Reply-To: To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= Date: Sun, 24 Oct 2004 14:09:51 +0200 (CEST) Sender: mw@smsgw.vianetworks.ch From: Markus Wild X-NCC-RegID: ch.vianetworks X-Mailer: ELM [version 2.4ME+ PL99b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII cc: hardware@freebsd.org Subject: Re: Logitech cordless mouse / keyboard X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 12:09:56 -0000 > I recently got a Logitech cordless mouse / keyboard combo. The > keyboard works fine (with recent -CURRENT), the mouse (MX700) doesn't. > According to google, some people at least have got it working with > FreeBSD. Somehow the thread to fix the code died, possibly because the attempted goal to reimport current NetBSD USB code involved too many changes. > moused is running, but there's no reaction to either movement or > buttons. I've done the connect thing a million times, but I have no I don't know what other things this may break, but for me, the following change to ums.c correctly recognizes the mouse: diff -u -r1.23 hid.c --- hid.c 24 Aug 2003 17:55:54 -0000 1.23 +++ hid.c 24 Oct 2004 12:06:12 -0000 @@ -374,8 +374,9 @@ int size, id; id = 0; + bzero (&h, sizeof (h)); for (d = hid_start_parse(buf, len, 1<