You are not logged in.

#1 2015-12-03 05:20:27

vorwart
Member
Registered: 2015-11-03
Posts: 14

[SOLVED] Trackpoint middle button scrolling

I hope this isn't inappropriate for this category, but as a new user, I would definitely consider this a bug. Trackpoint scrolling is very important production wise. I'm hooked on #!, thus am very happy to see it's spirit live on in BunsenLabs, which as of last night I am now running.....

I've tried all that I know (essentially creating the /usr/share/X11/xorg.conf.d/20-thinkpad-conf file & rebooting) but it didn't work. I'd appreciate any help here for now, and think it would be a very positive thing to include in future releases.

This is a fresh install of BLRC1 on a T61 thinkpad. Thanks in advance.

Last edited by vorwart (2015-12-07 15:19:37)

Offline

#2 2015-12-03 05:29:04

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Trackpoint middle button scrolling

You haven't said what the problem is. Do you mean "No Middle Button scrolling"?

Have you tried changing the settings? To see what the current settings are:

synclient -l

Also see `man synaptics`


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2015-12-03 05:40:12

gako
Member
Registered: 2015-10-02
Posts: 241

Re: [SOLVED] Trackpoint middle button scrolling

20-thinkpad-conf or 20-thinkpad.conf ? not sure if it matters.

/usr/share/X11/xorg.conf.d/20-thinkpad.conf

Section "InputClass"
    Identifier  "Trackpoint Wheel Emulation"
    MatchProduct        "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
    MatchDevicePath     "/dev/input/event*"
    Option              "EmulateWheel"          "true"
    Option              "EmulateWheelButton"    "2"
    Option              "Emulate3Buttons"       "false"
    Option              "XAxisMapping"          "6 7"
    Option              "YAxisMapping"          "4 5"
EndSection

Offline

#4 2015-12-03 07:58:42

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,084
Website

Re: [SOLVED] Trackpoint middle button scrolling

vorwart wrote:

I've tried all that I know (essentially creating the /usr/share/X11/xorg.conf.d/20-thinkpad-conf file & rebooting) but it didn't work

You need to post your configuration file and the output of:

xinput

This will probably be useful to you:
https://wiki.debian.org/InstallingDebia … Trackpoint
EDIT: This is what gako has posted above -- the name doesn't matter BTW wink

Offline

#5 2015-12-03 15:02:02

vorwart
Member
Registered: 2015-11-03
Posts: 14

Re: [SOLVED] Trackpoint middle button scrolling

Yes, the problem is no middle button scrolling. And gako, I have renamed the file"20-thinkpad.conf" good catch on the (dash) typo. But that didn't fix it.

damo & Head_on_a_stick, here are my outputs:

vorwart@Bunsen-Labs:~$ synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?
vorwart@Bunsen-Labs:~$ xinput
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ TPPS/2 IBM TrackPoint                   	id=11	[slave  pointer  (2)]
⎜   ↳ Mouseemu virtual mouse                  	id=14	[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)]
    ↳ Sleep Button                            	id=8	[slave  keyboard (3)]
    ↳ Burr-Brown from TI               USB Audio CODEC 	id=9	[slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard            	id=10	[slave  keyboard (3)]
    ↳ ThinkPad Extra Buttons                  	id=12	[slave  keyboard (3)]
    ↳ Mouseemu virtual keyboard               	id=13	[slave  keyboard (3)]

Thanks.

Last edited by vorwart (2015-12-03 15:02:34)

Offline

#6 2015-12-05 14:12:57

vorwart
Member
Registered: 2015-11-03
Posts: 14

Re: [SOLVED] Trackpoint middle button scrolling

Well, I've search for and have tried everything I could find (with the exception of installing gpointing-device-settings as it's not supported in jesse).

So I'm at a dead end, but what's odd is that trackpoint middle button scrolling was working for me in the alpha release of BL. I can't recall if I had to add the "20-thinkpad.conf" or if it was enabled at install, but it did work. What am I missing here? What is the difference between the alpha release and RC1 concerning this?

Offline

#7 2015-12-05 20:31:18

gako
Member
Registered: 2015-10-02
Posts: 241

Re: [SOLVED] Trackpoint middle button scrolling

vorwart wrote:

Well, I've search for and have tried everything I could find (with the exception of installing gpointing-device-settings as it's not supported in jesse).

So I'm at a dead end, but what's odd is that trackpoint middle button scrolling was working for me in the alpha release of BL. I can't recall if I had to add the "20-thinkpad.conf" or if it was enabled at install, but it did work. What am I missing here? What is the difference between the alpha release and RC1 concerning this?

do you have /usr/share/X11/xorg.conf.d/50-synaptics.conf
do you have /etc/X11/xorg.conf  < probably not but doesn't hurt

also, maybe silly but if you copy pasted the 20-thinkpad.conf, make sure you got it all.
That third line is pretty long... I for one have been known to do hack jobs with copy paste wink

Offline

#8 2015-12-06 01:10:57

vorwart
Member
Registered: 2015-11-03
Posts: 14

Re: [SOLVED] Trackpoint middle button scrolling

gako wrote:

do you have /usr/share/X11/xorg.conf.d/50-synaptics.conf
do you have /etc/X11/xorg.conf  < probably not but doesn't hurt

No, but I've copied and pasted them there. Having the xorg.conf in /etc/X11/ lost the gui.

And I've copied and pasted "20-thinkpad.conf" from several different sources several different times. I'm not above copy & paste goofs, but am pretty sure that's not it.

I appreciate the thoughts, though.

So am I the onlyone having this problem? Anyone with a thinkpad out there have trackpoint scrolling working?

Offline

#9 2015-12-06 07:04:15

gako
Member
Registered: 2015-10-02
Posts: 241

Re: [SOLVED] Trackpoint middle button scrolling

vorwart wrote:

So am I the onlyone having this problem? Anyone with a thinkpad out there have trackpoint scrolling working?

Trackpoint scrolling works fine for my thinkpad in debian jessie - from minimal install and no login manager.
I must have either
/usr/share/X11/xorg.conf.d/20-thinkpad.conf
/etc/X11/xorg.conf.d/20-thinkpad.conf
for it to work.

Shouldn't matter /etc/X11/xorg.conf.d or /usr/share/X11/xorg.conf.d / both should work... but hey maybe try /etc/X11/xorg.conf.d
The arch wiki explains that files in /etc/X11/xorg.conf.d/ must have .conf suffix.

Also, I replicated your error with synclient -l earlier by removing my 50-synaptics.conf (but that shouldn't affect trackpoint scrolling)
That's why I asked.

could you post output

find /dev/input/event* -exec udevadm info --attribute-walk --name={} \; | grep -e product -e name | sort -u

You should make sure the MatchProduct string from 20-thinkpad.conf is listed just saw your xinput, looks good hmm
I assume you've checked BIOS as well?

----try these

vert scroll

xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 8 1
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 8 2
xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200

horz scroll

xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Axes" 8 6 7 4 5

Last edited by gako (2015-12-06 07:47:50)

Offline

#10 2015-12-06 14:37:55

vorwart
Member
Registered: 2015-11-03
Posts: 14

Re: [SOLVED] Trackpoint middle button scrolling

Thanks gako

vorwart@Bunsen-Labs:~$ find /dev/input/event* -exec udevadm info --attribute-walk --name={} \; | grep -e product -e name | sort -u
    ATTRS{name}=="AT Translated Set 2 keyboard"
    ATTRS{name}=="Burr-Brown from TI               USB Audio CODEC "
    ATTRS{name}=="HDA Intel Dock Mic"
    ATTRS{name}=="HDA Intel Headphone"
    ATTRS{name}=="HDA Intel Mic"
    ATTRS{name}=="Lid Switch"
    ATTRS{name}=="Mouseemu virtual keyboard"
    ATTRS{name}=="Mouseemu virtual mouse"
    ATTRS{name}=="PC Speaker"
    ATTRS{name}=="Power Button"
    ATTRS{name}=="Sleep Button"
    ATTRS{name}=="ThinkPad Extra Buttons"
    ATTRS{name}=="TPPS/2 IBM TrackPoint"
    ATTRS{name}=="Video Bus"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{product}=="USB2.0 HUB"
    ATTRS{product}=="USB Audio CODEC "
vorwart@Bunsen-Labs:~$ xinput set-int-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 8 200
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  57 ()
  Serial number of failed request:  19
  Current serial number in output stream:  20

I've also:

sudo apt-get purge xserver-xorg-input-synaptics
sudo apt-get install xserver-xorg-input-synaptics

and have tried your xinput commands in ~/.xsessionrc and also ~/.xinitrc.

Nothing....(Yet) What do you think?

Offline

#11 2015-12-06 14:39:38

vorwart
Member
Registered: 2015-11-03
Posts: 14

Re: [SOLVED] Trackpoint middle button scrolling

Oh, and I have had the touchpad turned off in bios for years now.... That shouldn't bother the trackpoint, should it? It never has before.

Offline

#12 2015-12-06 20:36:19

gako
Member
Registered: 2015-10-02
Posts: 241

Re: [SOLVED] Trackpoint middle button scrolling

vorwart wrote:

Oh, and I have had the touchpad turned off in bios for years now.... That shouldn't bother the trackpoint, should it? It never has before.

My trackpoint doesn't even work if I have touchpad disabled in BIOS, and I have options for both touchpad and trackpoint so... maybe
I disable touchpad with either

Section "InputClass"
        Identifier "Touchpad"
        MatchDriver "synaptics"
        Option "TouchpadOff" "1"
EndSection

or

synclient TouchpadOff=1

as for your xinput error, it makes sence and the first two commands exited fine and should have been enough to get vert scrolling working.



here is a script that will try those commands for every id# listed in "xinput list" under  Virtual core pointer section

#!/bin/sh
xinput list | sed -ne 's/^[^ ][^V].*id=\([0-9]*\).*/\1/p' | while read id
do
        case `xinput list-props $id` in
        *"Middle Button Emulation"*)
                xinput set-int-prop $id "Evdev Wheel Emulation" 8 1
                xinput set-int-prop $id "Evdev Wheel Emulation Button" 8 2
                xinput set-int-prop $id "Evdev Wheel Emulation Timeout" 8 200
                xinput set-int-prop $id "Evdev Wheel Emulation Axes" 8 6 7 4 5
                xinput set-int-prop $id "Evdev Middle Button Emulation" 8 0
                ;;
        esac
done

it'll give some errors but that's ok
fish in a barrel, sorry haven't gotten working.
Maybe try these xinput commands on a live iso see if works on something else
Also look through /var/log/Xorg.0.log for relevant entry.

egrep 'TPPS|Trackpoint|Extra Buttons' /var/log/Xorg.0.log | less

On a final note, do you use lightdm as login manager?
Do you have same problems if just using startx and .xinitrc?

Offline

#13 2015-12-07 01:06:34

vorwart
Member
Registered: 2015-11-03
Posts: 14

Re: [SOLVED] Trackpoint middle button scrolling

Bam...freakin' awesome, gako! That script works. So why? ....after playing around with it a little, I discovered that it works when it gets to id 14, which is for "Mouseemu virtual mouse", and not id 11 for the trackpoint. Any idea why that is?

No idea what login manager I'm using, it's whatever the default is for BLRC1.

Xorg.0 looks unremarkable, but then again, I don't really know what I am talking about here. So, just to cover that, here it is:

[    25.277] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event11)
[    25.277] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    25.277] (**) TPPS/2 IBM TrackPoint: Applying InputClass "Trackpoint Wheel Emulation"
[    25.277] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[    25.277] (**) TPPS/2 IBM TrackPoint: always reports core events
[    25.277] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event11"
[    25.277] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[    25.278] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[    25.278] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[    25.278] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[    25.278] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[    25.278] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[    25.278] (**) evdev: TPPS/2 IBM TrackPoint: XAxisMapping: buttons 6 and 7
[    25.278] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 2, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    25.278] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 11)
[    25.278] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[    25.278] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[    25.278] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[    25.278] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    25.278] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    25.279] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[    25.280] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event4)
[    25.280] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[    25.280] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[    25.280] (**) ThinkPad Extra Buttons: always reports core events
[    25.280] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event4"
[    25.280] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[    25.280] (--) evdev: ThinkPad Extra Buttons: Found keys
[    25.280] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[    25.280] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 12)

