intel-precise-touch icon indicating copy to clipboard operation
intel-precise-touch copied to clipboard

Thanks and Lots of Hidraw devices

Open jordanpwalsh opened this issue 2 years ago • 6 comments

First I wanted to thank @StollD for all the recent commits in January, some of the bug fixes have really increased the stability of the ipts driver, especially resuming out of suspend on a Surface Pro 7.

One issue, however, is the driver seems to create a new hidrawXX device after resuming from suspend and these are piling up after some time. Is there anyway to resolve that?

Thanks again, Jordan

jordanpwalsh avatar Jan 21 '23 22:01 jordanpwalsh

Could you please post your dmesg after suspending a few times, so that it creates some devices?

StollD avatar Jan 21 '23 22:01 StollD

I attached two dmesg captures - one with type cover and the other without because the first one had so many listed I wanted to make sure that wasn't part of the problem. I believe these lingering devices are causing some kind of other issue as well because the system won't cleanly shut down due to being unable to kill the iptsd processes.

dmesg_no_type_cover.txt dmesg_with_type_cover.txt

jordanpwalsh avatar Jan 22 '23 20:01 jordanpwalsh

When did you last update? The errors in the log should have been fixed by the earliest commits I made in January.

i.e. this:

ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Failed to request flush: -4

would trigger an infinite loop with this commit: https://github.com/linux-surface/intel-precise-touch/commit/404700ac27a2f105a5b42b9353e1ec63ae9a8b9b

and should not happen at all with this commit: https://github.com/linux-surface/intel-precise-touch/commit/862d095abd8714a635ad7711d62f6fe4ecc61405

StollD avatar Jan 22 '23 21:01 StollD

I have commit f4dd578 from 20-Jan checked out and built. I suppose it's possible I miffed something with the install, but a little hard to tell with the version being the same. I should have the latest of both ipts driver and iptsd from the other repo, and some of my previous issues did go away. I can bump the version to verify that's what I'm running unless you have other suggestions.

On Sun, Jan 22, 2023 at 4:53 PM Dorian Stoll @.***> wrote:

When did you last update? The errors in the log should have been fixed by the earliest commits I made in January.

i.e. this:

ipts 0000:00:16.4-3e8d0870-271a-4208-8eb5-9acb9402ae04: Failed to request flush: -4

would trigger an infinite loop with this commit: 404700a https://github.com/linux-surface/intel-precise-touch/commit/404700ac27a2f105a5b42b9353e1ec63ae9a8b9b

and should not happen at all with this commit: 862d095 https://github.com/linux-surface/intel-precise-touch/commit/862d095abd8714a635ad7711d62f6fe4ecc61405

— Reply to this email directly, view it on GitHub https://github.com/linux-surface/intel-precise-touch/issues/21#issuecomment-1399618416, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDZL6K5KPLADEQIYM623IDWTWT4XANCNFSM6AAAAAAUCT756E . You are receiving this because you authored the thread.Message ID: @.***>

-- Thanks, Jordan

jordanpwalsh avatar Jan 22 '23 23:01 jordanpwalsh

Maybe try to uninstall any versions of the module you have installed via. DKMS etc.

Then reinstall the kernel and finally the module.

Because I believe that running sudo make dkms-install won't actually update the module if it is already installed.

StollD avatar Jan 23 '23 00:01 StollD

Because I believe that running sudo make dkms-install won't actually update the module if it is already installed.

It won't, but it errors out. I ended up removing it from dkms via dkms uninstall as well as manually removing files and rebooting (The module wouldn't reinsert until rebooting).

Let me do that again with a version bump to ensure I'm running the latest. Thanks.

jordanpwalsh avatar Jan 23 '23 02:01 jordanpwalsh