You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



ThinkPad E540 turn off TrackPad

Author (Read 3868 times)

0 Members and 1 Guest are viewing this topic.

Re: ThinkPad E540 turn off TrackPad
« Reply #6 on: January 18, 2016, 02:41:44 PM »
 

UltraCookie

  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 24
  • Linux Flavoured Chocolate Cookie
    • View Profile

  • CPU: Intel i5-4210M Dual Core 2,60 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD 4600

  • Kernel: 5.x
Solution:

Props to avj the hint on xinput. ;)

Open a terminal by pressing [Ctrl+Alt+T].

To get a List of mouse and keybord devices do:

Code: [Select]
xinput --list

output:
Code: [Select]
⎡ Virtual core pointer                       id=2   [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                 id=4   [slave  pointer  (2)]
⎜   ↳ SynPS/2 Synaptics TouchPad                 id=10   [slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                      id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                      id=3   [master keyboard (2)]
    ↳ Virtual core XTEST keyboard                id=5   [slave  keyboard (3)]
    ↳ Power Button                               id=6   [slave  keyboard (3)]
    ↳ Video Bus                                  id=7   [slave  keyboard (3)]
    ↳ Integrated Camera                          id=8   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard               id=9   [slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                     id=12   [slave  keyboard (3)]

Get the device ID of the device you want to edit. I want to edit the TouchPad properties so the ID is 10

To see the device properties do:

Code: [Select]
xinput list-props 10

This will give out a pretty long list of properties. We are interested in the deceleration of the courser. The properties controlling this are at top of the list and are called:

Code: [Select]
Device Accel Constant Deceleration (262): 2.5
Device Accel Adaptive Deceleration (263): 1

To stop the courser from moving when the Touchpad is used heavily increase these values (I put both to 1000, maybe less also works).

Code: [Select]
xinput --set-prop 10 "Device Accel Constant Deceleration" 1000
xinput --set-prop 10 "Device Accel Adaptive Deceleration" 1000

To make sure this gets done on every boot do:

Create an empty file called 'no_touchpad.sh'

Open it in a text editor of your liking and copy/paste this code into it:

Code: [Select]
#!/bin/bash

# For TouchPad to stop moving the courser

xinput --set-prop <your ID> "Device Accel Adaptive Deceleration" <your value>
xinput --set-prop <your ID> "Device Accel Constant Deceleration" <your value>

exit 0

Put the file in a directory of our liking and make it executable by doing:

Code: [Select]
sudo chmod ugo+x /your/directory/no_touchpad.sh

Go to the main menu and search for 'startup' and open 'Session and Startup'.
Add a new startup with the command:

Code: [Select]
bash /your/directory/no_touchpad.sh

If the changes where made and the touchpad can still move the courser you need to put the two values even higher or this solution does not work on your device.
« Last Edit: January 19, 2016, 04:45:58 PM by UltraCookie »
Linux Lite 5.0 on Lenovo Edge 540 <3
 

Re: ThinkPad E540 turn off TrackPad
« Reply #5 on: January 18, 2016, 01:32:42 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
Glad it helped. :)

If you have the time you should document how you fixed the issue, so that others can find it, or in case you need the information again.

To mark the thread as solved just edit the subject line on your first post.


 
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: ThinkPad E540 turn off TrackPad
« Reply #4 on: January 18, 2016, 12:53:34 PM »
 

UltraCookie

  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 24
  • Linux Flavoured Chocolate Cookie
    • View Profile

  • CPU: Intel i5-4210M Dual Core 2,60 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD 4600

  • Kernel: 5.x
Thanks a lot avj!!

The solution in the link did not work for me since it focused on pressure sensitivity of the trackpad.
But xinput was the solution. I'm sure there is a better way to do this but for now I put the adaptive and constant deceleration options so high that no matter how much I move my finger on the trackpad the courser does not move and it doesn't interfere with the trackball. Clicking and two finger scrolling still works.

Total success so far!   ;D

I guess this thread can be marked as solved.  ;)
Linux Lite 5.0 on Lenovo Edge 540 <3
 

Re: ThinkPad E540 turn off TrackPad
« Reply #3 on: January 18, 2016, 12:01:10 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
You should open a terminal and enter the following, and post it's output back here.

Code: [Select]
xinput --list
That should help identify which device you need to work with.
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: ThinkPad E540 turn off TrackPad
« Reply #2 on: January 18, 2016, 11:39:18 AM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
I was able to find one link that looks like it might work, but it will require someone more experienced with linux to tell you how to use it with your machine.

http://askubuntu.com/questions/578833/permanently-disable-trackpoint-in-lenovo-t440p-ubuntu-14-04

Hopefully, someone who knows the ins and outs of "xinput" will be able to help you find a configuration that will work for you, or be able to verify if this one will.  At the very least it is a place to start.  :)
« Last Edit: January 18, 2016, 11:56:23 AM by avj »
“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

ThinkPad E540 turn off TrackPad
« Reply #1 on: January 17, 2016, 04:28:29 AM »
 

UltraCookie

  • Forum Regular
  • ***
  • 159
    Posts
  • Reputation: 24
  • Linux Flavoured Chocolate Cookie
    • View Profile

  • CPU: Intel i5-4210M Dual Core 2,60 GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel HD 4600

  • Kernel: 5.x
Hi,

I have ThinkPad E540 and I'm getting more used to the TrackPoint but the E540 does not have separate mouse buttons and only the TrackPad for clicking so I can't deactivate it. I only want to use the TrackPad for clicking and maybe scrolling but not for moving the mouse. I tried turning the sensitivity all the way down but that does not seem to anything.

Thanks in advance for any help.
« Last Edit: February 13, 2016, 12:50:36 PM by UltraCookie »
Linux Lite 5.0 on Lenovo Edge 540 <3
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section