On 25/04/2025 15:06, John Crawley wrote:
I also have that problem occasionally, and the same fix works. But the USB socket is in a rather inconvenient place. The mouse still works on these occasions so a custom menu item to click that ran a command to emulate the unplugging and re-plugging of the keyboard would be nice to have.

Does anybody know a command that will do that?

Full power off-on cycle (not just USB reset) may be initiated by uhubctl. The question is whether USB hubs on the motherboard support per-port power control.

Some keyboards may be rather sensitive to USB port voltage. A model with built-in HUB (for e.g. a USB pendrive) did not work when plugged into a laptop, but there was no such an issue with desktop. I would not be surprised if another device requiring enough power on the same bus might still cause trouble with keyboard.

Reply via email to