linux-surface / iptsd

Userspace daemon for Intel Precise Touch & Stylus
GNU General Public License v2.0
86 stars 39 forks source link

In sleep mode the hid device gets lost #95

Closed WesleyVanNeck closed 1 year ago

WesleyVanNeck commented 1 year ago

IMG_20221107_115831464_HDR IMG_20221107_115857396_HDR

I will get more info if asked

This is on bliss os surface build

StollD commented 1 year ago

This is expected. The lifetime of the iptsd service needs to be bound to the lifetime of the device, because the device ID is not stable and may change between reloads of the kernel driver (which happen during suspend / resume). Its the reason why the systemd service setup of iptsd is a bit unconventional.

On systems without systemd this can probably be done using the iptsd-find-hidraw script and udev (manually starting and stopping the service on device creation / removal).