In order for my HDMI/USB KVM switch to work with my Logitech K400+ keyboard and trackpad, I have needed to blacklist the hid_logitech_dj kernel module. With bullseye, I have done this by putting a file containing
blacklist hid_logitech_dj
in the /etc/modprobe.d/ directory.
This is now ineffective. When the system boots, the hid_logitech_dj module is loaded, despite it appearing in the blacklist list, and my keyboard and trackpad don't work (unless plugged in directly, without the switch) until I ssh into the system and do a "modprobe -r hid_logitech_dj". Then, my keyboard and trackpad work. Obviously, I would like the blacklist to actually work, and prevent loading the hid_logitech_dj module.
blacklist hid_logitech_dj
in the /etc/modprobe.d/ directory.
This is now ineffective. When the system boots, the hid_logitech_dj module is loaded, despite it appearing in the blacklist list, and my keyboard and trackpad don't work (unless plugged in directly, without the switch) until I ssh into the system and do a "modprobe -r hid_logitech_dj". Then, my keyboard and trackpad work. Obviously, I would like the blacklist to actually work, and prevent loading the hid_logitech_dj module.
Code:
# uname -aLinux bringebaer 6.1.0-rpi7-rpi-v7 #1 SMP Raspbian 1:6.1.63-1+rpt1 (2023-11-24) armv7l GNU/Linux# cat /etc/debian_version12.1# ls -l /etc/modprobe.dtotal 8-rw-r--r-- 1 root root 17 May 10 2023 blacklist-8192cu.conf-rw-r--r-- 1 root root 26 Jan 2 16:49 raspi-blacklist.conf# cat /etc/modprobe.d/raspi-blacklist.confblacklist hid_logitech_dj# modprobe --showconfig | grep blacklblacklist 8192cublacklist arkfbblacklist aty128fbblacklist atyfbblacklist radeonfbblacklist cirrusfbblacklist cyber2000fbblacklist kyrofbblacklist matroxfb_baseblacklist mb862xxfbblacklist neofbblacklist pm2fbblacklist pm3fbblacklist s3fbblacklist savagefbblacklist sisfbblacklist tdfxfbblacklist tridentfbblacklist vt8623fbblacklist hid_logitech_dj# lsmod | grep _djhid_logitech_dj 32768 0# modprobe -r hid_logitech_dj# lsmod | grep _dj#
Statistics: Posted by steinhelten — Tue Jan 02, 2024 11:52 pm