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?

@Williamtung1
Copy link

Williamtung1 commented Jul 30, 2022

For my Elan0626, even adding -vi2c-force-polling to force polling doesn't work.(no input at all) I agree to OP and can you merge the request please.
[Edit]: By the way OP, can you provide a compiled version of your VoodooI2CELAN kext to me please. My machine and I are too weak to compile it. Appreciate for your hard-work

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