ValveSoftware / SteamOS

SteamOS community tracker
1.56k stars 70 forks source link

Glove80 Bluetooth keyboard disconnects constantly from OLED deck, worked fine with LCD deck #1234

Open v1ld opened 9 months ago

v1ld commented 9 months ago

Your system information

Please describe your issue in as much detail as possible:

A Glove80 bluetooth keyboard that worked fine with the LCD Deck now constantly disconnects when connected to the OLED Deck. Disconnects happen pretty quickly after you start typing, less than a minute.

Once disconnected I have to reboot the keyboard to get it to connect again. Attempting connect from the Deck's UI times out.

As mentioned this used to work flawlessly with the LCD Deck, but has failed consistently with the OLED. I waited till today to report as I wanted to look at the logs first. They're reproduced below.

Steps for reproducing this issue:

  1. Connect a Glove80 keyboard to OLED Deck via Bluetooth.
  2. Type for a minute.
  3. You may observe some laggy keystrokes, pauses, and on occasion a seemingly stuck key that's autorepeating. I think the stuck key is because the keyboard disconnects between a down and up key event, but that's just a guess.
  4. Observe disconnect

Relevant journal lines follow. The battery_register errors seems benign after looking at the code. They do not correlate to disconnects nor do they impair typing in the short periods the keyboard works. The first error is more interesting looking.

Nov 25 10:46:37 Deckard kernel: input: Glove80 Left Keyboard as /devices/virtual/misc/uhid/0005:16C0:27DB.0175/input/input419 Nov 25 10:46:37 Deckard kernel: hid-generic 0005:16C0:27DB.0175: input,hidraw7: BLUETOOTH HID v0.01 Keyboard [Glove80 Left] on e8:8d:a6:b1:a7:b6 Nov 25 10:46:37 Deckard systemd-logind[595]: Watching system buttons on /dev/input/event21 (Glove80 Left Keyboard) Nov 25 10:46:43 Deckard bluetoothd[572]: profiles/deviceinfo/deviceinfo.c:read_pnpid_cb() Error reading PNP_ID value: Request attribute has encountered an unlikely error Nov 25 10:46:43 Deckard bluetoothd[572]: profiles/input/hog-lib.c:info_read_cb() HID Information read failed: Request attribute has encountered an unlikely error Nov 25 10:46:43 Deckard bluetoothd[572]: profiles/input/hog-lib.c:report_reference_cb() Read Report Reference descriptor failed: Request attribute has encountered an unlikely error Nov 25 10:46:43 Deckard bluetoothd[572]: profiles/input/hog-lib.c:report_reference_cb() Read Report Reference descriptor failed: Request attribute has encountered an unlikely error Nov 25 10:46:43 Deckard bluetoothd[572]: profiles/input/hog-lib.c:report_reference_cb() Read Report Reference descriptor failed: Request attribute has encountered an unlikely error Nov 25 10:46:43 Deckard kernel: input: Glove80 Left Keyboard as /devices/virtual/misc/uhid/0005:16C0:27DB.0176/input/input420 Nov 25 10:46:43 Deckard kernel: hid-generic 0005:16C0:27DB.0176: input,hidraw7: BLUETOOTH HID v0.01 Keyboard [Glove80 Left] on e8:8d:a6:b1:a7:b6 Nov 25 10:46:44 Deckard systemd-logind[595]: Watching system buttons on /dev/input/event21 (Glove80 Left Keyboard) Nov 25 10:46:47 Deckard bluetoothd[572]: src/battery.c:btd_battery_register() error registering battery: path exists Nov 25 10:46:54 Deckard kernel: input: Glove80 Left Keyboard as /devices/virtual/misc/uhid/0005:16C0:27DB.0177/input/input421 Nov 25 10:46:54 Deckard kernel: hid-generic 0005:16C0:27DB.0177: input,hidraw7: BLUETOOTH HID v0.01 Keyboard [Glove80 Left] on e8:8d:a6:b1:a7:b6 Nov 25 10:46:54 Deckard systemd-logind[595]: Watching system buttons on /dev/input/event21 (Glove80 Left Keyboard) Nov 25 10:46:55 Deckard bluetoothd[572]: src/battery.c:btd_battery_register() error registering battery: path exists Nov 25 10:46:55 Deckard bluetoothd[572]: src/battery.c:btd_battery_register() error registering battery: path exists

heaven00 commented 9 months ago

I am seeing the same behavior on my desktop running Pop OS. I had to move it to wired to keep using the keyboard normally.

geeksville commented 9 months ago

I think it is a 3.5 problem - started on my LCD steamdeck also when 3.5 hit.