Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 09:29:06 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Zaphod Beeblebrox <zbeeble@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Logitech G510s keyboard fail.
Message-ID:  <f83acf52-0fa2-cf50-afaa-9eb6b74a832c@selasky.org>
In-Reply-To: <CACpH0Mc7GLk%2BggA3_A_8O_MX5fi%2B-YtFfp-1GUTkOum12Omahg@mail.gmail.com>
References:  <CACpH0Mc7GLk%2BggA3_A_8O_MX5fi%2B-YtFfp-1GUTkOum12Omahg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Logitech G510s Gaming Keyboard, class 0/0, rev 2.00/11.72, addr 10>
> 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: <Logitech G510s Gaming Keyboard, class 0/0, rev 2.00/11.72, addr 10>
> 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: <G510s Gaming Keyboard Logitech> at usbus0, cfg=0 md=HOST spd=FULL
> (12Mbps) pwr=ON (500mA)
>
>   bLength = 0x0012
>   bDescriptorType = 0x0001
>   bcdUSB = 0x0200
>   bDeviceClass = 0x0000  <Probed by interface class>
>   bDeviceSubClass = 0x0000
>   bDeviceProtocol = 0x0000
>   bMaxPacketSize0 = 0x0008
>   idVendor = 0x046d
>   idProduct = 0xc22d
>   bcdDevice = 0x1172
>   iManufacturer = 0x0001  <Logitech>
>   iProduct = 0x0002  <G510s Gaming Keyboard>
>   iSerialNumber = 0x0000  <no string>
>   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f83acf52-0fa2-cf50-afaa-9eb6b74a832c>