My Xserver (kdrive, Xfbdev) driver loops too quickly

Orkie orkie at orkiesrealm.co.uk
Fri Jun 30 01:58:48 PDT 2006


>No, I think you're right.  If there's no way to get an interrupt out of the 
>hardware when the buttons are pressed, then you'll probably want to change 
>your driver to just poll periodically.  Check out the timer code in 
>os/WaitFor.c, and pick a polling frequency that you can live with.
>
>- ajax

Thanks, I've written a loop to control the time between calls of the main driver function and it works great.



More information about the xorg mailing list