jakeday / linux-surface

Linux Kernel for Surface Devices
2.59k stars 241 forks source link

IPTS driver fails to find device after resume. #667

Open kylerlaird opened 4 years ago

kylerlaird commented 4 years ago

I'm using 5.8.3-surface on a SP7. The touch screen is inaccessible after resuming from suspend. I've tried restarting iptsd.service and reloading the ipts module. Access to /dev/ipts still yields "No such device".

root@sp7:~# dmesg |grep -i ipt [ 18.220708] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Probing IPTS [ 18.220710] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS using DMA_BIT_MASK(64) [ 18.222069] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Device 045E:099F found [ 18.224137] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS enabled [ 19.476683] input: IPTS Touch as /devices/virtual/input/input15 [ 19.477168] input: IPTS Stylus as /devices/virtual/input/input16 [ 66.516518] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Removing IPTS [ 66.516524] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: MEI error while sending: 0x4:-19 [ 66.516527] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: MEI error while sending: 0x7:-19 [ 75.678933] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Probing IPTS [ 75.678936] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS using DMA_BIT_MASK(64) [ 75.684716] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Device 045E:099F found [ 75.936244] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS enabled [ 120.860415] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Removing IPTS [ 120.860419] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: MEI error while sending: 0x4:-19 [ 120.860421] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: MEI error while sending: 0x7:-19 [ 205.789536] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Probing IPTS [ 205.789538] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS using DMA_BIT_MASK(64) [ 377.711200] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Removing IPTS [ 380.477960] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Probing IPTS [ 380.477963] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS using DMA_BIT_MASK(64) [ 432.392979] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Removing IPTS [ 478.474308] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Probing IPTS [ 478.474311] ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: IPTS using DMA_BIT_MASK(64)

matticas commented 4 years ago

Just now discovered this. Ubuntu 20.04 on an older Surface Pro (unsure what model, was a free gift).
Can't enable service after logout or suspend. Must reboot to reactivate service. Currently have it set to load on boot from; sudo systemctl enable lpstd.service

hpfr commented 3 years ago

This repo is inactive. See https://reddit.com/r/surfacelinux and https://github.com/linux-surface/linux-surface for the latest updates.