From owner-freebsd-x11@freebsd.org Thu Jan 3 22:59:00 2019 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECFCF143A6EE; Thu, 3 Jan 2019 22:58:59 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-ua1-x92e.google.com (mail-ua1-x92e.google.com [IPv6:2607:f8b0:4864:20::92e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CACF46DA3A; Thu, 3 Jan 2019 22:58:58 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: by mail-ua1-x92e.google.com with SMTP id d19so11458703uaq.11; Thu, 03 Jan 2019 14:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h4y33Si/2VAw9dQh/Srv58p4OBahCjSwwkzFf7c1cs0=; b=Ml+blKkf4AbSlp+eFDByCp7WzkU2orpEeaCWFsdwVZWycKAL3VBjhw+Yl/g8DldQhV PG0fD77hGOnvHeKimI2N0HjVSSvbZY8a+SXnA6AvksecQ1jKuxuEsDGxAzRLLmT77TJc 9oOGsq3zqy77N9joMluiHF9EEQtU7YgaAoGh0BYO8wy6JoQzgAVhWk720utrzQ9n3Xel sifCFml66X4txgF1SdEnzEvm6IQbHOm29d4uzgSvP1jdfxe+x98ixbccDdYWh7+9/uoe tEv38yHBQ2VRPIKvCaWUhsX8tEB2T1ZZfe+F+d62Vl3yITIMGYImR28omV7qzsE8AsN/ I7GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h4y33Si/2VAw9dQh/Srv58p4OBahCjSwwkzFf7c1cs0=; b=flwVu5lC6lEMQWdenA7Do7cW3C80lUBWsvAF4MnAr7lN8ODLMAbCjkP9pe8fUEmnWC WU9ozr1gEmAD2UVRWP56lboD2Z9KKKQ2KA0iY0cJNTI77N0ISyYiU1rQnP8IH6sZlBeq qxmxd23uXixFJzYRUUzZWuX1mwKmX29FDlW8LUyEcT9kr8GY+PaWm/IuTyH1wMeGjQn2 2G+5/UQmKs8bWYnndYOVMWS78L6OMpweTtoLzLR1IMbOBsnlp3FcfiDufFjWRMrLJxrY cYxQ9DdK+6fyEg3J1GmXjRpldvM31mzffp9Ucbljoy5ASeh1oDhgsLIOv4T8HL1kPZzs Xkgw== X-Gm-Message-State: AJcUukfxenCJQwmMr+6H4Kh1Lzj6sU8k08qv7XoimsP0RYBAvj4KO1Nm jBP3ZbCTlOOA07oGyp9NvcfV5pPv5pLZAuJ8Jr46sA== X-Google-Smtp-Source: ALg8bN5IAWExESmHACxvqStVX1196OW3PzdUGAP5ho3Ve96X5WQ5W0fV+PfWqnqEbNgKrqsknIWQaTXJ5tYa2D0PhgQ= X-Received: by 2002:ab0:6652:: with SMTP id b18mr8740429uaq.46.1546556338060; Thu, 03 Jan 2019 14:58:58 -0800 (PST) MIME-Version: 1.0 References: <1546428469.1787.2@smtp.migadu.com> In-Reply-To: <1546428469.1787.2@smtp.migadu.com> From: Tomasz CEDRO Date: Thu, 3 Jan 2019 23:58:50 +0100 Message-ID: Subject: Re: Synaptics on Panasonic Touchbook CF-C2 To: Greg V , andrnils@gmail.com Cc: FreeBSD Questions Mailing List , freebsd-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: CACF46DA3A X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=Ml+blKkf; spf=pass (mx1.freebsd.org: domain of tomekcedro@gmail.com designates 2607:f8b0:4864:20::92e as permitted sender) smtp.mailfrom=tomekcedro@gmail.com X-Spamd-Result: default: False [-5.87 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[cedro.info]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_IN_DNSWL_NONE(0.00)[e.2.9.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; IP_SCORE(-2.69)[ip: (-9.58), ipnet: 2607:f8b0::/32(-2.15), asn: 15169(-1.64), country: US(-0.08)]; FORGED_SENDER(0.30)[tomek@cedro.info,tomekcedro@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[tomek@cedro.info,tomekcedro@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 22:59:00 -0000 On Wed, Jan 2, 2019 at 12:27 PM Greg V wrote: > On Wed, Jan 2, 2019 at 3:30 AM, Tomasz CEDRO wrote: > > Hello world in 2019 :-) > > > > I cannot make my Touchpad two finger scrolling on CF-C2 Panasonic > > Toughbook. It works on Windows very nice. I have made it work only > > once in Xorg but never again.. > > > > I have tried on 11.2 and 12.0. Both with PSM+MOUSED and > > PSM0+SYNAPTICS. No success. > > > > As I understand, the old way was to use xf86-input-synaptics. The new > > way is to use PSM with synaptics support enabled and then use moused + > > xf86-input-mouse..? > > > > I would like to stick to the new way of using PSM kernel driver, then > > moused and sysmouse as mouse input for Xorg. > > > > The problem is that both PSM nor SYNAPTICS does not seem to recognise > > the device. I get ID 0 for PSM. Tried various flags. No success.. > > Make sure you have hw.psm.synaptics_support=1 in /boot/loader.conf > > moused is *not* the new way. Forget moused, disable it completely, it is > designed only for basic mice, it will never work with touchpads' > advanced capabilities. > > The new way is evdev/libinput. Unfortunately evdev wasn't enabled by > default in > 12.0-RELEASE, I think you have to switch to 12-STABLE snapshots at least > (or rebuild a 12 kernel manually). Thank you Greg for response.. I guess it the moused+psm is not the default/new way we could update the wiki/documentation.. this kind of scrolling interaction is mandatory after anyone ever worked on a MacBookPro Prackpad :-) I even made Wacom touchscreen and pen working on that laptop which is really neat.. so how sad not to have basic two finger scroll.. Sure I have tried with hw.psm.synaptics_support="1" but then I have no mouse at all even in the VT console using moused. Debugging PSM at level 2 does not seem to produce different results - each time I get the same data, which would confirm why mouse cursor is not moving.. but what is the cause of such PSM TrackPad stall? I guess I have exhausted all possible permutations of MOUSED PSM SYNAPTICS X11 w/oHAL w/oAutoAddDevices :-( I have also noticed libinput but had no luck with that either.. What is very interesting that on my other desktop machine that I am playing with AMDGPU I have Microsoft wireless keyboard with Touchpad included.. and that touchpad worked right from scratch after plugging in the USB micro receiver :\ I noticed lots of positive comments about out-of-the-box support for Trackpad in OpenBSD and NetBSD.. it would be really nice if we also had that kind of support in FreeBSD :-) Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info