Support and General Use > Hardware

Immediate Shutdown/Reboot with flash modded iPod Classic

(1/2) > >>

iPodVT:
This morning I installed the current dev build - f3d6196016-241021 - onto a flash modded iPod Classic and was surprised to find that there is no longer a ~20 second delay between when I have the iPod shutdown and when it actually powers off.  It is now so immediate that I don't even see the "shutting down" message displayed on the screen, and the reboot command now works.  I don't recall seeing any mention of that change on the "Recent activity - code" webpage.  I assume that the power management concerns about this have been resolved, and I'm wondering how was it accomplished?

Thanks.

speachy:

You didn't mention what version you were coming _from_, but I suspect what you are seeing is due to e0df9952fd13904da646adae0409b5c76c67f298 from about a month ago.

Another recent change is was shrinking the ipod6g's storage idle->shutdown timeout from 20s to 7s, matching the other HDD-based targets.

iPodVT:
Thanks for your reply.

I had updated from 607adf00b5-240915.

I did see the code update note re the reduction of the ipod6g's storage idle->shutdown timeout from 20s to 7s, but I didn't associate that with the instantaneous shutdown I was seeing.  In any case, I'm just curious if something is being handled differently (and what that is, if it's not complicated or time consuming to explain) or if it was decided that the delay was unnecessary or maybe ineffective.

speachy:

--- Quote from: iPodVT on October 22, 2024, 10:44:59 PM ---I had updated from 607adf00b5-240915.

--- End quote ---

What you are seeing is a side effect of e0df9952fd13904da646adae0409b5c76c67f298 landed four days later.

When shutting down, waited for the drive to be "spun down" which isn't a thing when the drive doesn't support power management. That commit switched how we treat those drives to "not spinning" instead of "always spinning".

I've been working on the 6g's ATA driver to bring it functionally/behaviourally in line with the standard one, but this is a quirk now shared by both.  I need to look into this more carefully; to make sure we don't inadvertently trigger data loss when shutting down.

Frankenpod:
Does this situation have any implications for battery life?  That is, does the 6g now actually power-down when shut down, or does the drive continue to drain battery power even when the device is turned off?

  I have the impression that the flash adaptors' problems with power-management commands maybe mean they never fully turn off (so batteries will drain while the things are out-of-use)?  Or is it only an issue with respect to the drive powering down between accesses while the device itself is in use?

[As I have several flash-modded ipods, and some of them sit unused for longish periods, I'm a bit bothered at the implications for battery life...though I guess the fault lies with the adaptors themselves rather than being anything RB can do much about]

Navigation

[0] Message Index

[#] Next page

Go to full version