Comment 35 for bug 1900254

Revision history for this message
In , donat.us (donat.us-linux-kernel-bugs) wrote :

I have the same issue as lyntier.

xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ USB Keyboard Mouse id=14 [slave pointer (2)]
⎜ ↳ MSFT0001:00 06CB:CE2D Mouse id=16 [slave pointer (2)]
⎜ ↳ MSFT0001:00 06CB:CE2D Touchpad id=17 [slave pointer (2)]

I tried adopting the script as following:

#!/bin/bash
modprobe i2c_hid
echo "i2c-MSFT0001:00" > /sys/bus/i2c/drivers/elants_i2c/unbind
echo "i2c-MSFT0001:00" > /sys/bus/i2c/drivers/i2c_hid/bind

but the service was not able to run due to the script failing:

systemctl status touchscreen.service
● touchscreen.service - Move touchscreen to correct driver
     Loaded: loaded (/etc/systemd/system/touchscreen.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2020-10-04 19:56:51 CEST; 16min ago
    Process: 792 ExecStart=/etc/tsmove (code=exited, status=1/FAILURE)
   Main PID: 792 (code=exited, status=1/FAILURE)

Oct 04 19:56:51 donat-flex-5 systemd[1]: Starting Move touchscreen to correct driver...
Oct 04 19:56:51 donat-flex-5 tsmove[792]: /etc/tsmove: line 3: echo: write error: No such device
Oct 04 19:56:51 donat-flex-5 tsmove[792]: /etc/tsmove: line 4: echo: write error: No such device
Oct 04 19:56:51 donat-flex-5 systemd[1]: touchscreen.service: Main process exited, code=exited, status=1/FAILURE
Oct 04 19:56:51 donat-flex-5 systemd[1]: touchscreen.service: Failed with result 'exit-code'.
Oct 04 19:56:51 donat-flex-5 systemd[1]: Failed to start Move touchscreen to correct driver.

but dmesg shows that the device is already using i2c_hid:

dmesg | grep MSFT
[ 0.639245] i2c_hid i2c-MSFT0001:00: i2c-MSFT0001:00 supply vdd not found, using dummy regulator
[ 0.639261] i2c_hid i2c-MSFT0001:00: i2c-MSFT0001:00 supply vddl not found, using dummy regulator
[ 0.688182] input: MSFT0001:00 06CB:CE2D Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-MSFT0001:00/0018:06CB:CE2D.0001/input/input5
[ 0.688257] input: MSFT0001:00 06CB:CE2D Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-MSFT0001:00/0018:06CB:CE2D.0001/input/input6
[ 0.688310] hid-generic 0018:06CB:CE2D.0001: input,hidraw0: I2C HID v1.00 Mouse [MSFT0001:00 06CB:CE2D] on i2c-MSFT0001:00
[ 3.164826] input: MSFT0001:00 06CB:CE2D Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-MSFT0001:00/0018:06CB:CE2D.0001/input/input16
[ 3.167199] input: MSFT0001:00 06CB:CE2D Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-1/i2c-MSFT0001:00/0018:06CB:CE2D.0001/input/input17
[ 3.168205] hid-multitouch 0018:06CB:CE2D.0001: input,hidraw0: I2C HID v1.00 Mouse [MSFT0001:00 06CB:CE2D] on i2c-MSFT0001:00

Could anybody please help me? I've installed Linux for the first time and just got this notebook.