You are not logged in.

#1 2014-08-19 20:00:51

Fliegenfalle
Member
Registered: 2012-07-11
Posts: 30

i2c_hid: Touchpad Cursor jumping around

I recently bought a Acer Aspire V3-371 Notebook which actually works well with Arch, but I'm experiencing one strange bug (same for Fedora). In X my mouse cursor suddenly begins jumps up and down with an extremely fast speed, sometimes even sideways which happens very often and suddenly (only exception: never after at least 10 seconds after boot) for several seconds. If I hold some fingers on the touchpad the cursor fixes on the screen but after release it continues to jump around again or after some time of freezing.
I get almost the same xinput output like in this topic, but disabling the i2c_hid module just disables the touchpad completely and removes it from the xinput output. I've tried a ubuntu live usb as well but I couldn't boot it yet so I can't tell the change.
You can also find this link to Ubuntu release notes in the thread, it looks like this module got updated and will merge with the next kernel but unfortunately in the brand-new 3.17-rc1 mainline-kernel the touchpad doesn't work or show up in xinput at all like when I disabled the module.

This is some interesting output of dmesg with the mainline-kernel (full log here):

[    3.970278] hidraw: raw HID events driver (C) Jiri Kosina
...
[    0.050736] dmar: ANDD device: 2 name: \_SB.PCI0.I2C1
...
[    5.028793] i2c_designware INT33C3:00: controller timed out
[    5.030088] i2c_hid i2c-SYN1B7F:01: hid_descr_cmd failed

And this is the output with stable-kernel (full log here):

[    3.172443] hidraw: raw HID events driver (C) Jiri Kosina
...
[    0.050589] dmar: ANDD device: 2 name: \_SB.PCI0.I2C1
...
[    3.441757] i2c_hid i2c-SYN1B7F:01: failed to retrieve report from device.
[    3.450771] i2c_hid i2c-SYN1B7F:01: failed to retrieve report from device.
[    3.452442] i2c_hid i2c-SYN1B7F:01: failed to retrieve report from device.
[    3.454130] i2c_hid i2c-SYN1B7F:01: failed to retrieve report from device.
[    3.456243] i2c_hid i2c-SYN1B7F:01: failed to retrieve report from device.

I also can't understand why the new mainline kernel doesn't support it, is this usual for development kernels?

Thanks for any considerations or help!

Offline

#2 2014-08-23 12:41:18

Fliegenfalle
Member
Registered: 2012-07-11
Posts: 30

Re: i2c_hid: Touchpad Cursor jumping around

Mhm that's disappointing for Arch Forums, I really don't know where I can get support as well because I actually need my Notebook in 2 days.

Offline

#3 2014-08-23 15:06:59

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: i2c_hid: Touchpad Cursor jumping around

There is a debug parameter for i2c_hid. You are probably unwilling to open the laptop, there could be some electromagnetic interference near touchpads connection. Benjamin Tissoires wrote this module, you may want to ask him directly if he knows what could be done about this issue. It should be possible to decrease sensitivity on the software side, but I am inexperienced in that particular xorg/linux hardware aspect.

Edit: The same author is also responsible for hid-rmi, which is supposed to replace i2c_hid. You could try compiling that module and loading it instead of the older one.

Edit: No, that module is from Andrew Duggan. I just compiled it fine, making an aur package for this should be easy.

Last edited by emeres (2014-08-23 16:02:36)

Offline

#4 2014-08-23 16:39:55

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: i2c_hid: Touchpad Cursor jumping around

I never build a package only for modules before, so this might not work. Based on psmouse-alps.

