This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9926 - System -> rockboxinfo shows Battery: Charging even if I run on battery
Attached to Project:
Rockbox
Opened by Jakub Matoušek (kubiix) - Wednesday, 18 February 2009, 18:25 GMT+2
Last edited by Boris Gjenero (dreamlayers) - Monday, 20 April 2009, 00:22 GMT+2
Opened by Jakub Matoušek (kubiix) - Wednesday, 18 February 2009, 18:25 GMT+2
Last edited by Boris Gjenero (dreamlayers) - Monday, 20 April 2009, 00:22 GMT+2
|
DetailsIn daily build r20040 the System -> rockboxinfo shows Battery: Charging even if I run on battery
Indicators in statusbar and wps display correct non-charging icon |
This task depends upon
Closed by Boris Gjenero (dreamlayers)
Monday, 20 April 2009, 00:22 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r20752
Monday, 20 April 2009, 00:22 GMT+2
Reason for closing: Fixed
Additional comments about closing: Fixed in r20752
FS#8802). To properly implement charging_state() you need some way to know that the battery is charging.BTW I wonder why this bit isn't being used. It was used at one point, eg.
http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/usb-fw-pp502x.c?revision=16817&view=markup
For other iPods the code still checks GPIOB_INPUT_VAL & 0x01. That should at least be valid for 4G mono, 5/5.5G, 2G Mini and 1G Nano. It might still be wrong for some other iPods.
Perhaps someone should add this bug to the 3.2 release notes.
I see that 1G and 2G iPods use GPIOB_OUTPUT_VAL & 0x01 to enable and disable the wheel. The same pin cannot be used as an input, so those iPods must also use a different pin.
I don't have wiki access. I'll see what I can do about getting it added to the release notes tomorrow.
thanks