Skip to content

Add polling configuration#19

Open
localcc wants to merge 2 commits intoVoodooI2C:masterfrom
localcc:master
Open

Add polling configuration#19
localcc wants to merge 2 commits intoVoodooI2C:masterfrom
localcc:master

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