From owner-freebsd-mobile@freebsd.org Sun Apr 3 17:40:52 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 9102BB01543 for ; Sun, 3 Apr 2016 17:40:52 +0000 (UTC) (envelope-from sriddle@outlook.com) Received: from BAY004-OMC3S22.hotmail.com (bay004-omc3s22.hotmail.com [65.54.190.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 723B81ABE for ; Sun, 3 Apr 2016 17:40:52 +0000 (UTC) (envelope-from sriddle@outlook.com) Received: from na01-bn1-obe.outbound.protection.outlook.com ([65.54.190.187]) by BAY004-OMC3S22.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 3 Apr 2016 10:40:45 -0700 Received: from CO2PR10MB0119.namprd10.prod.outlook.com (10.160.9.139) by CO2PR10MB0118.namprd10.prod.outlook.com (10.160.9.13) with Microsoft SMTP Server (TLS) id 15.1.447.15; Sun, 3 Apr 2016 17:40:44 +0000 Received: from CO2PR10MB0119.namprd10.prod.outlook.com ([10.160.9.139]) by CO2PR10MB0119.namprd10.prod.outlook.com ([10.160.9.139]) with mapi id 15.01.0447.027; Sun, 3 Apr 2016 17:40:44 +0000 From: Shane Riddle To: "freebsd-mobile@freebsd.org" Subject: Thinkpad T530 - synaptics driver for touchpad AND mouse driver for trackpoint? Thread-Topic: Thinkpad T530 - synaptics driver for touchpad AND mouse driver for trackpoint? Thread-Index: AQHRjccDrnHZDAalxEiehjxHIDXKbQ== Date: Sun, 3 Apr 2016 17:40:44 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=outlook.com; x-tmn: [wlmlM5WaNx6HmfBt7UDXt6wBp6+1HE1/] x-ms-office365-filtering-correlation-id: b7f9f5e4-f905-4fed-74c3-08d35be71566 x-microsoft-exchange-diagnostics: 1; CO2PR10MB0118; 23:DLwttFlIJEF7swAelHN2x2vDQ11yisjmvTDoK3qqvkTkMysVwQcp2nrQPUDZAtSjNbw3HLNfKwKpTwIjdJqvSGt+XHR/NWRaTgWDI2xvFzTIOiapbDYFO7upq8yaGjVhNZ63fdi/hFMfhnDQ+xKO+t6NzmfOo6u6B05H6f3lQx3hd0vc9SRm7zcr9zzpJGEvjlbwhHZxJF/ldOJVHE8taA==; 5:3FZuLg5QONtcmiGVF3nfrUAzzNok3EJCulPIxYfkaen4tbHPX4gx48ZzwMIHwE+dsWbR2wrvAbGBxPcO1M6/byBm7OAFIB9Icp+aVYmxel8KQxYZkRTa7OlZmorMvZ9OrRHaQCvBjpyR05Vep27fTw==; 24:kN91GbDtuqKgLheu0S7NFs1Da7784awtpMYxsgCH/BN4fZN+29/IzTmfwEFX39ae8pKNNThQW0hdOPi91OGu3Z2IOPEKttwpIVz8yMn9DdM= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR10MB0118; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:CO2PR10MB0118; BCL:0; PCL:0; RULEID:; SRVR:CO2PR10MB0118; x-forefront-prvs: 09011458FC x-forefront-antispam-report: SFV:NSPM; SFS:(7070004)(98900003); DIR:OUT; SFP:1901; SCL:1; SRVR:CO2PR10MB0118; H:CO2PR10MB0119.namprd10.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Apr 2016 17:40:44.2730 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR10MB0118 X-OriginalArrivalTime: 03 Apr 2016 17:40:46.0036 (UTC) FILETIME=[F3E96140:01D18DCF] 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: Sun, 03 Apr 2016 17:40:52 -0000 I am using FreeBSD 10.3 RELEASE on a Thinkpad T530. I'm trying to get both = the Trackpoint and Touchpad into (my definition of) a fully functional stat= e. 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 all th= ree 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 "lim= ited functionality" due to the fact that I can't get two-finger scrolling t= o work. I can use vertical-edge scrolling with one finger; however after mu= ch 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 workin= g, 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 driver.=20 (1) https://lists.freebsd.org/pipermail/freebsd-current/2015-April/055381.h= tml 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 driv= er selects /dev/psm0, blocking its use by the touchpad.=20 After diabling moused, the touchpad works *perfectly* but unfortunately, th= e Trackpoint now doesn't work at all. No buttons, no nub movement. BUT - a = USB mouse still works fine, which uses the mouse driver.=20 Hopefully I've described this somewhat coherently. :)=20 Has anyone ever encountered a situation like this? Any known solutions, or = additional debugging steps?=20