This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9413 - Rockbox (and bootloader) mistakes battery for USB.
Attached to Project:
Rockbox
Opened by Paul Skinner (PetMetroid) - Monday, 22 September 2008, 08:19 GMT+2
Opened by Paul Skinner (PetMetroid) - Monday, 22 September 2008, 08:19 GMT+2
|
DetailsThis may represent other players as well.
I installed a new battery on my iriver, a 2100 mAh that is working perfectly. The problem however, is that when fully charged, the voltage holds up to 4.12 volts, and until it drains to somewhere under 3.9 volts, Rockbox thinks that it is powered via USB, so naturally Rockbox gets stuck in USB mode until the battery is drained enough for Rockbox to realize that it IS a battery. With this problem at hand, I have to charge my iriver to only less than seventy percent of its battery life, or else wait for an hour or so to drain it to that point. I HAVE tested it in its original firmware, like I said, works perfectly. The problem lies with Rockbox thinking that the battery is a USB charger. I am asking for a fix around this. Is there a way that I can modify Rockbox so that it may understand that it is running off of a battery that will get up to 4.12 volts and not mistake that for USB power? I just now thought to turn off the "Charge During USB Connection," maybe that will solve the problem; I will get back when I find out whether or not that works. However, I would still like to request a work around for this problem. Any help is much appreciated. Thanks. |
This task depends upon
Thank you Linus. Perhaps I will post a video of the mishaps later.
According to Setup -> Debug -> View battery, my battery level is curerntly 4.201V, and has recently been as high as 4.229V, and USB mode hasn't been triggered at any point during charging or after removing the charger. I am currently running today's build, and have run various builds, always fairly recent, for as long as I have had this setup, with no issues whatsoever in this area.
As you say, the battery capacity setting has no bearing here, it is used solely to indicate expected runtime and nothing else.
Are you sure you didn't damage any hardware during the battery swap, as that sounds more likely?
I have an idea that could temporarily fix the problem, however I won't be able to know if it works until I charge it again. I was thinking about switching the "Charge During USB Connection" to "Off" (hey, I mentioned this before; I must have forgotten.) This way Rockbox SHOULD NOT pop up the USB charging screen. As for the bootloader, I have learned that it is fooled into booting normally after I've booted into the original firmware, so all I'd have to do is start the original firmware, turn off the system, then boot it normally into Rockbox. If these temporary fixes work, then I will be satisfied. I will get back after I am able to test this theory.
Another problem I used to have (and is STILL in effect, however I found a fix around it, too) was when I would charge the iriver in Rockbox mode, that it would also pop into USB mode. Basically, until I learned about the A-B button method, I could only run Rockbox off of the battery, meaning that if I had a drained battery, tough shi, I would have to wait until it was charged (this was obviously not workable for me when my old battery was dead to the point its charges wouldn't last longer than not even a CD length.) Of course, just in case you're pondering, it was the wall charger I was using, not a USB charger or cable, that was popping it into USB mode.
I am completely content now with the way everything is running now that I can bypass the USB charging, however I hope that I have offered some important feedback to your development. Thanks for your help (and Marc and Mike,) and I hope to be around when you guys need anything.