Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Feb 2005 17:41:47 -0800
From:      Randy Bush <randy@psg.com>
To:        mw@kpnqwest.ch
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: logitec usb wireless mouse
Message-ID:  <16901.30171.208676.599222@ran.psg.com>
References:  <16901.13269.509134.918380@ran.psg.com> <200502060013.j160DGuc037637@smsgw.vianetworks.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16901.30171.208676.599222>