[ltp] Disabling touchpad buttons only

Marius Gedminas linux-thinkpad@linux-thinkpad.org
Wed, 23 Jan 2008 23:55:48 +0200


--r5Pyd7+fXNt84Ff3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 22, 2008 at 05:26:25PM +0000, Richard Neill wrote:
> Marius Gedminas wrote:
>> Lenovo T61 has the UltraNav thingy: trackpoint with three buttons and a
>> touchpad with two buttons.
>> Is it possible to disable the buttons below the touchpad, but keep the
>> touchpad itself active?
>
> I think so.
>
> 1)Write separate udev rules to create symlinks /dev/input/trackpoint, and=
=20
> /dev/input/touchpad

Thanks for the encouragement!

I can see now (by switching to a text console, catting the device files,
and wiggling the mice) that touchpad events come from
/dev/input/by-path/platform-i8042-serio-1-mouse, while trackpoint events
come from /dev/input/by-path/platform-i8042-serio-2-mouse.

Previously I tried catting those files from an xterm, which didn't work
too well (trackpoint events were visible, touchpad events weren't).

> 2)Configure these devices separately in xorg.conf, one as CorePointer, th=
e=20
> other as SendCoreEvents.  Don't use /dev/input/mice.

Doesn't opening /dev/input/mouseX automatically remove those events from
/dev/input/mice?  I'd like to keep /dev/input/mice for hotpluggable USB mic=
e.

Can I use the 'synaptics' driver with /dev/input/mouseX instead of
/dev/psaux?  (Reading 'man synaptics' seems to indicate that I can use
it with /dev/input/eventX.)

> 3)With the touchpad, map the buttons 1/2  out of the way, so that they se=
nd=20
> button 9,10 events. (which will be ignored)

That would be Option "ButtonMapping" "9 10", right?

Is there a way to do the equivalent with the 'synaptics' driver instead
of 'mouse'?

Thanks,
Marius Gedminas
--=20
Please note that I only check linux-utf8 on Tuesdays when they happen
on a tenth of December, so please CC me with any replies.
	-- Juliusz Chroboczek

--r5Pyd7+fXNt84Ff3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHl7fkkVdEXeem148RAruCAJ9tLNRex+OO3Uje250gleVF5V/6aACeOSor
Y+OIzjvcsyFNn5IEI2SxaCw=
=3hUG
-----END PGP SIGNATURE-----

--r5Pyd7+fXNt84Ff3--