Hello,
I've been researching this for a couple of weeks now, trying various things especially from this post Thread apple-r-trackpads-on-freebsd.83405, in an effort to get the trackpad on my early 2013 13" Retina MacBook Pro to work properly in FreeBSD 15.0-RELEASE with a GENERIC kernel. The post is very similar to my situation, but it's old enough now that things seem to have changed in the meantime. I can get the trackpad to work in a rudimentary way with the ums driver, allowing pointer movement and clicking, but nothing else: I can't tap or use two fingers for scrolling.
ums, wsp and atp are all loaded automatically, whether or not I mention them in /boot/loader.conf. By playing with
into /boot/loader.conf then both /dev/ums1 and /dev/atp0 are created, and the trackpad doesn't work.
I tried various ways of trying to suppress ums — module_blacklist, renaming the .ko file, disabling ums1 — in the hopes that it might allow wsp or atp to do their job, but either I didn't do it properly or it was just a bad idea.
The output from
If I comment it out then the trackpad doesn't work, but I also get a new error from libinput printed in red at the top:
...that seems to be linked to udev, which is way beyond my small comfort zone, but it did make me think maybe it would work if I could solve the FUZZ issue.
I even wondered if maybe things had changed so that now ums will handle it, and I just need to configure it properly by enabling taps somewhere, which seems to be a thing with wsp and maybe atp too? But I can't find any information about that, and
It seems as though my trackpad is supported:
...and 0x025a appears in usbdevs at line 1218.
Anyway, that's my main stumbling block at the moment. I've got xfce running nicely and I've even created custom keyboard layouts for vt and X11 along with my own ~/.XCompose file to get around the fact that my CTRL key is broken (or just very, very dirty). If anyone can help me fix this last thing then suddenly it becomes a machine I could consider making a daily driver, and I will be eternally grateful.
Thanks,
Ben
I've been researching this for a couple of weeks now, trying various things especially from this post Thread apple-r-trackpads-on-freebsd.83405, in an effort to get the trackpad on my early 2013 13" Retina MacBook Pro to work properly in FreeBSD 15.0-RELEASE with a GENERIC kernel. The post is very similar to my situation, but it's old enough now that things seem to have changed in the meantime. I can get the trackpad to work in a rudimentary way with the ums driver, allowing pointer movement and clicking, but nothing else: I can't tap or use two fingers for scrolling.
ums, wsp and atp are all loaded automatically, whether or not I mention them in /boot/loader.conf. By playing with
kldunload and kldload I can break it so that it doesn't work at all. If put
Code:
atp_load="YES"
I tried various ways of trying to suppress ums — module_blacklist, renaming the .ko file, disabling ums1 — in the hopes that it might allow wsp or atp to do their job, but either I didn't do it properly or it was just a bad idea.
The output from
libinput debug-events is as you'd expect: when the trackpad is working, it registers movement and presses, but not taps; and when it isn't working it registers nothing from the trackpad. However, I have this line in /boot/loader.conf:
Code:
hw.usb.usbhid.enable=0
Code:
event5 - Apple Inc. Apple Internal Keyboard / Trackpad Touchpad: libinput bug: kernel fuzz of 40 but LIBINPUT_FUZZ_35 is missing
event5 - Apple Inc. Apple Internal Keyboard / Trackpad Touchpad: libinput bug: kernel fuzz of 27 but LIBINPUT_FUZZ_36 is missing
I even wondered if maybe things had changed so that now ums will handle it, and I just need to configure it properly by enabling taps somewhere, which seems to be a thing with wsp and maybe atp too? But I can't find any information about that, and
libinput list-devices shows all the tap settings as "n/a", I assume because the ums driver doesn't know how to deal with them.It seems as though my trackpad is supported:
devinfo -f | grep ums
Code:
ums1 <Apple Inc. Apple Internal Keyboard / Trackpad, class 0/0, rev 2.00/2.24, addr 8> pnpinfo vendor=0x05ac product=0x025a devclass=0x00 devsubclass=0x00 devproto=0x00 sernum="" release=0x0224 mode=host intclass=0x03 intsubclass=0x01 intprotocol=0x02 at bus=2 hubaddr=3 port=2 devaddr=8 interface=2 ugen=ugen2.8
Anyway, that's my main stumbling block at the moment. I've got xfce running nicely and I've even created custom keyboard layouts for vt and X11 along with my own ~/.XCompose file to get around the fact that my CTRL key is broken (or just very, very dirty). If anyone can help me fix this last thing then suddenly it becomes a machine I could consider making a daily driver, and I will be eternally grateful.
Thanks,
Ben