Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xf86-input-mtrack: The Other Multitouch Trackpad Driver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
BlueDragonX
n00b
n00b


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Sat Apr 16, 2011 3:55 am    Post subject: xf86-input-mtrack: The Other Multitouch Trackpad Driver Reply with quote

xf86-input-mtrack v0.1.1
Xorg Multitouch Trackpad Driver

This is the official release of xf86-input-mtrack, a multitouch trackpad driver for X. It has been tested again Xorg versions 1.7, 1.8, 1.9, and now 1.10. It is particularly useful on the latest generation of the MacBook Air and any other trackpad with an integrated button.

Ebuilds for this package as well as mtdev can be found here:
https://bugs.gentoo.org/show_bug.cgi?id=364033
http://www.dev.fatalmachine.org/xf86-input-mtrack/gentoo/

The project page and source code can be found here:
https://github.com/BlueDragonX/xf86-input-mtrack

This project started life as a fork of xf86-input-multitouch and was originally announced in this thread. It has come a long way and I believe it's finally worthy of a version number.

The README on Github gives a configuration example and an overview of all the available options. I have additional features planned for v0.2.0.

Please post any issues to the project's issues tracker on Github. You can check the last few pages of the original thread for some example configs that other people are using.

Changelog for v0.1.1
  • Bugfix release.
  • Disabling tapping no longer (wrongly) disables pointer movement.
  • Button emulation set to ignore "old" touches. What consitutes an old touch can be adjusted with the ButtonTouchExpire option.

Changelog for v0.1.0
  • Initial release.


Last edited by BlueDragonX on Thu Apr 28, 2011 7:04 am; edited 3 times in total
Back to top
View user's profile Send private message
s0be
Apprentice
Apprentice


Joined: 23 Nov 2002
Posts: 239

PostPosted: Thu Apr 21, 2011 5:11 pm    Post subject: Reply with quote

Just curious, do you have an updated list of supported kernel drivers and/or known working hardware?

My laptop has a touchpad that supports multi-touch (at least for scrolling, using synaptics for 2 finger drag scrolling/evdev in kernel) and it also has a touch screen that should support it (using the wacom driver).
Back to top
View user's profile Send private message
BlueDragonX
n00b
n00b


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Thu Apr 28, 2011 7:02 am    Post subject: Reply with quote

Good news, nobody! Version 0.1.1 is here!

Changelog for v0.1.1
  • Bugfix release.
  • Disabling tapping no longer (wrongly) disables pointer movement.
  • Button emulation set to ignore "old" touches. What consitutes an old touch can be adjusted with the ButtonTouchExpire option.


s0be wrote:
Just curious, do you have an updated list of supported kernel drivers and/or known working hardware?

My laptop has a touchpad that supports multi-touch (at least for scrolling, using synaptics for 2 finger drag scrolling/evdev in kernel) and it also has a touch screen that should support it (using the wacom driver).


No I do not. Anything that supports one of the slotted multitouch protocols will work, though. Synaptics devices are not true multitouch and do not support a multitouch protocol. There shouldn't be anything preventing you from using this driver with a multitouch touchscreen, but it will act like a trackpad and not a touchscreen.
Back to top
View user's profile Send private message
s0be
Apprentice
Apprentice


Joined: 23 Nov 2002
Posts: 239

PostPosted: Thu Apr 28, 2011 8:36 am    Post subject: Reply with quote

BlueDragonX wrote:
s0be wrote:
Just curious, do you have an updated list of supported kernel drivers and/or known working hardware?

My laptop has a touchpad that supports multi-touch (at least for scrolling, using synaptics for 2 finger drag scrolling/evdev in kernel) and it also has a touch screen that should support it (using the wacom driver).


No I do not. Anything that supports one of the slotted multitouch protocols will work, though. Synaptics devices are not true multitouch and do not support a multitouch protocol. There shouldn't be anything preventing you from using this driver with a multitouch touchscreen, but it will act like a trackpad and not a touchscreen.


Confirmed both details, haha. It worked sorta with the synaptics touchpad in my laptop. Multitouch scroll worked, but sensitivities were way off. Didn't test any further (like tweaking the config).
Back to top
View user's profile Send private message
BlueDragonX
n00b
n00b


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Thu Apr 28, 2011 9:46 pm    Post subject: Reply with quote

I was mistaken in my above comment about Synaptics devices, actually. That's what happens at 2 AM, I lose the ability to think...

What is true (as I understand it) is that multitouch trackpad devices should also be supported in evdev. The multitouch protocol is actually an additional protocol supported by the trackpad, not the only one. So the Synaptics driver will work with multitouch trackpads. However, it will not have any multitouch features since the Synaptics driver does not support the multitouch protocol or implement any sort of gesture recognition.

My mtrack driver only interfaces with the multitouch protocol. If your trackpad worked using xf86-input-mtrack then it's a multitouch device. You'll just have to tweak things a bit to get it to behave exactly as you want it. The defaults are closer to the behavior of a multitouch trackpad in OSX.

Sensitivty adjustment isn't implemented in the stable releases, but the code for it is in the dev branch. If you wanted to you could roll an ebuild by changing the branch in the ebuild file above and install it. Dev has all of last night's bugfixes.
Back to top
View user's profile Send private message
s0be
Apprentice
Apprentice


Joined: 23 Nov 2002
Posts: 239

PostPosted: Sat Apr 30, 2011 8:28 am    Post subject: Reply with quote

Do you have any hints as to what settings I should try playing with? it's overly touchy, and twitchy (the best way I could describe it is that 'six too many cups of coffee at 4 am feeling....'

Also, do you know any way to hot swap which driver handles the touchpad? It's such a pain to bounce X to try this stuff out, and I know recent xorg servers have had a decent revamp of the input layer, allowing for hot add of devices, but I can't think of a way to trigger a removal and re-add of the touchpad. Normally, I'd just remove the kernel module, but (of course), it's in use.
Back to top
View user's profile Send private message
BlueDragonX
n00b
n00b


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Mon May 02, 2011 8:40 pm    Post subject: Reply with quote

Take a look at the forum thread on Ubuntu: http://ubuntuforums.org/showthread.php?t=1730361

I've asked people to post up their xorg.conf's. You can get an idea there.

There's no way to hotswap the driver. You just have to restart X.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sun May 15, 2011 11:43 am    Post subject: Reply with quote

Got a problem with this driver on a MBP 8,1. Details at https://bugs.gentoo.org/show_bug.cgi?id=367307 - don't know if I'm missing some kernel setting or what's wrong, but maybe someone here has a clue.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
BlueDragonX
n00b
n00b


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Mon May 23, 2011 4:40 am    Post subject: Reply with quote

That issue was fixed via a patch in 0.1.1-r1. The change has been merged into the official dev tree and will be part of the next release which should be here in a few days.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Mon May 23, 2011 2:12 pm    Post subject: Reply with quote

BlueDragonX wrote:
That issue was fixed via a patch in 0.1.1-r1. The change has been merged into the official dev tree and will be part of the next release which should be here in a few days.
Hi and thank you, yes, got it working by checking out git manually.

One question, though. Is it possible to add a setting - couldn't find a fitting one?! - to define the size for the index-finger? Currently, I can only move the pointer if I put the finger-tip/almost nail only on the touchpad, which is an akward position for me.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
BlueDragonX
n00b
n00b


Joined: 26 Mar 2004
Posts: 44
Location: United States

PostPosted: Mon May 23, 2011 8:02 pm    Post subject: Reply with quote

You're triggering thumb detection. You'll need to adjust the thumb size/ratio or disable thumb detection altogether.
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Mon May 23, 2011 10:03 pm    Post subject: Reply with quote

Ah I see. I would have thought that if only one finger gets detected, it most probably wouldn't be a thumb. I'll try playing a little with the values.
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
dE_logics
Advocate
Advocate


Joined: 02 Jan 2009
Posts: 2253
Location: $TERM

PostPosted: Tue May 24, 2011 12:43 pm    Post subject: Reply with quote

In my case multitouch works out of the box on Debian test (Xorg 7.5 with old drivers).
_________________
My blog
Back to top
View user's profile Send private message
Shiggity
n00b
n00b


Joined: 24 Jan 2009
Posts: 12

PostPosted: Thu Oct 27, 2011 2:15 pm    Post subject: Reply with quote

Anytime I pop in any of those values into my xorg.conf I get no cursor usability whatsoever. I have xf86-input-mtrack as well as evdev installed. What am I doing wrong?
Back to top
View user's profile Send private message
Splooshie123
n00b
n00b


Joined: 16 Apr 2012
Posts: 27

PostPosted: Tue Apr 17, 2012 4:41 pm    Post subject: Reply with quote

EDIT: Never mind. It seems that evdev was grabbing the device. Commented out the touchpad section in 10-evdev.conf and put my mtrack configuration in 09-mtrack.conf and everything works now. Although thumb detection is a bit awkward, but it's probably just the way I position my fingers.

Hi. I'm trying to get this driver to work on my Macbook Pro (6,2).

But no matter what (valid) configuration I set, it doesn't have any effect. Heck, I even set it to disable the trackpad completely just to test whether it works. Apparently the answer is "it doesn't" because I can still move the mouse even with that setting, err, set.

My Xorg.0.log shows a few errors similar to this (and maybe one I can't remember right now):
Code:
(EE) Query no Synaptics: 6003C8
(EE) bcm5974 Unable to query/initialize Synaptics hardware.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum