Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 16:08:04 -0400
From:      Anthony Jenkins <Scoobi_doo@yahoo.com>
To:        Ivan Rokotov <ivan.rokotov.bsd@gmail.com>
Cc:        Eric McCorkle <eric@metricspace.net>, "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org>
Subject:   Re: [Patch] psm(4) ClickPad detection (was Re: Lenovo W540 so far)
Message-ID:  <53AC7DA4.80408@yahoo.com>
In-Reply-To: <CAOTTJKGc3YV59LrcC3JvPK1ErA20WoeDvMokb1Z-g0ptAhh0yQ@mail.gmail.com>
References:  <539DA73B.7050709@metricspace.net>	<CAOTTJKEamc=tsFJxz0H43wxhJpowy0Nm-4JBCjozzi%2Brfcp=6Q@mail.gmail.com>	<1402931204.35984.YahooMailNeo@web140703.mail.bf1.yahoo.com>	<58DCAA2E-44DA-48F3-87B3-366301F55138@metricspace.net>	<CAOTTJKFwXJOyaW-7fX3300jfBu4WQYqgte%2BuE9cvej_NxULAPw@mail.gmail.com>	<53A02532.60201@metricspace.net>	<53A03BAF.3020807@yahoo.com>	<CAOTTJKFLbwUj0q9vyFZf4kWf95NgF_SqN2nWurp_aD8qbVg54g@mail.gmail.com>	<CAOTTJKFCEjUL6zUy6e18Yn0YTJ7CBa9FFAML3xMSU0Vad2o1zA@mail.gmail.com>	<53A080D3.2000207@yahoo.com>	<CAOTTJKF6-W0w3jtLsC1SyoZmWCeUY-TZemewePpXY7JEJd14xw@mail.gmail.com>	<53A23DAF.7030201@yahoo.com>	<CAOTTJKHsAyiXnKL3kad6hJ_PbgvHU1TG%2B_J40jKvcSv81MYoqA@mail.gmail.com>	<1403185649.28371.YahooMailNeo@web140703.mail.bf1.yahoo.com> <CAOTTJKGc3YV59LrcC3JvPK1ErA20WoeDvMokb1Z-g0ptAhh0yQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/19/2014 11:20, Ivan Rokotov wrote:
> 2014-06-19 15:47 GMT+02:00 Anthony Jenkins <scoobi_doo@yahoo.com>:
>> The keyboard not working bugs me - you might try doing a 'make
>> buildworld/installworld' as per /usr/src/UPDATING (or just copy
>> /usr/src/sys/sys/mouse.h to /usr/include/sys/mouse.h) and rebuild
>> x11-drivers/xf86-input-{mouse|keyboard|synaptics}.
> Thank you, this was the problem. Sorry, I overlooked that I have to
> copy the new mouse.h to /usr/include/sys before rebuilding the
> synaptics driver. Now (with patched kernel and patched driver) I have
> everything as before: clickpad property is detected during boot, and
> working keyboard and touchpad in X (without real click possibility -
> as far as I understand, it's expected).
>
> So now I can move to the further tests. :)
>
>> Is your X server compiled with devd(8) support (experimental) or hald support?
> Default options:
> [x] AIGLX  Compile with Accelerated Indirect GLX support
> [x] SUID   Install the Xorg server with setuid bit set
> -------------------------------- CONF ------------------------------
> (*) HAL    Compile with HAL config support
> ( ) DEVD   Use devd for autoconfiguration of input devices (experi)
>
>> I'll probably need your entire /var/log/Xorg.0.log to see why it's not working.
>> Can you kill your X server, then run
> So I guess it's not needed for now.
>
> I.

Quick status update:
I can't (yet) get xorg-server to use the Synaptics driver when both xf86-input-synaptics *and* xf86-input-mouse are installed; the "<default pointer>" fake device apparently probes for /dev/psm0 and loads the xf86-input-mouse driver.  I'm not sure how other OSes handle this.  I'll try booting Kubuntu sometime and see what its logfile says.

Really, if the OS vendor configures X.org to use its own hardware detection subsystem, I (e.g. udev, devd, hald, etc.) believe X.org shouldn't have any default devices and should disable any default drivers.  X.org is essentially cutting in front of the Synaptics driver, which could better handle our synaptics device.  Also, nowadays who actually has a true PS/2 mouse?  Synaptics should be the default driver for the PS/2 device.  Who would I whine at for this stuff - the FreeBSD X team? :-)

Anthony



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53AC7DA4.80408>