This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9663 - Sansa e200v2/Fuze: "nearly" fix buttonlight, enable backlight sw fading
Attached to Project:
Rockbox
Opened by Thomas Martitz (kugel.) - Thursday, 18 December 2008, 03:14 GMT+2
Last edited by MichaelGiacomelli (saratoga) - Sunday, 18 January 2009, 19:50 GMT+2
Opened by Thomas Martitz (kugel.) - Thursday, 18 December 2008, 03:14 GMT+2
Last edited by MichaelGiacomelli (saratoga) - Sunday, 18 January 2009, 19:50 GMT+2
|
DetailsThis patch enables backlight sw fading for both mentioned targets. Looks nice on the Fuze.
It's also supposed to fix buttonlight. It generally works, but it needs more work. It's quite unreliable! It generally works if you press a button shortly after the very first buttonlight flash while booting, and it starts working if you do filesystem access. There may be other conditions. It generally doesn't work if you boot normally, until something mentioned above happens. I just want to add: buttonlight ain't trivial from what I've seen. Simply setting the pin is broken as soon as you add a MicroSD, since the MicroSD is blocking the GPIOD port. You basically cannot change xpd_func_sel to GPIO as long as you're using the MicroSD. And the buttonlight doesn't keep on just by setting the pin if you change to xpd. What I did is what I found in the disassembly. It sets the Rod control register. It seems to work a bit, even though I have no idea what it actually is. Enough talk, here's the patch |
This task depends upon
Closed by MichaelGiacomelli (saratoga)
Sunday, 18 January 2009, 19:50 GMT+2
Reason for closing: Accepted
Additional comments about closing: Accepted in r19791 and r10792.
Sunday, 18 January 2009, 19:50 GMT+2
Reason for closing: Accepted
Additional comments about closing: Accepted in r19791 and r10792.
You forgot the backlight-target.h changes for e200v2
Update for the buttonlight, works good. It turns off for a split second at inserting a microsd, but I don't think it's a major issue (I'd even say it's a nice visual feedback on inserting the card).
Here's an update on backlight fading. The huge #if in backlight.c could actually reduced to HAVE_AS3514.