[mythtv-users] Apple Bluetooth keyboard keeps going to sleep

David Newman dnewman at networktest.com
Mon Jun 28 23:08:01 UTC 2021

Ever since upgrading from Ubuntu 16 LTS (and then 18 and now 20), I've
been having an issue with an older Apple bluetooth keyboard where the
keyboard becomes nonresponsive after somewhere between 2 and 10 minutes.

I can get it working again but only if I power-cycle the keyboard or
remove/reinsert the dongle, or both. I've also tried fresh akaline AA
batteries in the keyboard multiple times, and replacing the dongle, but
the problem follows the keyboard.

The 'hcitool con' command shows the keyboard is still connected when
this happens, usually in "state 1". However, the keyboard's caps lock
key won't illuminate after it goes to sleep.

Is there some command on the Ubuntu side that would keep the keyboard
awake? It's a pain to use as is.



Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-77-generic x86_64)

Apple magic keyboard (aluminum, early 2010s)

TrendNet TBW-106UB USB 2.0 dongle)

More information about the mythtv-users mailing list