iberianpig / xSwipe

Multitouch gestures with synaptics driver on X11, Linux
451 stars 56 forks source link

Updated xserver-xorg-input-synaptics with SHM #6

Open felipejfc opened 10 years ago

felipejfc commented 10 years ago

So, i've forked xserver-xorg-input-synaptics and put back SynapticsSHM to it and -m back into synclient and xSwipe is working once again :)

Fot those who are interested:

https://github.com/felipejfc/xserver-xorg-input-synaptics

diegoferigo commented 10 years ago

Great, just tested and all seems working, thanks! I created a package in the AUR for archlinux

felipejfc commented 10 years ago

updated the driver to support 4 and 5 fingers click on more trackpads, it worked on my XPS14

diegoferigo commented 10 years ago

Great, i confirm also on xps 13 / Haswell. I updated the aur package. Keep up the good work!

Dmarc commented 10 years ago

Well, I installed the package from AUR, it works well at the beginning, but after some delay, the touchpad stop working correctly: the pointer does not move when I use 1 finger, but it scrolls as if I had 2 fingers on it. This happens independently of running xswipe or not actually. The only solution I found so far is to restart the machine. Do you experience this bug too ?

ivanbalashov239 commented 10 years ago

Dmarc, i didn't install this package from aur(i don't use xswipe), and i see this bug anytime, last was [ or 2 month ago. Maybe it from upstream.

felipejfc commented 10 years ago

Im not with Linux installed atm, try to run the code with xswipe disabled tô see if its a issue with the driver or xswipe

diegoferigo commented 10 years ago

I have this problem too. I'm short of time this period and the temporary workarounds i've found are:

  1. Switch to tty1 and then back to tty7 (where X is located). Not always works
  2. Kill X
  3. Log out (it kills X)
  4. Reboot

I confirm it happened also with my old netbook so upstream is the most probable cause. I have no comparison with xps13 + standard drivers because i switched right away to the felipejfc fork

Dmarc commented 10 years ago

@felipejfc : it happens even when xswipe is disabled.

I'm wondering if it's not happening when lockscreen has been activated ?

felipejfc commented 10 years ago

I have no clue on what is the problem, but I'm almost sure it has nothing to do with the patched I've made in the driver (I just revised them all and it wouldn't make any sense, must be a problem in upstream), Later I'll patch an older version of the driver and patch it to support 4 and 5 fingers and them I'll create a new branch on my repo

pdavydov108 commented 10 years ago

@felipejfc I confirm that the driver also works on alienware 14 laptop, thanks for your work!

giacomolm commented 10 years ago

Great Work! It worked on Lenovo Z510

mpiannucci commented 10 years ago

Awesome. I tested on both Arch Linux and Ubuntu 14.04 and it works great. However it seems to drop battery life by an hour on both distros. Any idea what's causing that?

pdavydov108 commented 10 years ago

@mpiannucci I had this issue. For me, setting larger polling time (synclient and synserver -m option) fixed the problem. Have you tried it? I use -m 100 for syndaemon and -m 50 for synclient.

mpiannucci commented 10 years ago

@pdavydov108 thanks that seems to have done the trick! i can deal with the decrease in sensetivity.

snoxu commented 10 years ago

I'm having the same issue of the trackpad not working after awhile.

One work around I've found to get my touchpad back:

sudo modprobe -r psmouse sudo modprobe psmouse

But xswipe will not work untill I restart my X session or reboot.

Here are bits of my xorg log before and after modprobe:

[ 8586.964003] usb 1-1.2: USB disconnect, device number 7 [ 8587.396604] psmouse serio1: elantech: retrying ps2 command 0xe6 (2). [ 8587.914352] psmouse serio1: elantech: retrying ps2 command 0xf8 (2)

[13880.011746] psmouse serio1: elantech: assuming hardware version 2 (with firmware version 0x040213) [13880.083722] psmouse serio1: elantech: Synaptics capabilities query result 0x68, 0x18, 0x0c. [13880.412503] psmouse serio1: elantech: retrying ps2 command 0xe6 (2). [13880.927152] psmouse serio1: elantech: retrying ps2 command 0xf8 (2). [13881.628734] psmouse serio1: elantech: retrying ps2 command 0xf8 (1). [13882.274014] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input26