Page MenuHomeFreeBSD

tomek_cedro.info (CeDeROM)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 1 2020, 2:57 PM (88 w, 5 d)

Recent Activity

Jul 14 2021

tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

Thank You @wulf :-)

Jul 14 2021, 11:27 AM

Jul 10 2021

tomek_cedro.info awarded D28502: PSM / Synaptics Touchpad detection fix a Like token.
Jul 10 2021, 6:11 PM
tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

Thank you Wulf IT'S ALIVE!! =)

Jul 10 2021, 6:10 PM
tomek_cedro.info updated the diff for D28502: PSM / Synaptics Touchpad detection fix.

This patch from Wulf fixes Trackpad on Panasonic Toughbook CF-MX4 - two finger scroll now works fine! TANK U SIR! =)

Jul 10 2021, 6:07 PM

Jul 8 2021

tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

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)]
Jul 8 2021, 8:01 PM
tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

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
Jul 8 2021, 7:31 PM
tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

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..

Jul 8 2021, 7:22 PM
tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

Moving all trackpads up, after Intellimouse does not fix the problem. I will now try to move it above the IneliMouse..

Jul 8 2021, 2:59 PM

Jul 7 2021

tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

Thank you @wulf Im on it :-)

Jul 7 2021, 5:17 PM
tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

@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? :-)

Jul 7 2021, 4:38 PM
tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

Hello world :-) Did fix for this land in 13.0? I have just upgraded and my Trackpad does not work with gestures :-(

Jul 7 2021, 12:05 PM

Feb 7 2021

tomek_cedro.info added a comment to D28521: dev/usb/input/wsp: Add sysctl tunable for Z-Axis inversion.

Hello world :-)

Feb 7 2021, 3:42 PM · Contributor Reviews (base)

Feb 5 2021

tomek_cedro.info added a comment to D28502: PSM / Synaptics Touchpad detection fix.

Sure thing, bug creates (no permission to assign), thanks! :-)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253279

Feb 5 2021, 8:37 PM
tomek_cedro.info requested review of D28502: PSM / Synaptics Touchpad detection fix.
Feb 5 2021, 3:34 PM

Sep 1 2020

tomek_cedro.info added a comment to D21886: Add USB support for location based device unit numbers.

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 :-)

Sep 1 2020, 4:26 PM