$ cat hid-rmi.install
post_install() {
  echo " > Running depmod now..."
  depmod -a
  echo " > Reloading hid-rmi module..."
  echo "   Please note that you may REBOOT your system to get it working!"
  modprobe -r hid-rmi
  sleep 0.5
  modprobe hid-rmi
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}
$ cat PKGBUILD
_pkgname=hid-rmi
pkgname=${_pkgname}-git
pkgrel=1
pkgver=9d86183
pkgdesc="RMI support for HID Synaptics devices."
arch=('any')
url="https://github.com/bentiss/${_pkgname}"
license=('GPL')
groups=()
depends=()
makedepends=('git' 'linux-headers')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=("git://github.com/bentiss/${_pkgname}.git#branch=master")
md5sums=('SKIP')
noextract=()

pkgver() {
	cd "${srcdir}/${_pkgname}"
	git describe --always | sed 's/^v//;s/-/./g'
}

build() {
  cd "${srcdir}/${_pkgname}"
  make
  gzip -9 "${_pkgname}.ko"
  install -D -m 0644 "${_pkgname}.ko.gz" "${pkgdir}/lib/modules/$(uname -r)/updates/drivers/input/mouse/${_pkgname}.ko.gz"
}

Last edited by emeres (2014-08-23 18:23:07)

Offline

#5 2014-08-23 17:45:39

Fliegenfalle
Member
Registered: 2012-07-11
Posts: 30

Re: i2c_hid: Touchpad Cursor jumping around

Thank you emeres, makepkg tells me that in line 32 of PKGBUILD command "-r" is not found. It's of $(uname -r).
Maybe something is also wrong with the post_install because I don't get any output from echo but I don't think so.
I already tried to build the hid_rmi from github manually before I opened this topic but I failed so packaging really isn't my thing, sorry roll

Offline

#6 2014-08-23 18:27:42

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: i2c_hid: Touchpad Cursor jumping around

Uname is part coreutils, does the command work in the shell? I updated the file, try again. It should be obvious to skip the first '$ cat' line. hid-rmi.install will be displayed after installing.

Offline

#7 2014-08-24 01:46:19

Fliegenfalle
Member
Registered: 2012-07-11
Posts: 30

Re: i2c_hid: Touchpad Cursor jumping around

Update: I've blacklisted i2c_hid, rebuilt the kernel image and now it really looks like it's working (didn't try for a long period yet) in mate DE. The cursor jumped around one time again but it's not a big issue for now as you can stop the jumping by deactivating and reactivating the mousepad with the function keys and it's propably patched in some of the next kernels. Surprisingly In cinnamon DE, the cursor is jumping around extremely like before but I only tried it out once. I will update this post after testing.

P.S emeres, do you want to publish the script to the aur? And i've still got that output -r command, even though uname is installed.

--
Edit 1: inserts

Last edited by Fliegenfalle (2014-08-24 01:58:46)

Offline

#8 2014-08-24 08:20:31

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: i2c_hid: Touchpad Cursor jumping around

Fliegenfalle wrote:

P.S emeres, do you want to publish the script to the aur?

And maintain it? Take it and go ahead, but it should be taken a look at first especially considering guidelines. There is no .AURINFO, pkgbuild-introspection might help with that.

Fliegenfalle wrote:

And i've still got that output -r command, even though uname is installed.

Post what exactly you are doing and what exactly the error is. I might miss here something obvious.

Offline

#9 2014-08-24 16:09:31

Fliegenfalle
Member
Registered: 2012-07-11
Posts: 30

Re: i2c_hid: Touchpad Cursor jumping around

I don't really know if anyone of us needs to post it to the aur actually. but I will check those packaging articles out.

Here you can see my build and installation output:

$ makepkg -f
==> Making package: hid-rmi-git 9d86183-1 (Sun Aug 24 15:49:43 CEST 2014)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating hid-rmi git repo...
Fetching origin
==> Validating source files with md5sums...
    hid-rmi ... Skipped
==> Extracting sources...
  -> Creating working copy of hid-rmi git repo...
Cloning into 'hid-rmi'...
done.
Branch makepkg set up to track remote branch master from origin.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
make -C /lib/modules/3.16.1-1-ARCH/build SUBDIRS=/home/jannis/pkg/src/hid-rmi modules
make[1]: Entering directory '/usr/lib/modules/3.16.1-1-ARCH/build'
  CC [M]  /home/jannis/pkg/src/hid-rmi/hid-rmi.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/jannis/pkg/src/hid-rmi/hid-rmi.mod.o
  LD [M]  /home/jannis/pkg/src/hid-rmi/hid-rmi.ko
make[1]: Leaving directory '/usr/lib/modules/3.16.1-1-ARCH/build'
/home/jannis/pkg/PKGBUILD: line 32: -r: command not found
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "hid-rmi-git"...
  -> Generating .PKGINFO file...
  -> Generating .MTREE file...
bsdtar: Failed to set default locale
  -> Compressing package...
bsdtar: Failed to set default locale
==> Leaving fakeroot environment.
==> Finished making: hid-rmi-git 9d86183-1 (Sun Aug 24 15:49:47 CEST 2014)
$ ls
PKGBUILD  hid-rmi-git-9d86183-1-any.pkg.tar.xz  pkg
hid-rmi   hid-rmi.install                       src
$ sudo pacman -U hid-rmi-git-9d86183-1-any.pkg.tar.xz
loading packages...
warning: hid-rmi-git-9d86183-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): hid-rmi-git-9d86183-1

Total Installed Size:   0.01 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) reinstalling hid-rmi-git                     [######################] 100%

But a few more things @all:
The Touchpad doesn't work...
-in cinnamon DE where it jumps around very often
-with the mainline kernel
-after suspend

-can this also be a video driver problem?
neutral

Offline

#10 2014-08-24 16:23:37

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: i2c_hid: Touchpad Cursor jumping around

How do you save the PKGBUILD? Select the whole content, make sure it is in clipboard and then run:

xclip -o > PKGBUILD

I suspect you use an editor and paste it in there, the 31st line is longer and probably gets wrapped, which leaves '-r' at the beginning of the 32nd line.

Ask the author/developer Andrew Duggan about issues with this driver, just make sure you actually use it. Does the module get loaded? Post the contents of the package:

tar tvf hid-rmi-git-9d86183-1-any.pkg.tar.xz

Last edited by emeres (2014-08-24 17:32:17)

Offline

#11 2014-08-26 21:15:00

Fliegenfalle
Member
Registered: 2012-07-11
Posts: 30

Re: i2c_hid: Touchpad Cursor jumping around

looks like xclip did the job:

$ tar tvf hid-rmi-git-9d86183-1-any.pkg.tar.xz
-rw-r--r-- root/root       539 2014-08-24 19:45 .PKGINFO
-rw-r--r-- root/root       359 2014-08-24 19:45 .MTREE
drwxr-xr-x root/root         0 2014-08-24 19:45 lib/
drwxr-xr-x root/root         0 2014-08-24 19:45 lib/modules/
drwxr-xr-x root/root         0 2014-08-24 19:45 lib/modules/3.16.1-1-ARCH/
drwxr-xr-x root/root         0 2014-08-24 19:45 lib/modules/3.16.1-1-ARCH/updates/
drwxr-xr-x root/root         0 2014-08-24 19:45 lib/modules/3.16.1-1-ARCH/updates/drivers/
drwxr-xr-x root/root         0 2014-08-24 19:45 lib/modules/3.16.1-1-ARCH/updates/drivers/input/
drwxr-xr-x root/root         0 2014-08-24 19:45 lib/modules/3.16.1-1-ARCH/updates/drivers/input/mouse/
-rw-r--r-- root/root      6876 2014-08-24 19:45 lib/modules/3.16.1-1-ARCH/updates/drivers/input/mouse/hid-rmi.ko.gz
$ modinfo hid_rmi
filename:       /lib/modules/3.16.1-1-ARCH/kernel/drivers/hid/hid-rmi.ko.gz
license:        GPL
description:    RMI HID driver
author:         Andrew Duggan <aduggan@synaptics.com>
alias:          hid:b*g0100v*p*
depends:        hid
intree:         Y
vermagic:       3.16.1-1-ARCH SMP preempt mod_unload modversions

I've also recognized now that I didn't blacklist i2c_hid correctly before, but on the other side hid_rmi doesn't enable the touchpad to work.

$ lsmod |grep rmi
hid_rmi                17054  0 
hid                   102220  3 hid_generic,hid_rmi,usbhid

should I contact the developer now?

Last edited by Fliegenfalle (2014-08-26 21:20:22)

Offline

#12 2014-08-26 21:30:49

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: i2c_hid: Touchpad Cursor jumping around

What happens if you manually load i2c_hid with hid_rmi loaded? I would search for more information on hid-rmi first, and if you then stuck again, yes contact him and report here. Prepare yourself to give specific information. Should you find something interesting on the subject, please report.

Offline

#13 2014-12-10 22:41:24

H1nken
Member
Registered: 2014-12-10
Posts: 1

Re: i2c_hid: Touchpad Cursor jumping around

Apparantly my wife has the same problem with our new Acer v3-371 that I installed for her a couple of weeks ago (She is away on a trip and kinda mad about it) yikes
I will try to solve it for her remotely tomorrow over ssh but have some questions:
Did you get it working with hid-rmi?
Did you verify if it only happens after suspend?

Thanks!

Offline

#14 2014-12-11 15:42:41

Fliegenfalle
Member
Registered: 2012-07-11
Posts: 30

Re: i2c_hid: Touchpad Cursor jumping around

Hello H1nken,
first of all I did not get it working.
Your response is surprising for me now because in the end I expected a hardware issue because at this point of time and I installed Microsoft Windows on the Notebook and experienced comparable issues. I even wanted to take it to my dealer soon to have it repaired.
After suspend the cursor always freezes (surprisingly even under Windows). However the jumping is caused randomly and in every case.
I think it would be very interesting to hear if there is an Acer v3-371 user without these problems because it has Windows support at least I think.

Good luck!

Offline

#15 2014-12-13 20:33:08

Tasanv
Member
Registered: 2014-12-13
Posts: 1

Re: i2c_hid: Touchpad Cursor jumping around

I had the same problem on my own.
Crazy touchpad with linux (Debian / Fedora / Gentoo). Freeze with windows.

I solved the problem by repair (after-sale services).
They put electric insulating adhesive under the touchpad.
Now everything is working.

Many people on the problem of freeze on windows (eg notices to Fnac in France
http://www.fnac.com/PC-Ultra-Portable-A … ternautes)

Sorry for my english

Offline

#16 2014-12-13 23:55:28

Fliegenfalle
Member
Registered: 2012-07-11
Posts: 30

Re: i2c_hid: Touchpad Cursor jumping around

Thanks Tasanv for registering and sharing this with us!
Luckily I also speek a bit of French smile Looks like a huge problem for Acer especially on this shop.
I will bring to the repair service and keep you updated but it might take some time!

Offline

#17 2018-08-01 17:34:52

ctzn
Member
Registered: 2017-07-09
Posts: 1

Re: i2c_hid: Touchpad Cursor jumping around

I know, old topic but was happening to me this morning out of nowhere and I have no idea what caused it. I would like to pint out that in Xfce Settings, in the mouse and touch pad area, it lists both Synaptics TouchPad and ILITEK Multi-Touch devices. That is other than my Logitech MX Anywhere mouse. The cursor doesn't just jump around, it jumps around at intervals around 8 to 10 seconds apart. I disabled the ILITEK device by electing it from the drop down menu, unchecked it and it immediately stopped. So there was apparently some fight going on there.

Hope that helps someone if this is still occurring.

Offline

#18 2018-08-01 17:46:05

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,904
Website

Re: i2c_hid: Touchpad Cursor jumping around

Indeed, it is an old thread; nearly four years old.

When this kind of thing happens, open a new thread detailing your issue, and provide a link to any topics you think could be related (e.g., this one).

Closing.

All the best,

-HG

Offline

Board footer

Powered by FluxBB