When running a fresh install of Ubuntu 21.XX Desktop x64 on a Raspberry Pi, I always have issues with using my Logitech Keyboard (K400r).
I can use the keyboard to log in and type text within the search bar. But if I try and type in the terminal or Firefox search bar, nothing works.
I have found this workaround provided by user matzelchen on the Raspberry Pi forum, and adding here so I can easily find it again.
-
Remove the hid_logitech module from the kernel
sudo rmmod hid_logitech_dj && sudo rm /lib/modules/$(uname -r)/kernel/drivers/hid/hid-logitech-dj.ko
-
Remove usb bluetooth receiver
-
Reconnect usb bluetooth receiver