I dug around a bit, and found that the touchscreen can also be fixed by
reloading the ic2_hid module.

It also works to reinitialize just the hid driver for the touchscreen
(rather than reloading the entire module) by running:

echo 0018:06CB:77B2.000C > /sys/bus/hid/drivers/hid-multitouch/unbind
echo 0018:06CB:77B2.000C > /sys/bus/hid/drivers/hid-multitouch/bind

Disabling and re-enabling the device with xinput does *not* work.

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

Title:
  Touchscreen breaks after suspend on Acer Aspire Switch 11

Status in xinput package in Ubuntu:
  New

Bug description:
  I'm not entirely sure this bug belongs in package xinput, but I'm
  following the lead of
  https://bugs.launchpad.net/ubuntu/+source/xinput/+bug/1275416, which
  describes the same symptoms (but on other hardware, so likely a
  different underlying problem).

  On this notebook, the touchscreen works well out of the box. But as
  soon as I suspend (by pressing the power button or closing the lid)
  and resume again, the touch screen no longer works. Kernel and Xorg
  logs show no indication of any problem, xinput still lists the
  touchscreen, but it just no longer works.

  The touchscreen can be made to work again by reloading the
  hid_multitouch module (that works by unloading and reloading after a
  resume, or by unloading the module before suspend and reloading it
  after resume).

  I tried updating the bios from v1.03 to the latest v1.04 (no changelog
  available), but that did not change the problem.

  I'm attaching a dmesg.txt in addition to the stuff ubuntu-bug
  collected. In this dmesg log, I've shown a full boot, a suspend
  (breaking the touchscreen), a module reload (fixing the touchscreen),
  then a module unload, suspend and module reload, after which the
  touchscreen also works (I've added annotations to the log to indicate
  what happens when). The log also shows some USB-related errors after
  suspend, but that seems to be about the bluetooth adapter (looking at
  the usb ids), so I think these are unrelated.

  The touchscreen in question seems to be connected through I2c,
  according to dmesg:

  [    4.561527] input: SYNA7508:00 06CB:77B2 Pen as 
/devices/pci0000:00/INT33C3:00/i2c-1/i2c-SYNA7508:00/0018:06CB:77B2.0002/input/input8
  [    4.561741] input: SYNA7508:00 06CB:77B2 as 
/devices/pci0000:00/INT33C3:00/i2c-1/i2c-SYNA7508:00/0018:06CB:77B2.0002/input/input9
  [    4.561917] hid-multitouch 0018:06CB:77B2.0002: input,hidraw1: I2C HID 
v1.00 Mouse [SYNA7508:00 06CB:77B2] on i2c-SYNA7508:00

  I realize that this is not enough information to diagnose and fix the
  problem, but I'd gladly receive some suggestions on debug strategies
  to dig into this issue.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xinput 1.6.2-1build1
  ProcVersionSignature: Ubuntu 4.15.0-36.39-generic 4.15.18
  Uname: Linux 4.15.0-36-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.4
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct  7 19:40:05 2018
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroVariant: ubuntu
  GraphicsCard:
   Intel Corporation Device [8086:0a1e] (rev 0b) (prog-if 00 [VGA controller])
     Subsystem: Acer Incorporated [ALI] Device [1025:0930]
  InstallationDate: Installed on 2018-10-06 (0 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  MachineType: Acer Aspire SW5-171P
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-36-generic 
root=UUID=4893a2e6-84af-4d45-8e31-773e622c36c6 ro quiet splash vt.handoff=1
  SourcePackage: xinput
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/7/2014
  dmi.bios.vendor: Insyde Corp.
  dmi.bios.version: V1.04
  dmi.board.asset.tag: Type2 - Board Asset Tag
  dmi.board.name: Longchamp_S
  dmi.board.vendor: Acer
  dmi.board.version: V1.04
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnInsydeCorp.:bvrV1.04:bd11/7/2014:svnAcer:pnAspireSW5-171P:pvrV1.04:rvnAcer:rnLongchamp_S:rvrV1.04:cvnAcer:ct10:cvrChassisVersion:
  dmi.product.family: Haswell-Y System
  dmi.product.name: Aspire SW5-171P
  dmi.product.version: V1.04
  dmi.sys.vendor: Acer
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.91-2
  version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~18.04.1
  version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~18.04.1
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

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

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

Reply via email to