From owner-freebsd-x11@freebsd.org  Mon Aug 29 16:19:29 2016
Return-Path: <owner-freebsd-x11@freebsd.org>
Delivered-To: freebsd-x11@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 2166BBC7B1E;
 Mon, 29 Aug 2016 16:19:29 +0000 (UTC) (envelope-from isoa@kapsi.fi)
Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25])
 (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id D91F818F;
 Mon, 29 Aug 2016 16:19:28 +0000 (UTC) (envelope-from isoa@kapsi.fi)
Received: from karviainen.kapsi.fi ([217.30.184.182] helo=roundcube.kapsi.fi)
 by mail.kapsi.fi with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.80) (envelope-from <isoa@kapsi.fi>)
 id 1bePHR-0004yU-H0; Mon, 29 Aug 2016 19:19:26 +0300
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 29 Aug 2016 19:19:25 +0300
From: Arto Pekkanen <isoa@kapsi.fi>
To: abi <abi@abinet.ru>
Cc: freebsd-x11@freebsd.org, owner-freebsd-x11@freebsd.org
In-Reply-To: <63738d79-fa1e-7401-9f07-242ccbf2f40c@abinet.ru>
References: <3ff36b68-bc63-b3f9-ffb7-ade8c6b3e690@abinet.ru>
 <255e5a1340573719da0c32f870523449@kapsi.fi>
 <63738d79-fa1e-7401-9f07-242ccbf2f40c@abinet.ru>
Message-ID: <1d85bba2228e2a4b9c2ccd7721ccffe6@kapsi.fi>
X-Sender: isoa@kapsi.fi
User-Agent: RoundCube Webmail/0.9.4
X-SA-Exim-Connect-IP: 217.30.184.182
X-SA-Exim-Mail-From: isoa@kapsi.fi
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail
X-Spam-Level: 
X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 RP_MATCHES_RCVD autolearn=ham version=3.3.2
Subject: Re: Problem with touchpad
X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-SA-Exim-Scanned: Yes (on mail.kapsi.fi)
X-BeenThere: freebsd-x11@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: X11 on FreeBSD -- maintaining and support <freebsd-x11.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-x11>,
 <mailto:freebsd-x11-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-x11/>
List-Post: <mailto:freebsd-x11@freebsd.org>
List-Help: <mailto:freebsd-x11-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-x11>,
 <mailto:freebsd-x11-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Aug 2016 16:19:29 -0000

I never used the psm device directly with X.org, because /dev/sysmouse 
(which operated by moused) is the the standard, multiplexed interface 
for mice and touchpads. Every touchpand and mice attached will be 
handled by moused.

Take out all moused -related stuff from your rc.conf, remove ALL your 
X.org input device configuration. Then try again. Ie. don't touch the 
vanilla settings.

USB mice work out of the box without any configuration. Devd will notify 
X.org, which then configures the mice etc.

abi kirjoitti 29.08.2016 16:34:
> I'm not sure what is attached to /dev/sysmouse
> 
> I suspect USB one, but I disabled sysmouse in xorg configuration for 
> sure
> 
> Section "InputClass"
>     Identifier "VanishBastardo"
>     MatchDevicePath "/dev/sysmouse"
>     Option "Ignore" "true"
> EndSection
> 
> and
> 
> moused_enable="NO"
> moused_nondefault_enable="NO"
> 
> [    17.061] (II) config/devd: adding input device (null) 
> (/dev/sysmouse)
> [    17.061] (**) sysmouse: Ignoring device from InputClass 
> "VanishBastardo"
> 
> So, if both devices clashing for 1 node, no driver attached to it
> anyway. Also, I tried CURRENT - it has the same problem.
> 
> 
> 
> On 29/08/2016 15:16, Arto Pekkanen wrote:
>> With a PS2 touchpad you could also try this:
>> https://www.freebsd.org/doc/faq/x.html#idp64092272
>> 
>> abi kirjoitti 27.08.2016 03:51:
>>> Hello,
>>> 
>>> I have strange issue with Dell XPS 13 (Skylake) touchpad. It works
>>> until xorg restart. After restart, buttons become unresponsive, the
>>> most common is if button remains pressed somehow.
>>> 
>>> I found simple workaround - toggle touchpad with xinput. However, on
>>> xinput enable system hangs - screen is not updated and it ignores
>>> keyboard input until I use touchpad. After that, system and touchpad
>>> becomes operational. Until restart.
>>> 
>>> Synaptics driver has the same problem.
>>> Touchpad in generic ps/2 mode (without hw.psm.synaptics_support=1) 
>>> works.
>>> 
>>> I made a search and found this commit
>>> http://svnweb.freebsd.org/base?view=revision&revision=281440 in
>>> CURRENT release notes. However it's pretty old and should be included
>>> in 11.
>>> 
>>> FreeBSD 11.0-RC1
>>> Xorg log 
>>> https://gist.github.com/abishai/844c3221d9388a5a6f8c65bd13ad2d88
>>> USB receiver is generic wireless mouse
>>> Mouse is touchpad
>>> No idea what is sysmouse. I have moused_enable="NO" and
>>> moused_nondefault_enable="NO" in /etc/rc.conf
>>> 
>>> I appreciate any help or suggestions :)
>>> _______________________________________________
>>> freebsd-x11@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
>>> To unsubscribe, send any mail to 
>>> "freebsd-x11-unsubscribe@freebsd.org"
>> 

-- 
Arto Pekkanen