65% keyboard recognized as an apple keyboard

Hello, today i was trying to use my 65% keyboard on arch, when suddenly i tried to use Fn keys. To my surprise they did not work.
And after using lsusb i noticed that my wifi dongle is indeed seen as an apple keyboard.

When i ran lsusb i had my keyboard connected with the cable (NEO65)

[alex@pc ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8009 Intel Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 8087:8001 Intel Corp. Integrated Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 003 Device 003: ID 1038:182e SteelSeries ApS SteelSeries Prime
Bus 003 Device 005: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 003 Device 006: ID 1235:8200 Focusrite-Novation Scarlett 2i4 USB
Bus 003 Device 007: ID 056a:00d4 Wacom Co., Ltd CTL-460 [Bamboo Pen (S)]
Bus 003 Device 008: ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth
Bus 003 Device 012: ID fffe:0015 @HFD NEO65
Bus 003 Device 013: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

When connected to a cable it works normally, and also on windows it works normally both via usb and wireless

Fixed it with the help of archlinux forum!

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

To make it persistent with dracut:
create → name file (content)
create → /etc/modprobe.d/hid_apple.conf (options hid_apple fnmode=2)
create → /etc/dracut.conf.d/hid_apple.conf (install_items+=/etc/modprobe.d/hid_apple.conf)
run → sudo dracut --force

After the reboot the F keys should be working

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