[BUG] CachyOS kernel patches send multitouch requests to Apple trackpad interfaces that don't support them
@ptr1337 is already working on this.
Since Nov 4, 2026.
Assessment
This issue has not been assessed yet.
Description
Pre-flight checklist
- I have searched existing issues and this is not a duplicate.
- I have read the Contributing Guidelines.
- I have verified the issue is reproducible with the latest available CachyOS kernel.
- I have tried to reproduce the issue on Arch Linux's
linuxkernel.
Upstream / vanilla kernel check
I have not tested with a vanilla/upstream kernel
Kernel variant
linux-cachyos (EEVDF, Clang)
System information (cachyos-bugreport.sh)
Date: wo 4 nov 2026 21:07:50 CET
uname: Linux <hostname-redacted> 7.3.1-1-cachyos #1 SMP PREEMPT_DYNAMIC Sat, 31 Oct 2026 06:43:52 +0000 x86_64 GNU/Linux
System:
Kernel 7.3.1-1-cachyos arch x86_64 bits 64 compiler clang v 23.1.4 clocksource tsc
Desktop niri v N/A dm SDDM Distro CachyOS base Arch Linux
Machine:
Type Desktop Mobo ASRock model X670E PG Lightning serial <filter>
uuid <uuid-redacted> Firmware UEFI vendor American Megatrends LLC. v 1.07
date 09/23/2022
CPU:
Info model AMD Ryzen 7 7700X socket AM5 bits 64 type MT MCP arch Zen 4 gen 4 level v4 note check
built 2022+ process TSMC n5 (5nm) family 0x19 (25) model-id 0x61 (97) stepping 2
microcode 0xA60120A
Graphics:
Device-1 NVIDIA GM204 [GeForce GTX 970] vendor Gigabyte driver nvidia v 580.196.07
alternate nouveau,nvidia_drm non-free 550-580.xx+ status arch Maxwell code GMxxx
Memory:
Memory total 32 GiB available 31.05 GiB used 25.38 GiB (81.8%)
Getting Scheduler information
sched-ext:
/sys/kernel/sched_ext/nr_rejected:0
/sys/kernel/sched_ext/hotplug_seq:15
/sys/kernel/sched_ext/switch_all:0
/sys/kernel/sched_ext/state:disabled
/sys/kernel/sched_ext/enable_seq:0
Manual system information (if cachyos-bugreport.sh is unavailable)
Bug description
🤖 this issue's body was generated by an LLM and reviewed by jyn, with minor edits. i am experimenting with getting LLMs to generate readable prose and i think this one reads ok for humans. i reviewed it in detail, but also my brain is fried from reading too much LLM prose, so if you want me to delete it and not post any more llm-generated text i'm happy to do that. 🤖
Opening USB interface 0's input event node on my Apple Magic Trackpad fails with EPIPE because hid-magicmouse sends it a multitouch-enable request. The same physical trackpad's interface 1 works normally: Niri reads that interface, and two-finger right-click works.
Here is an example of real bugs this causes in downstream applications: https://github.com/opensteno/plover/issues/1875.
I have not tested this with Arch's linux kernel. I have, however, inspected the source and I believe the multitouch request does not happen on upstream Arch or mainline kernels. See "Source analysis" below.
The driver exposes both interfaces as input devices named Apple Inc. Magic Trackpad:
| USB interface | Event node on this machine | Observed behavior |
|---|---|---|
1-1.2:1.0 |
/dev/input/event15 |
Opening it fails with BrokenPipeError / errno 32. |
1-1.2:1.1 |
/dev/input/event6 |
The same read-only open succeeds (exit status 0). |
Interface 0's HID descriptor advertises battery-status and vendor-defined reports, not the touch reports that interface 1 advertises. CachyOS's generic input-open callback nevertheless sends the multitouch-enable command to interface 0 and returns the failed request's error to the opener.
Please check whether touch initialization should be limited to the actual touch-report interface rather than also running for interface 0.
Steps to reproduce
This requires a USB-C Apple Magic Trackpad (05ac:0324) connected over USB, the kernel above, and read permission on the input event node.
-
List the trackpad's event nodes and USB interface numbers:
udevadm info --query=property \ --property=DEVNAME,ID_VENDOR_ID,ID_MODEL_ID,ID_USB_INTERFACE_NUM \ /dev/input/by-id/usb-Apple_Inc._Magic_Trackpad*-event-mouseChoose the
DEVNAMEfrom the block containingID_VENDOR_ID=05ac,ID_MODEL_ID=0324, andID_USB_INTERFACE_NUM=00. On this machine that is/dev/input/event15; interface01maps to/dev/input/event6. -
Run the following, replacing
/dev/input/event15with the interface-0 node found above if it differs:python -c 'import os; os.open("/dev/input/event15", os.O_RDONLY)'
An LLM agent ran this reproducer on the host on November 4, 2026. It exited with status 1 and produced the traceback and kernel message below. The same command targeting /dev/input/event6 (USB interface 1 of the same trackpad) exited successfully with status 0. Each process exits immediately without reading input events.
Expected behavior
The driver should not make an input event node unusable by sending a touch-enable request to an interface that does not support it. If interface 0 only provides status/vendor data, applications enumerating input devices should not encounter a failing touch-input node for it. Normal gestures through interface 1 should continue working.
Actual behavior
The driver registers interface 0 as an input device, then its open callback returns -EPIPE from the multitouch-enable request. The application sees errno 32 on opening /dev/input/event15, even though gestures through the sibling interface continue working.
Logs / stack traces
Kernel log excerpt from the standalone open test, with timestamp and hostname omitted:
magicmouse 0003:05AC:0324.0003: unable to request touch data (-32)
Standalone reproducer's exception:
BrokenPipeError: [Errno 32] Broken pipe: '/dev/input/event15'
Interface checks and cached HID descriptors
Agent-run read-only checks included:
fuser -v /dev/input/event6 /dev/input/event15
udevadm info --query=property --name=/dev/input/event6
udevadm info --query=property --name=/dev/input/event15
cat /sys/bus/hid/devices/0003:05AC:0324.0003/uevent
cat /sys/bus/hid/devices/0003:05AC:0324.0004/uevent
modinfo -F srcversion hid_magicmouse
cat /sys/module/hid_magicmouse/srcversion
od -An -tx1 /sys/bus/hid/devices/0003:05AC:0324.0003/report_descriptor
od -An -tx1 /sys/bus/hid/devices/0003:05AC:0324.0004/report_descriptor
fuser reported Niri as an open client of event6 and no client for event15. Both interfaces bind to magicmouse. The installed driver path is /lib/modules/7.3.1-1-cachyos/kernel/drivers/hid/hid-magicmouse.ko.zst, and modinfo reports intree: Y. The installed and loaded module source-version identifiers both equal 85AD5001A966B09224E6BDD.
Interface 0's cached descriptor declares report IDs e0, 9a, 90, 9b, and 9c, including battery-related usages. Interface 1 declares IDs 02, 3f, and 44, including a touchpad collection. Interface 0 does not advertise report ID 02.
Those descriptors support an inappropriate-request diagnosis, but devices can implement undocumented feature requests. The kernel log establishes the request failure. We did not capture USB traffic to check the device's control-transfer response.
Source analysis for the affected CachyOS release
CachyOS carries “HID: magicmouse: Handle touch controller resets on SPI devices”, which introduces magicmouse_open() and installs it for USB input devices as well as SPI trackpads:
https://github.com/CachyOS/linux/commit/f236a0ccce354beeaa76e73ed7839eeb8ef4b0e9
Stock Arch's linux 7.2.14.arch1-1 source and upstream Linux v7.3 do not install this open override. Both skip the auxiliary USB trackpad interface during probe before sending the touch-enable request, so I expect this particular open failure not to reproduce on stock Arch:
The inspected source comes from release tag cachyos-7.3.1-1. Its USB input setup installs the open callback for the input device:
magicmouse_open() calls hid_hw_open(), sends the multitouch-enable request for non-BUS_HOST devices, and logs and returns negative results other than -EIO. It therefore propagates -EPIPE to the opener:
For product 0324 on USB, the enable function sends report ID 02, bytes 02 01, as a HID feature SET_REPORT:
The USB HID transport directs that control request to the current USB interface:
The driver skips later probe-time touch-report setup for USB trackpad interfaces whose HID type is not HID_TYPE_USBMOUSE, but the earlier input setup has already installed the generic open callback:
That asymmetry appears relevant: an interface can avoid touch-report setup during probe but still receive the touch-enable request when an application opens its event node.
Additional system information
The running kernel is 7.3.1-1-cachyos; the installed package and repository databases both report linux-cachyos 7.3.1-1. A live check of the CachyOS mirror's cachyos-znver4 package listing on the same day also found linux-cachyos-7.3.1-1-x86_64_v4.pkg.tar.zst.
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 190
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CachyOS/linux-cachyos
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
CachyOS/linux-cachyos#1196 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CachyOS/linux-cachyos#1091 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
CachyOS/linux-cachyos#961 · 1 comment ·
-
[FEATURE] Pre-signed hwmon / fan control modules (nct6687d, it87) for linux-cachyos-eacPossibly taken @ventureoo claimed this 1 day ago. Openenhancement
CachyOS/linux-cachyos#1206 · 3 assignees ·
-
[Feature Request] Add prebuilt signed linux-cachyos-eac-tuxedo-drivers modulePossibly taken @ventureoo claimed this 1 day ago. Openenhancement
CachyOS/linux-cachyos#1205 · 3 assignees ·
All issues in CachyOS/linux-cachyos
Similar issues
-
documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
aws/aws-networking-best-practices#256 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
fossi-foundation/globalfoundries-pdk-libs-gf180mcu_fd_pv#61 ·
-
openai-directory
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
smores56/homelab-platform#289 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
omacom/omarchy#21787 · 3 comments ·
Maintainers usually reply within 1 day