Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message
Disabling trackpad when trackpoint is in use. (Debian-X220)
Disabling trackpad when trackpoint is in use. (Debian-X220)
I just installed Debian wheezy on my X220 and I noticed how annoying the trackpad is when using the trackpoint as my palm brushes on the pad. Previously I was using Debian on an X300 and simply disabled the trackpad from the BIOS menu, but I am looking for a more flexible solution. When in windows the trackpad is disabled whenever the keyboard of the trackpoint is in use. I was wondering if there is a similar situation for linux.
I have installed gpointing-device-settings but none of the options there worked. I have seen a daemon that that disables the pad when typing, but I don't really have a problem when typing, it is when using the trackpoint that the pad becomes a bother. Does Lenovo have a solution that they use with their preinstalled linux or is there a third party solution for this?
Thanks for the help.
I have installed gpointing-device-settings but none of the options there worked. I have seen a daemon that that disables the pad when typing, but I don't really have a problem when typing, it is when using the trackpoint that the pad becomes a bother. Does Lenovo have a solution that they use with their preinstalled linux or is there a third party solution for this?
Thanks for the help.
Re: Disabling trackpad when trackpoint is in use. (Debian-X220)
If you use the KDE desktop, there is a checkbox for "Input devices" that disables the TrackPad. Gnome does not seem to have the same functionality out of the box.
See if the following is any help: http://www.thinkwiki.org/wiki/Synaptics ... iver_for_X
See if the following is any help: http://www.thinkwiki.org/wiki/Synaptics ... iver_for_X
DKB
Re: Disabling trackpad when trackpoint is in use. (Debian-X220)
The problem isn't in disabling the touchpad manually, that's really easy to do, however it's hard to disable it automatically when the trackpoint is in use (ie. the mouse cursor is being moved by it), which is probably why this topic was created in the first place.GomJabbar wrote:If you use the KDE desktop, there is a checkbox for "Input devices" that disables the TrackPad. Gnome does not seem to have the same functionality out of the box.
See if the following is any help: http://www.thinkwiki.org/wiki/Synaptics ... iver_for_X
Unfortunately, there's probably no easy way, you may take a look at "man 4 synaptics" to see all the options you can use to tune the touchpad, however it's still touchpad-only.MANTA wrote:...
See
Code: Select all
dmesg | grep input:
Code: Select all
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input5
input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input15
Now you can "cat /dev/input/event5" to get some output when the touchpad is active and "cat /dev/input/event15" when the trackpoint is active. So now it should be pretty easy to make a userspace daemon read(2) /dev/input/event15 and disable (with some delay) trackpoint if that input line is active (ie. using calls provided by the synaptics driver).
Re: Disabling trackpad when trackpoint is in use. (Debian-X220)
Thank for the assistance, I guess there isn't a ready solution out there so if I want one I have to roll one out myself. I guess I will give that a shot.
Thanks for all the help.
Thanks for all the help.
Re: Disabling trackpad when trackpoint is in use. (Debian-X220)
I know this thread is old, It's just the first one I found in my searches.
I too have been irritated with this and since I couldn't manage to find an acpi even for my trackstick on an edge 430 I came up with this script to solve the problem, modify it to suit your needs
Please bear with me since I'm no professional bash scripter.
The only caveat I've found is that if you decide to run 'pkill cat' as root the script will fail to function, also if you kill the script manually without killing cat and restart it you will have multiple cat processes running.
SInce I run fluxbox I've added this script to my ~/.fluxbox/apps with "sudo /path/to/script" as the script will require root access for the mouse event.
Hope this helps someone!
I too have been irritated with this and since I couldn't manage to find an acpi even for my trackstick on an edge 430 I came up with this script to solve the problem, modify it to suit your needs
Please bear with me since I'm no professional bash scripter.
Code: Select all
#!/bin/bash
#
#Change /dev/input/event13 to your trackstick event
cat /dev/input/event13 > /tmp/mousemove &
#initialize counter to prevent garbage file from growing
i="0";
while true ; do
i=$[$i+1];
#variables
oldchecksum=${newchecksum};
newchecksum=`md5sum /tmp/mousemove | awk '{print $1}'`
#see if trackpad is already disabled
if [ "$trackpad" = "off" ]; then
#compare previous checksum to current if they're same trackstick is not moving
if [ "$oldchecksum" = "$newchecksum" ]; then
#make sure trackpad is enabled
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 1;
trackpad="on";
fi
else
#compare previous checksum to current if they're different trackstick is moving
if [ "$oldchecksum" != "$newchecksum" ]; then
#disable trackpad
xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0;
trackpad="off";
fi
fi
#check for count to keep poll file smaller
if [ "$i" = "300" ]; then
echo '' > /tmp/mousemove;
i="0";
newchecksum=`md5sum /tmp/mousemove | awk '{print $1}'`
fi
#sleep for 1 second so we don't eat up resources
#if you find that the update is not fast enough a smaller number such as .5 might suit you.
sleep 1;
done
SInce I run fluxbox I've added this script to my ~/.fluxbox/apps with "sudo /path/to/script" as the script will require root access for the mouse event.
Hope this helps someone!
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Lazy jumping cursors on X220 with Debian 11 distro
by N4b00 » Mon Dec 25, 2023 8:01 am » in Linux Questions - 0 Replies
- 6777 Views
-
Last post by N4b00
Mon Dec 25, 2023 8:01 am
-
-
-
thinkpad t440p Linux trackpad + trackpoint not working.
by jaggreaney » Thu Nov 09, 2023 2:54 pm » in ThinkPad T430-T490 / T530-T590 Series - 1 Replies
- 2385 Views
-
Last post by RealBlackStuff
Thu Nov 09, 2023 11:48 pm
-
-
-
Windows 11 detects wrong TrackPad model (because i've installed the wrong one ;) )
by Quardah » Sun Oct 08, 2023 10:00 pm » in ThinkPad T430-T490 / T530-T590 Series - 3 Replies
- 5738 Views
-
Last post by axur-delmeria
Wed Oct 11, 2023 12:18 am
-
-
-
X230T Keyboard trackpad button issue replacement?
by blink » Mon Nov 06, 2023 8:29 am » in ThinkPad X230-X280 / X390 Series - 3 Replies
- 2323 Views
-
Last post by RealBlackStuff
Thu Nov 09, 2023 10:59 am
-
Who is online
Users browsing this forum: No registered users and 28 guests