From owner-freebsd-mobile@freebsd.org Mon Apr 4 16:00:30 2016 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A5C7B01AA7 for ; Mon, 4 Apr 2016 16:00:30 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from nm2-vm1.bullet.mail.bf1.yahoo.com (nm2-vm1.bullet.mail.bf1.yahoo.com [98.139.213.158]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 620D410C6 for ; Mon, 4 Apr 2016 16:00:29 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1459785623; bh=Gmt/CRev+2x/+YzBco9/ZCh+auQC6X8ON2JPbZjbM3U=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=LkFdGotUoYhrhMPZwKU+xQLPrbIgAWZUlrrxhr209YlE63gRF/ZCFIthqBb2gCDHjD4T8NUS3Urdg44qz69mLaleohDuHgnY9XogNUUsPePEVxIZTBdG7mLLzeRVj9Vnzr452AXZz0ttUlVXQVMjQVcJBeAuZrEuZqHTLS3wG6HFAT1seR1Gi1CWUHsFe35EKygHaYqyKmaYIPAYVed2OTluwQldl6k3HWHgktuh2Yr6rqDkOklDHGeKChuI8U6jPUez9cZ/jBxqXrmyIbmqIEEsDgAbFwcLhQyTw6I+VsvmRk657NpEw1YebKhzs9Hw4q9zQE6OQJirTvf0Hk3cbQ== Received: from [66.196.81.174] by nm2.bullet.mail.bf1.yahoo.com with NNFMP; 04 Apr 2016 16:00:23 -0000 Received: from [98.139.211.206] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 04 Apr 2016 16:00:23 -0000 Received: from [127.0.0.1] by smtp215.mail.bf1.yahoo.com with NNFMP; 04 Apr 2016 16:00:23 -0000 X-Yahoo-Newman-Id: 426406.4029.bm@smtp215.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: y6QR4KgVM1ntru2fCRs6mNImDGrxf.aj_vb7WFnxM0HDHXI Y0YCo9M_mlbPVfAeUJ8aOzKTKl_aiFClcxdM01d0.RA9QCjjRe96BRMNmWCW emjCTrdGooTBZHezZBOxKZUD21RbfM3qSA6PqkuKRDVeTgdFKgTb_CtVDuHD Y1WbmdZF6YaAUgtqY98bxHVbv1rODqrCrR5xtgKhU_WeYIKMU1m4YVz3VTHc dd8Kq7w_RLMkv2spcb6zHdgN71ASzd6Fg6AUtPu1KcatekT4pjcbIBsDNov3 sNioeMs6Se2NyysPTYiUOSeLqUUrPMXToZg8m7KvV5j3M7n7p5QSKobSq1xA x5hAAceP0pqRT26AQyK6C7FLwL24VXsKsl4Y6T2uW9HHg6lkgZ.EzJ7UEYZ7 ea.ONajjeKMWPjbsT3gWjbuuVXGxih6IFrx9A9CDo2TJdm7LLXd0235HWiu8 f4V1_ddN_dAabq2rxQSjMGs9EDAc9.4fZK26YGSzbhlFU3B3OAUSJ7i0bq0M UHaNhzPZluOipHVCAHMXAkzDClpVzngv.QBfWlYF6NG_xK3TuUdhg.U7uIbR NJtpeBlMssUB44WDCrrDpQh7gdHNjUFIsoVEXRx80827aW_GxzsMwzXJBIw- - X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Subject: Re: Thinkpad T530 - synaptics driver for touchpad AND mouse driver for trackpoint? To: Shane Riddle References: Cc: "freebsd-mobile@freebsd.org" From: Anthony Jenkins Message-ID: <57028F95.7080505@yahoo.com> Date: Mon, 4 Apr 2016 12:00:21 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2016 16:00:30 -0000 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