Thank You @wulf :-)
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jul 14 2021
Jul 10 2021
Thank you Wulf IT'S ALIVE!! =)
This patch from Wulf fixes Trackpad on Panasonic Toughbook CF-MX4 - two finger scroll now works fine! TANK U SIR! =)
Jul 8 2021
Here is the setup that works with active_ports_count >= 1:
% xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ System mouse id=6 [slave pointer (2)] ⎜ ↳ Sharp Corp. 12.5EA0003 id=8 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)] ⎜ ↳ Generic PS/2 mouse id=12 [slave pointer (2)] ⎜ ↳ Logitech USB Receiver id=15 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ System keyboard multiplexer id=7 [slave keyboard (3)] ↳ Power Button id=9 [slave keyboard (3)] ↳ AT keyboard id=10 [slave keyboard (3)] ↳ Logitech USB Receiver id=14 [slave keyboard (3)] ↳ Yubico Yubikey NEO OTP+CCID id=13 [slave keyboard (3)]
In D28502#699947, @tomek_cedro.info wrote:Hey @wulf , I guess I cannot put anything above tmux? So this does not solve the problem - gestures still does not work even if synaptics is on the second position. I remember the problem was caused because trackpad here is connected to two busses..
Here is my latest/last iteration:
diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index 43d19b5174d..d3d97c3797b 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/psm.c @@ -688,6 +688,12 @@ static struct { */ { MOUSE_MODEL_SYNAPTICS, /* Synaptics Touchpad on Active Mux */ 0x00, MOUSE_PS2_PACKETSIZE, enable_synaptics_mux }, + { MOUSE_MODEL_SYNAPTICS, /* Synaptics Touchpad */ + 0xc0, MOUSE_SYNAPTICS_PACKETSIZE, enable_synaptics }, + { MOUSE_MODEL_ELANTECH, /* Elantech Touchpad */ + 0x04, MOUSE_ELANTECH_PACKETSIZE, enable_elantech }, + { MOUSE_MODEL_TRACKPOINT, /* IBM/Lenovo TrackPoint */ + 0xc0, MOUSE_PS2_PACKETSIZE, enable_trackpoint }, { MOUSE_MODEL_NET, /* Genius NetMouse */ 0x08, MOUSE_PS2INTELLI_PACKETSIZE, enable_gmouse }, { MOUSE_MODEL_NETSCROLL, /* Genius NetScroll */ @@ -700,10 +706,6 @@ static struct { 0x08, MOUSE_4D_PACKETSIZE, enable_4dmouse }, { MOUSE_MODEL_4DPLUS, /* A4 Tech 4D+ Mouse */ 0xc8, MOUSE_4DPLUS_PACKETSIZE, enable_4dplus }, - { MOUSE_MODEL_SYNAPTICS, /* Synaptics Touchpad */ - 0xc0, MOUSE_SYNAPTICS_PACKETSIZE, enable_synaptics }, - { MOUSE_MODEL_ELANTECH, /* Elantech Touchpad */ - 0x04, MOUSE_ELANTECH_PACKETSIZE, enable_elantech }, { MOUSE_MODEL_INTELLI, /* Microsoft IntelliMouse */ 0x08, MOUSE_PS2INTELLI_PACKETSIZE, enable_msintelli }, { MOUSE_MODEL_GLIDEPOINT, /* ALPS GlidePoint */ @@ -712,8 +714,6 @@ static struct { 0x80, MOUSE_PS2_PACKETSIZE, enable_kmouse }, { MOUSE_MODEL_VERSAPAD, /* Interlink electronics VersaPad */ 0xe8, MOUSE_PS2VERSA_PACKETSIZE, enable_versapad }, - { MOUSE_MODEL_TRACKPOINT, /* IBM/Lenovo TrackPoint */ - 0xc0, MOUSE_PS2_PACKETSIZE, enable_trackpoint }, { MOUSE_MODEL_GENERIC, 0xc0, MOUSE_PS2_PACKETSIZE, NULL }, };xinput part:
0xCFMX4% xinput list ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ trackpad id=6 [slave pointer (2)] ⎜ ↳ System mouse id=7 [slave pointer (2)] ⎜ ↳ Generic PS/2 mouse id=11 [slave pointer (2)] ⎜ ↳ Logitech USB Receiver id=14 [slave pointer (2)] ⎜ ↳ Sharp Corp. 12.5EA0003 id=15 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ System keyboard multiplexer id=8 [slave keyboard (3)] ↳ Power Button id=9 [slave keyboard (3)] ↳ AT keyboard id=10 [slave keyboard (3)] ↳ Yubico Yubikey NEO OTP+CCID id=12 [slave keyboard (3)] ↳ Logitech USB Receiver id=13 [slave keyboard (3)] % xinput list-props 6 Device 'trackpad': Device Enabled (159): 1 Coordinate Transformation Matrix (160): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 Device Accel Profile (273): 0 Device Accel Constant Deceleration (274): 1.000000 Device Accel Adaptive Deceleration (275): 1.000000 Device Accel Velocity Scaling (276): 10.000000 Device Product ID (277): 2, 1 Device Node (278): "/dev/input/event5" Evdev Axis Inversion (279): 0, 0 Evdev Axes Swap (281): 0 Axis Labels (282): "Rel X" (169), "Rel Y" (170) Button Labels (283): "Button Left" (162), "Button Unknown" (272), "Button Right" (164), "Button Wheel Up" (165), "Button Wheel Down" (166) Evdev Scrolling Distance (284): 0, 0, 0 Evdev Middle Button Emulation (285): 0 Evdev Middle Button Timeout (286): 50 Evdev Middle Button Button (287): 2 Evdev Third Button Emulation (288): 0 Evdev Third Button Emulation Timeout (289): 1000 Evdev Third Button Emulation Button (290): 3 Evdev Third Button Emulation Threshold (291): 20 Evdev Wheel Emulation (292): 0 Evdev Wheel Emulation Axes (293): 0, 0, 4, 5 Evdev Wheel Emulation Inertia (294): 10 Evdev Wheel Emulation Timeout (295): 200 Evdev Wheel Emulation Button (296): 4 Evdev Drag Lock Buttons (297): 0 % xinput list-props 7 Device 'System mouse': Device Enabled (159): 1 Coordinate Transformation Matrix (160): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Natural Scrolling Enabled (304): 0 libinput Natural Scrolling Enabled Default (305): 0 libinput Scroll Methods Available (306): 0, 0, 1 libinput Scroll Method Enabled (307): 0, 0, 0 libinput Scroll Method Enabled Default (308): 0, 0, 0 libinput Button Scrolling Button (309): 2 libinput Button Scrolling Button Default (310): 2 libinput Button Scrolling Button Lock Enabled (311): 0 libinput Button Scrolling Button Lock Enabled Default (312): 0 libinput Middle Emulation Enabled (313): 0 libinput Middle Emulation Enabled Default (314): 0 libinput Accel Speed (315): 0.000000 libinput Accel Speed Default (316): 0.000000 libinput Accel Profiles Available (317): 1, 1 libinput Accel Profile Enabled (318): 1, 0 libinput Accel Profile Enabled Default (319): 1, 0 libinput Left Handed Enabled (320): 0 libinput Left Handed Enabled Default (321): 0 libinput Send Events Modes Available (322): 1, 0 libinput Send Events Mode Enabled (323): 0, 0 libinput Send Events Mode Enabled Default (324): 0, 0 Device Node (278): "/dev/input/event0" Device Product ID (277): 0, 0 libinput Drag Lock Buttons (325): <no items> libinput Horizontal Scroll Enabled (326): 1 % xinput list-props 11 Device 'Generic PS/2 mouse': Device Enabled (159): 1 Coordinate Transformation Matrix (160): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000 libinput Natural Scrolling Enabled (304): 0 libinput Natural Scrolling Enabled Default (305): 0 libinput Scroll Methods Available (306): 0, 0, 1 libinput Scroll Method Enabled (307): 0, 0, 0 libinput Scroll Method Enabled Default (308): 0, 0, 0 libinput Button Scrolling Button (309): 3 libinput Button Scrolling Button Default (310): 3 libinput Button Scrolling Button Lock Enabled (311): 0 libinput Button Scrolling Button Lock Enabled Default (312): 0 libinput Accel Speed (315): 0.000000 libinput Accel Speed Default (316): 0.000000 libinput Accel Profiles Available (317): 1, 1 libinput Accel Profile Enabled (318): 1, 0 libinput Accel Profile Enabled Default (319): 1, 0 libinput Left Handed Enabled (320): 0 libinput Left Handed Enabled Default (321): 0 libinput Send Events Modes Available (322): 1, 0 libinput Send Events Mode Enabled (323): 0, 0 libinput Send Events Mode Enabled Default (324): 0, 0 Device Node (278): "/dev/input/event5" Device Product ID (277): 2, 1 libinput Drag Lock Buttons (325): <no items> libinput Horizontal Scroll Enabled (326): 1
Hey @wulf , I guess I cannot put anything above tmux? So this does not solve the problem - gestures still does not work even if synaptics is on the second position. I remember the problem was caused because trackpad here is connected to two busses..
Moving all trackpads up, after Intellimouse does not fix the problem. I will now try to move it above the IneliMouse..
Jul 7 2021
Thank you @wulf Im on it :-)
@wulf I had to recompile kernel to 13 stable with that fix for Touchpad to work. Is there any chance this kind of fix can land in upstream? :-)
Hello world :-) Did fix for this land in 13.0? I have just upgraded and my Trackpad does not work with gestures :-(
Feb 7 2021
Hello world :-)
Feb 5 2021
Sure thing, bug creates (no permission to assign), thanks! :-)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253279
Sep 1 2020
Hello world :-) +1 and thank you for this unique tty/cua with USBSERIAL in node name :-) Also thank you for the hints for DEVD :-) Highly demanded in complex embedded systems and electronics testing scenarios :-)