mwyborski / Linux-Magic-Trackpad-2-Driver

503 stars 85 forks source link

failed to make it work on Debian 9.4; 4.16.0-0.bpo.2-amd64 #8

Closed attila-lendvai closed 4 years ago

attila-lendvai commented 6 years ago

should it work at all on 4.16?

host: Linux xxx 4.16.0-0.bpo.2-amd64 #1 SMP Debian 4.16.12-1~bpo9+1 (2018-06-03) x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.4 (stretch)
Release:    9.4
Codename:   stretch

device: https://en.wikipedia.org/wiki/Magic_Trackpad (bluetooth)

i tried both DKMS, and then removed it and used the insmod ./ method to be sure.

symptom: pointer doesn't work, and xinput only returns mouse 1 events when any (!) of the physical buttons are pressed.

$ xinput 
⎜   ↳ Apple Wireless Trackpad                   id=19   [slave  pointer  (2)]
$ xinput test 19
button press   1 
button release 1 
button press   1 
button release 1 
...
[  3563.773] (II) config/udev: Adding input device Apple Wireless Trackpad (/dev/input/mouse3)
[  3563.774] (II) No input driver specified, ignoring this device.
[  3563.774] (II) This device may have been added with another device file.
[  3563.864] (II) config/udev: Adding input device Apple Wireless Trackpad (/dev/input/event23)
[  3563.865] (**) Apple Wireless Trackpad: Applying InputClass "evdev touchpad catchall"
[  3563.865] (**) Apple Wireless Trackpad: Applying InputClass "libinput touchpad catchall"
[  3563.865] (II) Using input driver 'libinput' for 'Apple Wireless Trackpad'
[  3563.865] (II) systemd-logind: got fd for /dev/input/event23 13:87 fd 53 paused 0
[  3563.865] (**) Apple Wireless Trackpad: always reports core events
[  3563.865] (**) Option "Device" "/dev/input/event23"
[  3563.865] (**) Option "_source" "server/udev"
[  3563.866] (II) input device 'Apple Wireless Trackpad', /dev/input/event23 is tagged by udev as: Touchpad
[  3563.866] (II) input device 'Apple Wireless Trackpad', /dev/input/event23 is a touchpad
[  3563.866] (**) Option "config_info" "udev:/sys/devices/virtual/misc/uhid/0005:05AC:030E.0007/input/input27/event23"
[  3563.866] (II) XINPUT: Adding extended input device "Apple Wireless Trackpad" (type: TOUCHPAD, id 19)
[  3563.866] (**) Option "AccelerationScheme" "none"
[  3563.866] (**) Apple Wireless Trackpad: (accel) selected scheme none/0
[  3563.867] (**) Apple Wireless Trackpad: (accel) acceleration factor: 2.000
[  3563.867] (**) Apple Wireless Trackpad: (accel) acceleration threshold: 4
[  3563.867] (II) input device 'Apple Wireless Trackpad', /dev/input/event23 is tagged by udev as: Touchpad
[  3563.867] (II) input device 'Apple Wireless Trackpad', /dev/input/event23 is a touchpad

i'm a kernel noob, but i noticed something strange: i saw this once in /var/log/syslog: hid_magicmouse: loading out-of-tree module taints kernel., but afterwards no amount of rmmod and insmod ./ produced that message again.