On Sun, Feb 06, 2005 at 01:13:16AM +0100, mw_at_kpnqwest.ch wrote: > > anyone have the logitech wireless mouse working and can send > > a clue? the keyboard is fine. the mouse does the logitec > > connect thing; but moving/clicking it does nothing. > > 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 > _at__at_ -374,8 +374,9 _at__at_ > int size, id; > > id = 0; > + bzero (&h, sizeof (h)); > for (d = hid_start_parse(buf, len, 1<<k); hid_get_item(d, &h); ) > - if (h.report_ID != 0) > + if (h.report_ID != 0 && !id) Is the real magic the "&& !id"? My read of the code doesn't see the need for the bzero as hid_get_item should be filling 'h'. -- -- David (obrien_at_FreeBSD.org)Received on Sun Feb 06 2005 - 11:06:59 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC