From owner-freebsd-current@freebsd.org Tue Feb 23 14:28:44 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5D0A5AB241F for ; Tue, 23 Feb 2016 14:28:44 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D0D1F59 for ; Tue, 23 Feb 2016 14:28:44 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version; bh=J4H49XvjmcZBpZLbFUS1ixznacCk1Ic8I8XFeNoKme8=; b=jQy0h3tZsO5ifpAJ+wLca65YBS iAu2WcoTuHST4M1j83xf2jkWQ8qDjWgkWdFZHiHwzPb8ie5V5qRDNhtHwvAPIWqqUj0Gno/479eyE xvlHGybQLiQNyklFLC5pYMnYFimH79lbayksqXMm6AK2UWGoBjHeRhNpo54UASZl9IRw=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:15398 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD)) (envelope-from ) id 1aYDxD-0000Ra-At; Tue, 23 Feb 2016 08:28:43 -0600 Received: from proxy.lucent.com ([135.245.48.12]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Tue, 23 Feb 2016 08:28:43 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 23 Feb 2016 08:28:43 -0600 From: Larry Rosenman To: Hans Petter Selasky Cc: freebsd-current@freebsd.org Subject: Re: new computer, strange usb messages at boot 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> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.1.4 X-Spam-Score: -1.0 (-) X-LERCTR-Spam-Score: -1.0 (-) X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 23 Feb 2016 14:28:44 -0000 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