Touchscreen breaks after suspend on Acer Aspire Switch 11
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
I'm not entirely sure this bug belongs in package xinput, but I'm following the lead of https:/
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/
[ 4.561741] input: SYNA7508:00 06CB:77B2 as /devices/
[ 4.561917] hid-multitouch 0018:06CB:
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
ProcVersionSign
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=
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.
dmi.board.name: Longchamp_S
dmi.board.vendor: Acer
dmi.board.version: V1.04
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.family: Haswell-Y System
dmi.product.name: Aspire SW5-171P
dmi.product.
dmi.sys.vendor: Acer
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.
version.
version.
version.
version.
version.
version.
description: | updated |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
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 hid/drivers/ hid-multitouch/ bind
echo 0018:06CB:77B2.000C > /sys/bus/
Disabling and re-enabling the device with xinput does *not* work.