[Kernel-packages] [Bug 1778087] Re: ELAN1200 touchpad jumps around and disconnects

2018-12-14 Thread vladf
After upgrade to Ubuntu 18.10 (kernel 4.18.0-12-generic) I got the same
touchpad freeze on Asus X540NA and the right click doesn't work at all.

[ 1786.393499] input: ELAN1200:00 04F3:3067 Mouse as 
/devices/pci:00/:00:17.0/i2c_designware.0/i2c-1/i2c-ELAN1200:00/0018:04F3:3067.0001/input/input97
[ 1786.396367] i2c_hid i2c-ELAN1200:00: i2c_hid_get_input: incomplete report 
(16/82)
[ 1786.396462] input: ELAN1200:00 04F3:3067 Touchpad as 
/devices/pci:00/:00:17.0/i2c_designware.0/i2c-1/i2c-ELAN1200:00/0018:04F3:3067.0001/input/input98
[ 1786.396602] hid-generic 0018:04F3:3067.0001: input,hidraw0: I2C HID v1.00 
Mouse [ELAN1200:00 04F3:3067] on i2c-ELAN1200:00
[ 1786.475422] i2c_hid i2c-ELAN1200:00: i2c_hid_get_input: incomplete report 
(16/16466)
[ 1786.476119] i2c_hid i2c-ELAN1200:00: i2c_hid_get_input: incomplete report 
(16/16466)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1778087

Title:
  ELAN1200 touchpad jumps around and disconnects

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This is on an ASUS GL503VD laptop and would probably affect other ASUS
  laptops equipped with the ELAN1200 touchpad.

  I am on Kernel 4.17.2 because older kernels did not enable the
  touchpad at all(It was just unrecognized or i2c-hid stopped the
  computer from booting)

  The touchpad works but it has erratic behaviour and disconnects
  randomly. After it disconnects the only way to bring it back is to
  `modprobe -r hid-multitouch && modprobe hid-multitouch`

  Libinput and synaptics can handle the touchpad though I found
  synaptics to be more stable.

  dmesg gets spammed with this whenever I move the touchpad:
  [timestamp] i2c_hid i2c-ELAN1200:00: i2c_hid_get_input: incomplete report 
(16/65535)

  I tried to compile: https://github.com/mishurov/linux_elan1200_touchpad
  Because from what I understand the "jumpy/disconnect" problem is associated 
to the incomplete reports and Mishurov managed to mitigate those. Unfortunately 
some symbols were deprecated in kernel 4.17.2 and it did not compile for my 
system.

  While I can use my touchpad as is right now, and "restart" it with
  modprobe when needed, it would be nice to have it function bug-free.
  (Right after I typed this my touchpad disconnected and I needed to
  modprobe again, I am considering making a cronjob for that)

  Let me know if anything else is needed. Will wait for an apport collection to 
add log files.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  DistroRelease: Ubuntu 18.04
  InstallationDate: Installed on 2018-06-10 (11 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  NonfreeKernelModules: nvidia_modeset nvidia
  Package: linux (not installed)
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  Tags:  bionic
  Uname: Linux 4.17.2 x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1778087/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1778087] Re: ELAN1200 touchpad jumps around and disconnects

2018-12-09 Thread vladf
The result in my previous comment was obtained with kernel parameter
"i2c-hid.debug=1"

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1778087

Title:
  ELAN1200 touchpad jumps around and disconnects

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This is on an ASUS GL503VD laptop and would probably affect other ASUS
  laptops equipped with the ELAN1200 touchpad.

  I am on Kernel 4.17.2 because older kernels did not enable the
  touchpad at all(It was just unrecognized or i2c-hid stopped the
  computer from booting)

  The touchpad works but it has erratic behaviour and disconnects
  randomly. After it disconnects the only way to bring it back is to
  `modprobe -r hid-multitouch && modprobe hid-multitouch`

  Libinput and synaptics can handle the touchpad though I found
  synaptics to be more stable.

  dmesg gets spammed with this whenever I move the touchpad:
  [timestamp] i2c_hid i2c-ELAN1200:00: i2c_hid_get_input: incomplete report 
(16/65535)

  I tried to compile: https://github.com/mishurov/linux_elan1200_touchpad
  Because from what I understand the "jumpy/disconnect" problem is associated 
to the incomplete reports and Mishurov managed to mitigate those. Unfortunately 
some symbols were deprecated in kernel 4.17.2 and it did not compile for my 
system.

  While I can use my touchpad as is right now, and "restart" it with
  modprobe when needed, it would be nice to have it function bug-free.
  (Right after I typed this my touchpad disconnected and I needed to
  modprobe again, I am considering making a cronjob for that)

  Let me know if anything else is needed. Will wait for an apport collection to 
add log files.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  DistroRelease: Ubuntu 18.04
  InstallationDate: Installed on 2018-06-10 (11 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  NonfreeKernelModules: nvidia_modeset nvidia
  Package: linux (not installed)
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  Tags:  bionic
  Uname: Linux 4.17.2 x86_64
  UnreportableReason: The running kernel is not an Ubuntu kernel
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1778087/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1778087] Re: ELAN1200 touchpad jumps around and disconnects

