From owner-freebsd-hackers@freebsd.org Wed Sep 28 07:24:16 2016 Return-Path: Delivered-To: freebsd-hackers@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 B7E04C0047A for ; Wed, 28 Sep 2016 07:24:16 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7DDD4C1F for ; Wed, 28 Sep 2016 07:24:16 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 77EEF1FE023; Wed, 28 Sep 2016 09:24:14 +0200 (CEST) Subject: Re: Logitech G510s keyboard fail. To: Zaphod Beeblebrox , FreeBSD Hackers References: From: Hans Petter Selasky Message-ID: Date: Wed, 28 Sep 2016 09:29:06 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2016 07:24:16 -0000 On 09/28/16 01:24, Zaphod Beeblebrox wrote: > So... The Logitech G510 keyboard fails. It is one of the Logitech > keyboards with the small display incorporated in it... > > when I attache it, I get the following dmesg: > > ukbd2: > on usbus0 > kbd4 at ukbd2 > hid_get_item: Number of items(991) truncated to 255 > hid_get_item: Number of items(257) truncated to 255 > hid_get_item: Number of items(991) truncated to 255 > hid_get_item: Number of items(257) truncated to 255 > uhid1: > on usbus0 > hid_get_item: Number of items(991) truncated to 255 > hid_get_item: Number of items(257) truncated to 255 > hid_get_item: Number of items(991) truncated to 255 > hid_get_item: Number of items(257) truncated to 255 > hid_get_item: Number of items(991) truncated to 255 > hid_get_item: Number of items(257) truncated to 255 > > 2:27:327]root@hit:/home/dgilbert/Downloads> usbconfig -d ugen0.5 > dump_device_desc > ugen0.5: at usbus0, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON (500mA) > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x046d > idProduct = 0xc22d > bcdDevice = 0x1172 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > ... notably, it works under BIOS and (of course Try: usbconfig -d ugen0.5 add_quirk UQ_KBD_BOOTPROTO Then replug your device. --HPS