Trackpoint Scrolling Issues in Debian

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Hierax_ca
Freshman Member
Posts: 91
Joined: Fri Jul 04, 2014 12:06 am
Location: Victoria, BC, Canada

Trackpoint Scrolling Issues in Debian

#1 Post by Hierax_ca » Fri Dec 04, 2015 1:10 pm

I've been having some TrackPoint Scrolling Issues in Debian-based distros that weren't showing up in Ubuntu-based distros but I found what looks like some possible solutions:

- https://wiki.debian.org/InstallingDebia ... Trackpoint

- http://www.thinkwiki.org/wiki/How_to_co ... TrackPoint

Sharing here in case it helps someone else too...
Toshiba (93-98): t3400(ct), 3600ct, 610ct, 620ct, 660cdt, 490xcdt, 780cdm/dvd

IBM (95-06): 701c*(s) Butterfly, 600(e,x*), A31p*, T43(S*, p,+pS*)

Lenovo (07-12): t60h, T601pF*, x60t+, x61t+*,
W500, W700(ds), W701, x301*, x200t, x220t, x220*, W520*

Mac (04+11): iMac G4 20", MacBook Pro 17"

axur-delmeria
ThinkPadder
ThinkPadder
Posts: 1269
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: Trackpoint Scrolling Issues in Debian

#2 Post by axur-delmeria » Fri Dec 04, 2015 2:50 pm

I used those pages before, when I set up Debian 7.0 on my X61. I put the xinput commands in a shell script appropriately named trackpoint-scrolling.sh:

Code: Select all

#!/bin/sh
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 6 7 4 5
I saved it to /opt/thinkpad/ (need root privileges for that), set it as executable by using this chmod command on the terminal:

Code: Select all

chmod +x /opt/thinkpad/trackpoint-scrolling.sh
and set it to run automatically upon login.
I use XFCE, so I added it to Settings --> Sessions and Startup --> Application Autostart

Made a copy on my flash drive and reused it on my X220 running Debian 8. :D
Daily driver: X220 4291-P79 i5-2520M

In reserve: X61 T7500, X60 T2300
In pieces: X60s CS U1300 [board only], two retired but working X61Ts
RIP: 760XD 9546-U9E

brchan
ThinkPadder
ThinkPadder
Posts: 1326
Joined: Sun Jun 01, 2014 11:43 am
Location: West Lafayette, Indiana

Re: Trackpoint Scrolling Issues in Debian

#3 Post by brchan » Fri Dec 04, 2015 3:06 pm

You can also simplify things by putting those xinput commands into the .xinitrc file located in your home directory. Add them just before the line that starts with "exec". No need for scripts.
Current Thinkpads: W530 (functional classic keyboard mod), X301, T61, T60, T43, T23, 600X, 770
Other: mk5 Toughbook cf-19, mk1 Toughbook cf-53

axur-delmeria
ThinkPadder
ThinkPadder
Posts: 1269
Joined: Mon May 28, 2012 5:49 am
Location: Metro Manila, Philippines

Re: Trackpoint Scrolling Issues in Debian

#4 Post by axur-delmeria » Fri Dec 04, 2015 8:35 pm

brchan wrote:You can also simplify things by putting those xinput commands into the .xinitrc file located in your home directory. Add them just before the line that starts with "exec". No need for scripts.
I didn't muck around with the .xinitrc file until I tried Arch on the RPI2.
IMO my approach has its merits as it's easily transferable to other systems and doesn't require modifying system files.
Daily driver: X220 4291-P79 i5-2520M

In reserve: X61 T7500, X60 T2300
In pieces: X60s CS U1300 [board only], two retired but working X61Ts
RIP: 760XD 9546-U9E

Hierax_ca
Freshman Member
Posts: 91
Joined: Fri Jul 04, 2014 12:06 am
Location: Victoria, BC, Canada

Re: Trackpoint Scrolling Issues in Debian

#5 Post by Hierax_ca » Fri Dec 04, 2015 11:52 pm

I did a quick test on a T43p and used the last one from the Debian.org page to create a file called "20-thinkpad.conf" and put it here: /usr/share/X11/xorg.conf.d/ with these contents:

Code: Select all

 Section "InputClass"
     Identifier "Trackpoint Wheel Emulation"
     MatchProduct       "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint"
     MatchDevicePath    "/dev/input/event*"
     Option             "EmulateWheel"          "true"
     Option             "EmulateWheelButton"    "2"
     Option             "Emulate3Buttons"       "false"
     Option             "XAxisMapping"          "6 7"
     Option             "YAxisMapping"          "4 5"
 EndSection
and I used the for 4.2 Jessie Backport version (last on the page), since I'm only trying to get Thinkpads working not external USB keyboards with Trackpoints, and it's working fine with 3.16 too! I'll try with more models later but so far so good ...
Toshiba (93-98): t3400(ct), 3600ct, 610ct, 620ct, 660cdt, 490xcdt, 780cdm/dvd

IBM (95-06): 701c*(s) Butterfly, 600(e,x*), A31p*, T43(S*, p,+pS*)

Lenovo (07-12): t60h, T601pF*, x60t+, x61t+*,
W500, W700(ds), W701, x301*, x200t, x220t, x220*, W520*

Mac (04+11): iMac G4 20", MacBook Pro 17"

Hierax_ca
Freshman Member
Posts: 91
Joined: Fri Jul 04, 2014 12:06 am
Location: Victoria, BC, Canada

Re: Trackpoint Scrolling Issues in Debian

#6 Post by Hierax_ca » Mon Jan 11, 2016 5:07 pm

Update:

AntiX MX-15 Final release version now includes this TrackPoint Scrolling Fix and it is working on all of my Thinkpads!
Toshiba (93-98): t3400(ct), 3600ct, 610ct, 620ct, 660cdt, 490xcdt, 780cdm/dvd

IBM (95-06): 701c*(s) Butterfly, 600(e,x*), A31p*, T43(S*, p,+pS*)

Lenovo (07-12): t60h, T601pF*, x60t+, x61t+*,
W500, W700(ds), W701, x301*, x200t, x220t, x220*, W520*

Mac (04+11): iMac G4 20", MacBook Pro 17"

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 1 guest