2018-12-09 Thread vladf
Here is my output collected on Asus X540NA notebook with Ubuntu 18.04
(4.15.0-42-generic kernel). Just after the boot:

$ dmesg | grep ELAN
[   22.261675] i2c_hid i2c-ELAN1200:00: i2c-ELAN1200:00 supply vdd not found, 
using dummy regulator
[   22.261698] i2c_hid i2c-ELAN1200:00: Fetching the HID descriptor
[   22.261701] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=01 00
[   22.262723] i2c_hid i2c-ELAN1200:00: HID Descriptor: 1e 00 00 01 64 01 02 00 
03 00 10 00 04 00 00 00 05 00 06 00 f3 04 67 30 01 00 00 00 00 00
[   22.268188] i2c_hid i2c-ELAN1200:00: entering i2c_hid_parse
[   22.268192] i2c_hid i2c-ELAN1200:00: i2c_hid_hwreset
[   22.268193] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   22.268196] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08
[   22.276713] i2c_hid i2c-ELAN1200:00: input: 0b 00 01 01 00 00 00 00 00 00 00
[   22.277279] i2c_hid i2c-ELAN1200:00: input: 0b 00 01 01 00 00 00 00 00 00 00
[   22.280151] i2c_hid i2c-ELAN1200:00: resetting...
[   22.280155] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 01
[   22.280368] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: waiting...
[   22.289704] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: finished.
[   22.289708] i2c_hid i2c-ELAN1200:00: asking HID report descriptor
[   22.289711] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=02 00
[   22.299943] i2c_hid i2c-ELAN1200:00: Report Descriptor: 05 01 09 02 a1 01 85 
01 09 01 a1 00 05 09 19 01 29 02 15 00 25 01 75 01 95 02 81 02 95 06 81 03 05 
01 09 30 09 31 09 38 15 81 25 7f 75 08 95 03 81 06 05 0c 0a 38 02 95 01 81 06 
75 08 95 03 81
[   22.300368] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   22.300370] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 01 08
[   23.393252] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   23.393257] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08
[   23.393795] i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
[   23.393797] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 32 02 06 00
[   23.394166] i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
[   23.394168] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 32 02 06 00
[   23.394533] i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
[   23.394535] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 36 02 06 00
[   23.402138] i2c_hid i2c-ELAN1200:00: i2c_hid_get_report
[   23.402141] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 3d 02 06 00
[   23.402693] input: ELAN1200:00 04F3:3067 Touchpad as 
/devices/pci:00/:00:17.0/i2c_designware.0/i2c-6/i2c-ELAN1200:00/0018:04F3:3067.0002/input/input15
[   23.402863] hid-multitouch 0018:04F3:3067.0002: input,hidraw1: I2C HID v1.00 
Mouse [ELAN1200:00 04F3:3067] on i2c-ELAN1200:00
[   23.402871] i2c_hid i2c-ELAN1200:00: i2c_hid_set_or_send_report
[   23.402873] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 33 03 06 
00 05 00 03 03 00
[   23.403252] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   23.403254] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 01 08
[   23.680283] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   23.680287] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08
[   23.704187] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   23.704192] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 01 08
[   28.025702] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   28.025707] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08
[   28.056235] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   28.056240] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 01 08
[   34.948700] i2c_hid i2c-ELAN1200:00: i2c_hid_set_power
[   34.948704] i2c_hid i2c-ELAN1200:00: __i2c_hid_command: cmd=05 00 00 08


If to move the cursor using touchpad:


[  272.963316] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 14 04 fb 04 db 6e 01 
00 11 44 00 00
[  272.964061] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 14 04 fb 04 99 6f 01 
00 15 44 00 00
[  272.966953] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 27 04 f3 04 b7 6f 01 
00 15 44 00 00
[  272.973747] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 39 04 e9 04 fd 6f 01 
00 15 44 00 00
[  272.981365] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 4f 04 dc 04 43 70 01 
00 15 54 00 00
[  272.995426] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 93 04 b3 04 cf 70 01 
00 17 44 00 00
[  273.002832] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 c4 04 94 04 15 71 01 
00 17 54 00 00
[  273.018064] i2c_hid i2c-ELAN1200:00: i2c_hid_get_input: incomplete report 
(16/82)
[  273.024831] i2c_hid i2c-ELAN1200:00: i2c_hid_get_input: incomplete report 
(16/82)
[  273.032363] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 7d 05 35 04 2d 72 01 
00 17 54 00 00
[  273.046457] i2c_hid i2c-ELAN1200:00: i2c_hid_get_input: incomplete report 
(16/82)
[  273.053332] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 ff 05 f7 03 ff 72 01 
00 17 44 00 00
[  273.060793] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 1d 06 e2 03 45 73 01 
00 17 44 00 00
[  273.067541] i2c_hid i2c-ELAN1200:00: input: 10 00 04 03 49