logitec usb wireless mouse

Randy Bush randy at psg.com
Sat Feb 5 17:41:50 PST 2005


> 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<<k); hid_get_item(d, &h); )
> -               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



More information about the freebsd-current mailing list