Logitech G510s keyboard fail.

Hans Petter Selasky hps at selasky.org
Wed Sep 28 07:24:16 UTC 2016


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 at 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


More information about the freebsd-hackers mailing list