Date: Tue, 23 Feb 2016 08:28:43 -0600 From: Larry Rosenman <ler@lerctr.org> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-current@freebsd.org Subject: Re: new computer, strange usb messages at boot Message-ID: <be0d8f43a9a945e2400090afff4f07bc@thebighonker.lerctr.org> In-Reply-To: <56CAB468.4070201@selasky.org> References: <20160220051951.GA47875@lrosenman-dell.lerctr.org> <20160220120401.GA91220@kib.kiev.ua> <20160220122416.GA1026@lrosenman-dell.lerctr.org> <2575cfd714188f7ffbc873cb5d87cc97@thebighonker.lerctr.org> <56CAB468.4070201@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2016-02-22 01:10, Hans Petter Selasky wrote: > On 02/21/16 17:28, Larry Rosenman wrote: >> Does this mean that the touch screen is hitting a limit in FreeBSD's >> driver? > > Yes, the hid driver is limiting the range of some report. This should > be harmless. You would need to dump the HID descriptor to see the > limits. Maybe we could raise the limit from 256 to 4096 or something > in that range, to make the warning to away. It's > > sys/dev/usb/usb_hid.c: > >> /* range check usage count */ >> if (c->loc.count > 255) { >> DPRINTFN(0, "Number of >> " >> "items truncated >> to 255\n"); >> s->ncount = 255; >> } else >> s->ncount = >> c->loc.count; >> > > Try adding c->loc.count to the printout, to see the limit it is > exceeding. > > --HPS hid_get_item: Number of items truncated to 255 (was 256) -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be0d8f43a9a945e2400090afff4f07bc>