You are not logged in.
Hi,
I'm trying to get a new Apple Magic Keyboard with Touch ID working on my ThinkPad T430s running the latest Kernel (5.13.9-arch1-1). It is connected with an USB cable and basic functionality is working, but the fn key is not recognized at all, i.e., I cannot use the additional modes of the function keys (media keys, etc.) and I also cannot use fn + arrow keys for page up/down or home/end or fn + backspace for delete.
The systemd journal shows that the keyboard model is recognized correctly, but it does not load the hid_apple driver. Instead, the hid-generic driver is loaded:
Aug 09 23:44:13 thinky kernel: usb 1-1.2: new full-speed USB device number 6 using ehci-pci
Aug 09 23:44:13 thinky kernel: usb 1-1.2: New USB device found, idVendor=05ac, idProduct=029a, bcdDevice= 3.20
Aug 09 23:44:13 thinky kernel: usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 09 23:44:13 thinky kernel: usb 1-1.2: Product: Magic Keyboard with Touch ID
Aug 09 23:44:13 thinky kernel: usb 1-1.2: Manufacturer: Apple Inc.
Aug 09 23:44:13 thinky kernel: usb 1-1.2: SerialNumber: F0T1306003M18DHAP
Aug 09 23:44:13 thinky kernel: hid-generic 0003:05AC:029A.0001: hiddev96,hidraw0: USB HID v1.10 Device [Apple Inc. Magic Keyboard with Touch ID] on usb-0000:00:1a.0-1.2/input0
Aug 09 23:44:13 thinky kernel: input: Apple Inc. Magic Keyboard with Touch ID Keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.1/0003:05AC:029A.0002/input/input18
Aug 09 23:44:13 thinky kernel: hid-generic 0003:05AC:029A.0002: input,hiddev97,hidraw1: USB HID v1.10 Keyboard [Apple Inc. Magic Keyboard with Touch ID] on usb-0000:00:1a.0-1.2/input1
Aug 09 23:44:13 thinky kernel: usbhid 1-1.2:1.2: couldn't find an input interrupt endpoint
Aug 09 23:44:13 thinky mtp-probe[1663]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
Aug 09 23:44:13 thinky mtp-probe[1663]: bus: 1, device: 6 was not an MTP device
Aug 09 23:44:14 thinky upowerd[1047]: treating change event as add on /sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2
Aug 09 23:44:14 thinky kernel: usbcore: registered new device driver apple-mfi-fastcharge
Aug 09 23:44:14 thinky systemd-logind[450]: Watching system buttons on /dev/input/event17 (Apple Inc. Magic Keyboard with Touch ID Keyboard)
Aug 09 23:44:14 thinky mtp-probe[1705]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2"
Aug 09 23:44:14 thinky mtp-probe[1705]: bus: 1, device: 6 was not an MTP device
I don't know much about device drivers, but my theory is as follows:
The idVendor=05ac is Apple (see here), but it seems that the idProduct=029a is not regocnized by the hid-apple driver, where the Magic Keyboard ANSI is defined as 0267 (see here and here). So I think the idProduct has changed for this new Magic Keyboard model.
Is this an already known problem with a solution? And is there a way to force the usage of the hid-apple driver instead of the hid-generic driver to get the fn key working?
Thanks a lot in advance!
Offline