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

Add polling configuration #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

localcc
Copy link

@localcc localcc commented Oct 26, 2021

  • Added forced polling support
  • Added polling interval configuration
  • Polling configuration docs

For some trackpads (like ELAN0626) interrupt mode initializes fine, but the trackpad is unusable due to extreme lag. That's why we may need to force polling in some cases.

@ben9923
Copy link
Member

ben9923 commented Oct 26, 2021

I believe forced polling is already supported.
Either add the -vi2c-force-polling boot arg, or add the force-polling property to the relevant I2C controller.
See the installation page in the VoodooI2C docs.

Do note that in many cases it's a user error that breaks GPIO interrupts, rather than a buggy OEM implementation.

@localcc
Copy link
Author

localcc commented Oct 26, 2021

Oh, didn't know you could enable forced polling in vi2cl. But I don't think you can configure polling interval, and I had some problems with the default one. In that case, should I just change the request to only include interval configuration?

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

Successfully merging this pull request may close these issues.

3 participants