Problemas com teclado! [Translation: Keyboard Problems!]

Olá a todos!

Faz mais ou menos 1 ano que decidi migrar do Windows pro Zorin OS.
Porém ultimamente estou enfrentando muita dificuldade, devido ao teclado.
Algumas vezes o teclado para de funcionar do nada, ou fica com se uma tecla tivesse clicada, ai tenho que remover o USB e colocar de novo, para voltar.
Outras vezes o sistema simplesmente trava, mas trava de ter que forçar reiniciar pra voltar a funcionar, ai nesses caso, a internet demora para conectar.

Achando que era defeito no teclado, resolvi trocar o teclado, porém o problema piorou, o travamento que acontecia uma vez ou outra, aumentou para várias vezes durante o uso, o unico dia que usei, o pc travou 8 vezes, tive que voltar o teclado antigo.

Alguém enfrentando algo semelhante, ou sabe alguma maneira de resolver isso?
Já vi vários tópicos sobre isso, inclusive em inglês, e nenhum com solução!

Gosto muito do Zorin OS, porém se não conseguir resolver isso, vou ter que mudar!!

Desde já agradeço quem puder ajudar!

Have you tried keyboard in a different USB port?

Did the problem start after a software update?
If true, it may be worth testing with a previous linux kernel, as that is a simple thing to do. (Problem may be due to update to 6.17 kernel)

From grub screen select "Additional Options for Zorin"
Then choose a 6.14 kernel generic
Boot and test with that kernel.

2 Likes

Olá e bem-vindon!

Observe que o Ubuntu 24.04 foi usado nos critérios de pesquisa, pois o Zorin 18 é um fork do Ubuntu 24.04.

" USB Keyboard Locking Up in Ubuntu 24.04

Several users have reported random USB keyboard lockups in Ubuntu 24.04, often accompanied by system freezes or unresponsiveness. The issue appears to be linked to USB power management and wake-up events , particularly when resuming from suspend.

  • Root Cause : The keyboard may be configured to wake the system, which can trigger a system freeze during resume. This is especially common with certain USB keyboards, including Logitech and Microsoft models.
  • Solution 1: Disable USB Wake-Up
    • Identify your keyboard’s vendor and product ID using lsusb .
    • Create a udev rule to disable wake-up:
sudo nano /etc/udev/rules.d/40-disable-usb-wakeup.rules

Add the following line (replace 04d9 and a231 with your device’s actual IDs):

ACTION=="add|change", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="04d9", ATTRS{idProduct}=="a231", ATTR{power/wakeup}="disabled"
  • Apply the rule:
sudo udevadm trigger
  • Verify with acpitool -w — your keyboard should now show as "disabled" under "Wakeup".
  • Solution 2: Use Power Button to Resume
    • Avoid using the keyboard to wake the system. Instead, use the physical power button to resume from suspend. This workaround has been confirmed stable by multiple users.
  • Additional Notes :
    • The issue may also stem from hardware faults (e.g., frayed USB cables) or driver conflicts . Test with a different keyboard or USB port.
    • If the problem persists after updates, consider reporting it to Ubuntu’s bug tracker or checking for patches in Ubuntu 24.04.1 or later.

Recommendation : Apply the udev rule and switch to power-button resume for immediate stability. Monitor system logs (dmesg , /var/log/syslog ) for related errors.

AI-generated answer. Please verify critical facts."

1 Like

Hi my friend, yes I've already tried all the USB ports on my PC and nothing worked!

I reverted to the old kernel version, it's working for now, I'll see if it stays that way.

Thanks for your help!

1 Like

If you wish to keep the 6.14 kernel as default boot, instead of selecting grub "Additional options for Zorin" each time, you can follow this tutorial: [HOW TO] set an older kernel to default boot

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.