TransWikia.com

USB Keyboard regularly disconnects during use

Ask Ubuntu Asked on November 23, 2021

The keyboard I own after a little while of use (at least a few minutes) disconnects. It will even disconnect while in use in the middle of typing and not just after being idle. It can be resolved by unplugging and plugging the device in again. The keyboard is Obins Anne Pro 2.

This does not occur with other keyboards that I own. It also does not occur with this device on a Windows laptop that I own. I emailed the keyboard manufacturer, but didn’t get a response.

I have tried the following

  • Different USB cable
  • Different USB port
  • Looking in BIOS for USB power saving settings or anything that seemed usful.
  • Updating keyboard firmware through the software that ships with the keyboard.

The device shows up in lsusb as
Bus 001 Device 029: ID 04d9:8009 Holtek Semiconductor, Inc.. It also still shows up after the device stops responding. dmesg | grep usb does not show anything when the device disconnects, only when the device originally connects. Here is the output when it connects:

[95862.258854] usb 1-3.3: new full-speed USB device number 28 using xhci_hcd
[95862.372211] usb 1-3.3: New USB device found, idVendor=04d9, idProduct=8009, bcdDevice= 1.00
[95862.372216] usb 1-3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[95862.372219] usb 1-3.3: Product: USB-HID Keyboard
[95862.372222] usb 1-3.3: Manufacturer: OBINS 
[95862.372225] usb 1-3.3: SerialNumber: SN0000000001
[95862.391269] input: OBINS  USB-HID Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.0/0003:04D9:8009.0043/input/input96
[95862.451347] hid-generic 0003:04D9:8009.0043: input,hidraw2: USB HID v1.10 Keyboard [OBINS  USB-HID Keyboard] on usb-0000:00:14.0-3.3/input0
[95862.452635] input: OBINS  USB-HID Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.1/0003:04D9:8009.0044/input/input97
[95862.453085] hid-generic 0003:04D9:8009.0044: input,hidraw3: USB HID v1.10 Device [OBINS  USB-HID Keyboard] on usb-0000:00:14.0-3.3/input1
[95862.454297] input: OBINS  USB-HID Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.2/0003:04D9:8009.0045/input/input98
[95862.454692] hid-generic 0003:04D9:8009.0045: input,hidraw4: USB HID v1.10 Joystick [OBINS  USB-HID Keyboard] on usb-0000:00:14.0-3.3/input2
[95862.455926] input: OBINS  USB-HID Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3.3/1-3.3:1.3/0003:04D9:8009.0046/input/input99
[95862.515307] hid-generic 0003:04D9:8009.0046: input,hidraw5: USB HID v1.10 Device [OBINS  USB-HID Keyboard] on usb-0000:00:14.0-3.3/input3

Any advice would be appreciated.

My machine is running Ubuntu 19.10. This issue has persisted through software updates though.

2 Answers

I have the same issue. For workaround I found that if you turn on ObinsKit in background, keyboard will not disconnect anymore.

Answered by kooz on November 23, 2021

I know this is not a real answer, sorry. I don't have 50 reputation to be able to comment. Wanted to chime in and say I have the same issue. I have Anne Pro 2. Using it on MacOS and Windows I got no problem. When using on Archlinux, it stops working. I have 2 machines (laptop with desktop) both dualbooting with Windows. There is no problem when using it on Windows. When using under Linux it stops working after some inactivity. If I keep continually typing on it, it works without any problem. When I stop typing for 5 minutes, it stops working. Reconnecting the keyboard works. I think the issue might be with firmware + linux driver. The problem might be related to powersaving mode (inactivity triggers some logic?)

Edit: I upgraded to latest Alpha firmware using obinskit tool. Now the problem with USB re-connection is gone. There often other bugs related to TAP layer but that's a different story.

Last edit: I switched to the latest firmware and replaced the USB cable. All of my problems are gone. I believe the thing that helped most was replacing the cable.

Answered by Darkhan on November 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP