This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12520 - iPod Classic/6G: holdswitch PMU polling crashes
Attached to Project:
Rockbox
Opened by Cástor Muñoz (prof_wolfff) - Sunday, 08 January 2012, 22:05 GMT+2
Last edited by MichaelGiacomelli (saratoga) - Wednesday, 11 April 2012, 03:59 GMT+2
Opened by Cástor Muñoz (prof_wolfff) - Sunday, 08 January 2012, 22:05 GMT+2
Last edited by MichaelGiacomelli (saratoga) - Wednesday, 11 April 2012, 03:59 GMT+2
|
DetailsThere are some random crashes that usually occurs when the scrollwheel is used is WPS, moving PMU polling (for holdswitch status) from ISR to powermgmt thread seems to fix this problem for me.
i choose this approach as a first attempt because it is fast to implement and simple, maybe a better future solution is to make i2c functions IRQ safe, but it is not so trivial and may affect other functionality. |
Closed by MichaelGiacomelli (saratoga)
Wednesday, 11 April 2012, 03:59 GMT+2
Reason for closing: Accepted
Wednesday, 11 April 2012, 03:59 GMT+2
Reason for closing: Accepted
I've been using this for a few weeks, together with #12521 (and #12523). I get much fewer crashes, as a matter of fact they are almost non-existent. Looks like we have a winner. Once again a good job, thanks Castor!