I would love to learn what is going on with this.

Regardless, now I have something I can work with, and I thank you very much for your time and expertise.

Offline

#14 2015-12-07 06:10:02

gako
Member
Registered: 2015-10-02
Posts: 241

Re: [SOLVED] Trackpoint middle button scrolling

Glad to hear vorwart, congrats!

Mouseemu looks like a daemon service for emulating trackpad buttons, not sure.
You must have it installed I'm guessing.
Check if service is running

service --status-all

Your 20-thinkpad.conf might work either
- without that daemon running/installed (probably I'm wrong tongue)
- or by adding Mouseemu virtual mouse to the MatchProduct line 

Don't worry about the login manager (lightdm), I was heading in the wrong direction.

Out of interest if you mess around with other distros, could you report here if there are any differences in configuration?
Happy Trackpoint scrolling smile

Offline

#15 2015-12-07 13:07:27

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] Trackpoint middle button scrolling

gako wrote:

Out of interest if you mess around with other distros, could you report here if there are any differences in configuration?
Happy Trackpoint scrolling smile

It could be useful info. And if the OP could edit the title of the first post and add [SOLVED]....


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#16 2015-12-07 15:18:56

vorwart
Member
Registered: 2015-11-03
Posts: 14

Re: [SOLVED] Trackpoint middle button scrolling

I'm also running Peach OSI, no Mouseemu, no scrolling problems there. I also checked the live ISO of BunsenLabs - no Mouseemu there either. I haven't installed much beyond the basics brought by the BLWelcome script, just Clementine and Ripperx, which are also installed on my Peach OSI. So apparently I must have accidently ticked it's checkbox in Synaptic when installing Ripperx & Clementine (how the heck does that happen? ...I am getting a little older.... )

"Mouseemu is a daemon to emulate mouse buttons on trackpads with only one button." That obviously isn't needed here, so I've uninstalled it. Now everything is working great.

This is certainly not a BL bug, just a user error. (Maybe the post should be relocated?)

I'm a little red in the face, but very happy to have gotten to the bottom of this. I appreciate all the help. It's good to have an OS that's a great fit, and a great community behind it.

Cheers. big_smile

Last edited by vorwart (2015-12-07 15:24:20)

Offline

#17 2016-03-18 13:08:20

daniel
New Member
Registered: 2016-03-18
Posts: 1

Re: [SOLVED] Trackpoint middle button scrolling

I experienced the same problem, that is no middle button scrolling.
If anyone else ends in a similar situation, here is the what was relevant for me: I discovered that I missed /usr/share/X11/xorg.conf.d/20-thinkpad.conf and adding the file (as stated above)

Section "InputClass"
    Identifier  "Trackpoint Wheel Emulation"
    MatchProduct        "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
    MatchDevicePath     "/dev/input/event*"
    Option              "EmulateWheel"          "true"
    Option              "EmulateWheelButton"    "2"
    Option              "Emulate3Buttons"       "false"
    Option              "XAxisMapping"          "6 7"
    Option              "YAxisMapping"          "4 5"
EndSection

simply solves the problem.

I do not know why the file wasn't there in the first place - Since I use UEFI (instead of bios) on my ThinkPad x230 I installed BL using Head_on_a_Stick's guide, further I also always have had the touchpad disabled at UEFI/bios level. If any of this might have been an issue during installation I don't know.

Offline

#18 2016-11-13 17:45:21

simes
New Member
Registered: 2016-11-13
Posts: 1

Re: [SOLVED] Trackpoint middle button scrolling

The solution posted by Daniel above works for me too on a ThinkPad X61s.  BunsenLabs works like a charm on this machine.

Offline

Board footer

Powered by FluxBB