From owner-freebsd-current@FreeBSD.ORG Sun Feb 6 01:41:50 2005 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 1A2E316A4CE for ; Sun, 6 Feb 2005 01:41:50 +0000 (GMT) Received: from ran.psg.com (ip192.186.dsl-acs2.seawa0.iinet.com [209.20.186.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8B0C43D48 for ; Sun, 6 Feb 2005 01:41:49 +0000 (GMT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=ran.psg.com.psg.com) by ran.psg.com with esmtp (Exim 4.43 (FreeBSD)) id 1CxbQp-0004DW-N9; Sat, 05 Feb 2005 17:41:47 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16901.30171.208676.599222@ran.psg.com> Date: Sat, 5 Feb 2005 17:41:47 -0800 To: mw@kpnqwest.ch References: <16901.13269.509134.918380@ran.psg.com> <200502060013.j160DGuc037637@smsgw.vianetworks.ch> cc: FreeBSD Current Subject: Re: logitec usb wireless mouse 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: Sun, 06 Feb 2005 01:41:50 -0000 > Perhaps you ran into the same problem I had with the wireless > mouse of the logitech dinovo keyboard. If that's the case, the > following will help: > > --- hid.c 6 Jan 2005 01:43:27 -0000 1.24 > +++ hid.c 6 Feb 2005 00:11:32 -0000 > @@ -374,8 +374,9 @@ > int size, id; > > id = 0; > + bzero (&h, sizeof (h)); > for (d = hid_start_parse(buf, len, 1< - if (h.report_ID != 0) > + if (h.report_ID != 0 && !id) > id = h.report_ID; > hid_end_parse(d); > size = h.loc.pos; bingo!!!! thank you is someone committing this. randy