on my laptop TUXEDO InfinityBook Pro 15 v4 with 2Tb ssd disk, 58Gb /home EXT3 partition, 32Gb RAM, running tumbleweed upgraded to the last, after resume from sleep with battery no 220V, keyboard is unresponsive, only virtual keyboard to login, mouse works after login keyboard remain unresponsive.
Are you talking about a wireless keyboard?
If so, then you should check your wireless.
Particularly if BT, switching your BT(maybe just your PC, if that doesn’t work then both off and then PC first followed by the keyboard back on) off and back on might be enough to re-establish the connection. Typically, shouldn’t be necessary to re-pair.
Or, if you’re talking about your laptop on battery power (not AC) and either a wired or built-in keyboard, that’s highly unusual…
Typically built-in keyboards are recognized through the BIOS, attached keyboards might also require USB detection.
TSU
this case, the built in keyboard of my laptop doesn’t works after a resume on battery power (not AC)
Is almost certainly a hardware problem.
Some troubleshooti8ng suggestions off the top of my head…
-
Does the keyboard work during POST, ie if this is an MBR install, if you hit the “magic key” for your laptop, can you invoke BIOS setup? If not, then during a splash screen, can you hit ESC to view the boot tdout?
-
Can you check the health of your laptop battery (when on AC power)? You’ll likely need to download and install a special utility from your manufacturer to do this. If your manufacturer doesn’t provide a utility, you can try installing a generic battery check, but it may not be accurate.
TSU
Curiously,
Today I ran into an issue running “that other OS” which might be relevant to this situation…
During the course of troubleshooting that machine, I turned off all supposedly unnecessary subsystems which included USB.
The keyboard stopped working because although it’s built in to the machine, internally it’s connected to the system by way of USB.
You might inspect your USB related services, and perhaps restart to see if it makes a difference.
TSU
I don’t use “the other OS” from months, I’ll test but when my keyboard stop working the mouse, connected to UDB was working…
- Does the keyboard work during POST, ie if this is an MBR install, if you hit the “magic key” for your laptop, can you invoke BIOS setup? If not, then during a splash screen, can you hit ESC to view the boot tdout?
during boot keyboard works, it stop to work after the resume, everything was working but the keyboard, I’ll test again after the zypper dup
- Can you check the health of your laptop battery (when on AC power)? You’ll likely need to download and install a special utility from your manufacturer to do this. If your manufacturer doesn’t provide a utility, you can try installing a generic battery check, but it may not be accurate.
the health of battery seems ok, it last more than 1 hour and I’ll test with a generic battery check
If I wasn’t clear,
You should test for USB functionality only after you resume from sleep and on battery power and find your keyboard not working.
Any other scenario testing your USB wouldn’t be relevant.
I’d also remind about the importance of running a battery check.
TSU
I resumed from suspend AND KEYBOARD didn’t work, I’m writing with virtual keyboard and mouse connected to an USB port, so D USB system seems to work, how can I check USB functionality?
ciao and thanks
This might provide some useful info about your keyboard device…
sudo dmesg | grep i8042
This can get more details from a userland persective for input device identification (to help with searches and bug reporting)…
sudo libinput list-devices
It could be that a kernel boot parameter is required to help with ensuring that the keyboard is alive upon resume. You can get more debug output using the following parameter
i8042.debug=1
then checking for ‘i8042’ related output as described aobve.
Some experimentation may be needed. For example, some possibilities…
https://forums.linuxmint.com/viewtopic.php?t=155149#p805309
A similar thread discussing keyboard suspend/resume behaviour and some example kernel boot parameter configurations…
https://forums.linuxmint.com/viewtopic.php?t=233450
A typical recent a bug report
https://bugzilla.redhat.com/show_bug.cgi?id=1436636
See in particular comment#55 and perhaps try using “i8042.direct i8042.dumbkbd” as described there. The following openSUSE reference explains how to edit grub “on the fly” on a temporary basis for experimentation purposes…
here is when keyboard doesn’t works after resume on battery, I’m writing with virtua keyboard:
pla@pla4-TW:~> sudo dmesg | grep i8042
[sudo] password for root:
2.393462] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
3.012100] i8042: Detected active multiplexing controller, rev 1.1
3.015452] serio: i8042 KBD port at 0x60,0x64 irq 1
3.015457] serio: i8042 AUX0 port at 0x60,0x64 irq 12
3.015490] serio: i8042 AUX1 port at 0x60,0x64 irq 12
3.015511] serio: i8042 AUX2 port at 0x60,0x64 irq 12
3.015532] serio: i8042 AUX3 port at 0x60,0x64 irq 12
3.020123] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
5.024919] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input6
[83737.098064] i8042: failed to resume active multiplexor, mouse won't work
[84399.243831] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input66
[112743.335257] i8042: failed to resume active multiplexor, mouse won't work
pla@pla4-TW:~>
pla@pla4-TW:~> sudo libinput list-devices
sudo: libinput: command not found
pla@pla4-TW:~>
[QUOTE=pier_andreit;2920944]here is when keyboard doesn’t works after resume on battery, I’m writing with virtua keyboard:
[83737.098064] i8042: failed to resume active multiplexor, mouse won't work
This might be a clue, but more research needed.
pla@pla4-TW:~> sudo libinput list-devices sudo: libinput: command not found pla@pla4-TW:~>
Then you need to install sudo and libinput-tools.