Hello!
I recently installed FreeBSD 12.3-RELEASE (r371126 GENERIC) to my MacBook4,1, which is an A1181 (white polycarbonate) model.
The "ums" driver seems to make the trackpad "partially" work. The thing does move around the screen, the physical button clicks, but there's no scroll feature and more importantly, tap to click (and two-finger tap for right click) does not work.
I've searched the internet and read many documents on forums, realized that wsp and atp are two major(?) drivers for this, and it also seems like atp is now considered legacy and wsp is the new driver now.
The first issue I had faced was, that there was no package named "atp" or "wsp". Searching in /usr/ports (I have it installed) gives me none, and the pkg install wsp shows me that there's no such package, and
I saw news/atp package on ports so I thought that maybe the drivers are pre-packaged onto the kernel/os.
I modified the /boot/loader.conf and tried adding atp_load="YES" or wsp_load="YES", however, even after both attempts, dmesg showed no sign of atp or wsp and just used ums.
On Debian Linux (R), the touchpad works with a small X configuration file. ( External link : https://wolf1e.ga/posts/2021/02/how-to-install-debian-10-on-a-macbook-early-2008/ )
On the post, there is a small libinput conf file available that works on Debian Linux (R).
So, I installed the required packages mentioned by the post's author (With different names from Debian), and added this content to /etc/X11/xorg.conf.
However, that also did not work, and this is the /var/log/Xorg.0.log content which I believe is related.
Thus, I want to ask, what is the correct method to do this.
I'm very new to the FreeBSD operating system, so I'm sorry if I forgot something important.
I'm currently running the Common Desktop Environment with dtlogin, which I installed with the help of a FreeBSD Forum post : https://forums.freebsd.org/threads/setting-up-common-desktop-environment-for-modern-use.69475/
Best regards,
HexagonWin
I recently installed FreeBSD 12.3-RELEASE (r371126 GENERIC) to my MacBook4,1, which is an A1181 (white polycarbonate) model.
The "ums" driver seems to make the trackpad "partially" work. The thing does move around the screen, the physical button clicks, but there's no scroll feature and more importantly, tap to click (and two-finger tap for right click) does not work.
I've searched the internet and read many documents on forums, realized that wsp and atp are two major(?) drivers for this, and it also seems like atp is now considered legacy and wsp is the new driver now.
The first issue I had faced was, that there was no package named "atp" or "wsp". Searching in /usr/ports (I have it installed) gives me none, and the pkg install wsp shows me that there's no such package, and
pkg install atp
shows me a package that removes the whole X11 system?I saw news/atp package on ports so I thought that maybe the drivers are pre-packaged onto the kernel/os.
I modified the /boot/loader.conf and tried adding atp_load="YES" or wsp_load="YES", however, even after both attempts, dmesg showed no sign of atp or wsp and just used ums.
On Debian Linux (R), the touchpad works with a small X configuration file. ( External link : https://wolf1e.ga/posts/2021/02/how-to-install-debian-10-on-a-macbook-early-2008/ )
On the post, there is a small libinput conf file available that works on Debian Linux (R).
So, I installed the required packages mentioned by the post's author (With different names from Debian), and added this content to /etc/X11/xorg.conf.
Code:
---
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event9"
Driver "libinput"
Option "Tapping" "on"
EndSection
---
However, that also did not work, and this is the /var/log/Xorg.0.log content which I believe is related.
Code:
---
[ 43.846] (II) config/udev: Adding input device Touchpad (/dev/input/event9)
[ 43.847] (**) Touchpad: Applying InputClass "evdev pointer catchall"
[ 43.847] (**) Touchpad: Applying InputClass "libinput pointer catchall"
[ 43.847] (**) Touchpad: Applying InputClass "libinput catchall"
[ 43.847] (II) Using input driver 'libinput' for 'Touchpad'
[ 43.847] (**) Touchpad: always reports core events
[ 43.847] (**) Option "Device" "/dev/input/event9"
[ 43.847] (**) Option "_source" "server/udev"
[ 43.848] (II) event9 - Touchpad: is tagged by udev as: Mouse
[ 43.849] (II) event9 - Touchpad: device is a pointer
[ 43.849] (II) event9 - Touchpad: device removed
[ 43.849] (**) Option "config_info" "udev:/dev/input/event9"
[ 43.849] (II) XINPUT: Adding extended input device "Touchpad" (type: MOUSE, id 14)
---
Thus, I want to ask, what is the correct method to do this.
I'm very new to the FreeBSD operating system, so I'm sorry if I forgot something important.
I'm currently running the Common Desktop Environment with dtlogin, which I installed with the help of a FreeBSD Forum post : https://forums.freebsd.org/threads/setting-up-common-desktop-environment-for-modern-use.69475/
Best regards,
HexagonWin