Set trackpoint in centos

Source: Internet
Author: User

Reproduced from: http://centos.org/modules/newbb/viewtopic.php? Topic_id = 12665 & Forum = 39

 

The ultranav trackpoint on thinkpads has a great middle button scrolling
Ability. Some distros [read: Ubuntu, opensuse] have little to no
Problem processing ing it because, unlike fedora and centos, they have
Decided to keep the/dev/psaux device instead of completely using
/Dev/input/devices. I searched around and cocould not find a good way
Configure the scrolling in centos. Finally, I did some detective work
And this is what I found. This is using a IBM ThinkPad t42, but shoshould
Probably work on must ultranav equipped thinkpads.

The default
Centos 5 install configures a single input device using the synaptics
Driver. This will give you some 99% of the functionality, but will not
Allow you to configure trackpoint scrolling. Here is what it looks
Like.

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection


What
We need to do is have two sections; one for the synaptics touchpad and
Another for the trackpoint. Since/dev/psaux does not exist, we need
Find out where the specific touchpad device file is.


[msiner@luigi
Desktop]$ cat /var/log/Xorg.0.log | grep Synaptics
(**) |-->Input Device "Synaptics"
(II) Synaptics touchpad driver version 0.14.4 (1404)
(--) Synaptics auto-dev sets device to /dev/input/event1
(--) Synaptics touchpad found
(**) Synaptics: always reports core events
...

Since
It is at/dev/input/event1 (use that command on your own machine
Because yours may be different), we can configure the trackpoint
/Dev/input/mice and the touchpad at/dev/input/event1. the last trick
We need is to also use the "sendcoreevents" option to make sure both
Them work. Here is my Xorg. conf configuration for the device. Notice
That I have Ded the serverlayout section as it had to be changed.

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Trackpoint"
InputDevice "Synaptics"
EndSection

...

Section "InputDevice"
Identifier "Trackpoint"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/input/event1"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Option "SHMConfig" "on"
EndSection

...


This
Setup has worked for me and I hope this post helps somebody else who is
Having trouble with this or had just accepted the sad fate of not
Having trackpoint scrolling. Some of you might have figured this out
Already, But I cound not find any info through Google or even thinkwiki.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.