Wednesday, October 30, 2024

Apple USB keyboard (wired)

Apple USB keyboard wired

It was a hardware problem: three arrow keys were not working on the Apple KB.
 Plugged PS/2 keyboard  into mouse port.

#. Not true:

These are great keyboards but support under Ubuntu is janky.

Info:

https://wiki.archlinux.org/title/Apple_Keyboard#hid_apple_module_options

https://unix.stackexchange.com/questions/407501/make-apple-keyboard-settings-persistent-in-hid-apple-parameters

 

https://2e0pgs.github.io/blog/sysadmin/2021/04/03/apple-keyboard-ubuntu/

 

You can add the following lines to: /etc/modprobe.d/hid_apple.conf

$ cat /etc/modprobe.d/hid_apple.conf
options hid_apple fnmode=2
options hid_apple iso_layout=0

Then run sudo update-initramfs -u -k all and sudo reboot


 

mac_hid or hid_apple

 Turns out hid_apple was renamed to applespi.

echo 2 | sudo tee /sys/module/applespi/parameters/fnmode


For trackpads and laptop keyboard



https://help.ubuntu.com/community/AppleKeyboard#Change_Function_Key_behavior

https://help.ubuntu.com/community/TroubleWithAppleKbdOnUbuntu