This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10285 - Sansa clip alternative button driver
Attached to Project:
Rockbox
Opened by Bertrik Sikken (bertrik) - Saturday, 06 June 2009, 14:00 GMT+2
Last edited by Bertrik Sikken (bertrik) - Friday, 12 June 2009, 00:18 GMT+2
Opened by Bertrik Sikken (bertrik) - Saturday, 06 June 2009, 14:00 GMT+2
Last edited by Bertrik Sikken (bertrik) - Friday, 12 June 2009, 00:18 GMT+2
|
DetailsAttached is an alternative driver for the Sansa Clip. This driver uses a kernel tick task to scan the button matrix.
Features: + fixes sansa clip button issues from + no more explicit delays needed that need to be tuned so they work for all processor speeds. + the mechanism used may be suitable for other ams targets that use a button matrix too - it can take up to three kernel tick (30 ms) for a button to be detected, so please test if you notice any latency issues - buttons are scanned even when no application is asking for buttons to be read - not tested in the bootloader yet |
This task depends upon
Closed by Bertrik Sikken (bertrik)
Friday, 12 June 2009, 00:18 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as svn revision 21253
Friday, 12 June 2009, 00:18 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as svn revision 21253
Since the driver is responsive (just try snake at maximum level), the only problem remaining is that buttons are scanned even when not requested.
Can this draw more power from the battery ?
Could be done for m200v4 also but needs a tester
Some buttons could not be read if the delay between row setting and column reading is not important enough.
So is there anything left or the patch can be committed?