Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thanks and Lots of Hidraw devices #21

Open
jordanpwalsh opened this issue Jan 21, 2023 · 6 comments
Open

Thanks and Lots of Hidraw devices #21

jordanpwalsh opened this issue Jan 21, 2023 · 6 comments

Comments

@jordanpwalsh
Copy link

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

@StollD
Copy link
Member

StollD commented Jan 21, 2023

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

@jordanpwalsh
Copy link
Author

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

@StollD
Copy link
Member

StollD commented Jan 22, 2023

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

and should not happen at all with this commit: 862d095

@jordanpwalsh
Copy link
Author

jordanpwalsh commented Jan 22, 2023 via email

@StollD
Copy link
Member

StollD commented Jan 23, 2023

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.

@jordanpwalsh
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants