Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2016 12:00:21 -0400
From:      Anthony Jenkins <Scoobi_doo@yahoo.com>
To:        Shane Riddle <sriddle@outlook.com>
Cc:        "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>
Subject:   Re: Thinkpad T530 - synaptics driver for touchpad AND mouse driver for trackpoint?
Message-ID:  <57028F95.7080505@yahoo.com>
In-Reply-To: <CO2PR10MB01198D83B521149778D0F4A9BD9C0@CO2PR10MB0119.namprd10.prod.outlook.com>
References:  <CO2PR10MB01198D83B521149778D0F4A9BD9C0@CO2PR10MB0119.namprd10.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 04/03/2016 01:40 PM, Shane Riddle wrote:
> I am using FreeBSD 10.3 RELEASE on a Thinkpad T530. I'm trying to get b=
oth the Trackpoint and Touchpad into (my definition of) a fully functiona=
l state. Since "a fully functional state" is a completely subjective term=
, here's how I'm defining it for each device.
>
> * Trackpoint: Trackpoint 'nub' works for mouse pointer movement, and al=
l three buttons working.
> * Touchpad: two-finger scrolling, tap-to-click
>
> I will try to describe the trial & error methods I have used as clearly=
 as possible....
>
>
> In all cases, the following is true.
>
> -----------------------------------
> Installed Ports
> -----------------------------------
> * x11/libsynaptics
> * x11-drivers/xf86-input-synaptics
>
> -----------------------------------
> /boot/loader.conf
> -----------------------------------
> hw.psm.synaptics_support=3D1
> hw.psm.trackpoint_support=3D1
>
> -----------------------------------
> /usr/local/etc/X11/xorg.conf
> -----------------------------------
> Section "ServerLayout"
> 	Identifier     "X.org Configured"
> 	Screen      0  "Screen0" 0 0
> 	InputDevice    "Mouse0" "CorePointer"
> 	InputDevice    "Keyboard0" "CoreKeyboard"
> 	Option         "AutoAddDevices" "false"
> EndSection
>
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option	    "Protocol" "auto"
> 	Option	    "Device" "/dev/sysmouse"
> 	Option	    "ZAxisMapping" "4 5 6 7"
> EndSection
>
>
>
> The first change I made was to /etc/rc.conf.
> -------------
> /etc/rc.conf
> -------------
> moused_enable=3D"YES"
> moused_flags=3D"-V -a 1.6 -U 4 -L 1.5"
>
> In this state, my trackpoint is "fully functional" and my touchpad has =
"limited functionality" due to the fact that I can't get two-finger scrol=
ling to work. I can use vertical-edge scrolling with one finger; however =
after much effort to do so, I just can't get comfortable with this.
>
> Looking at output from sysctl seems ok, except for one thing:=20
>
>    hw.psm.synaptics.two_finger_scroll: 0
>
> And if I change this value to "1" then vertical edge scrolling stops wo=
rking, while two finger scroll *still* doesn't work.
>
> This leads me to conclude that despite a change recently introduced (1)=
, my particular touchpad hardware is not supported through the mouse driv=
er.=20
>
> (1) https://lists.freebsd.org/pipermail/freebsd-current/2015-April/0553=
81.html
>
>
>
> Then, I tried to use the synaptics driver in xorg.conf.=20
> -----------------------------------
> /usr/local/etc/X11/xorg.conf
> -----------------------------------
> Section "InputDevice"
>         Identifier  "Touchpad0"
>         Driver      "synaptics"
> 	Option      "Protocol" "psm"
> 	Option      "Device" "/dev/psm0"
> 	Option      "EmulateTwoFingerMinZ" "7"
> 	Option      "EmulateTwoFingerMinW" "7"
> 	Option      "VertScrollDelta" "-111"
> 	Option      "VertTwoFingerScroll" "on"
> 	Option      "VertEdgeScroll" "off"
> EndSection
>
>
> This only works if I disable moused.=20
> --------------------
> /etc/rc.conf
> --------------------
> moused_enable=3D"NO"
>
> Otherwise, the synaptics driver can't use /dev/psm0. I guess the mouse =
driver selects /dev/psm0, blocking its use by the touchpad.=20

Right, I believe xf86-input-synaptics only works with psm(4).

> After diabling moused, the touchpad works *perfectly* but unfortunately=
, the Trackpoint now doesn't work at all. No buttons, no nub movement. BU=
T - a USB mouse still works fine, which uses the mouse driver.

Sounds like moused(8) drives the Trackpoint, if it quit working after
disabling moused.

What are the outputs of the following commands:

 1) dmesg | grep psm
 2) grep -C 5 -i '\(ps/2\|synaptics\)' /var/log/Xorg.0.log    # in the
"touchpad working perfectly" configuration
 3) ps axww | grep -v grep | grep moused       # in the "trackpoint
working perfectly" configuration

It might be useful to see /all/ of /var/log/Xorg.0.log, not just the
Synaptics and PS/2 lines....

--=20
Anthony Jenkins





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57028F95.7080505>