Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off  (Read 3533 times)

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #30 on: January 05, 2025, 10:01:03 AM »
wait both builds worked??

with the first one did you notice a flash on shutdown with show message yes and backlight on with show = NO
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: Problem when Backlight on Hold is set to Off
« Reply #31 on: January 05, 2025, 10:02:29 AM »
Quote from: iPodVT on January 05, 2025, 10:00:34 AM
Quote from: Bilgus on January 05, 2025, 09:52:08 AM
chris_s added the hide shutdown messages so at least one person doesn't like ignoring backlight on hold on shhutdown though

I wasn't asking about disregarding Show Shutdown Message, I was asking about disregarding Backlight on Hold being set to Off.  If Show Shutdown Message is set to No, is there any reason to turn on the backlight at shutdown?

same end result though no?> screen turns n flashes turns off
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 480
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #32 on: January 05, 2025, 10:06:32 AM »
Yes, both builds worked - at least as far as not resulting in a freeze.

Show Shutdown Message was set to Yes for both tests.
Backlight on Hold was set to Off for both tests.

There was no light at all after I engaged the Hold Switch, until I restarted the iPod.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #33 on: January 05, 2025, 10:09:35 AM »
OK the second build is what we will go with just to make sure I'll post you one more build before I push it to everyone
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #34 on: January 05, 2025, 10:17:38 AM »
https://www.mediafire.com/file/7ebi6c6hzt15936/ipod6G_rockbox_lcd_awake_final.zip/file

https://gerrit.rockbox.org/r/c/rockbox/+/6309

I'm thinking its the call to lcd_target_enable_clocks() that does it but without device in hand we will just speculate as long as it works!
« Last Edit: January 05, 2025, 10:22:09 AM by Bilgus »
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 480
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #35 on: January 05, 2025, 10:18:36 AM »
Quote from: Bilgus on January 05, 2025, 10:09:35 AM
OK the second build is what we will go with just to make sure I'll post you one more build before I push it to everyone

That means that if I have Show Shutdown Message set to Yes and Backlight on Hold set to Off, I won't get a shutdown message if the iPod shuts down with the Hold Switch engaged - correct?  It's okay with me though it seems a bit odd - but I guess if those two settings are logically in conflict, the Backlight on Hold = Off should take precedence.

My head is spinning...
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #36 on: January 05, 2025, 10:24:58 AM »
as far as I know this still has the same behavior as prior no?

backlight on hold == off -- no backlight unconditionally OFF

backlight == normal show messages == yes -- backlight ON at shutdown
backlight == normal show messages == no -- backlight OFF at shutdown
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 480
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #37 on: January 05, 2025, 10:35:51 AM »
Quote from: Bilgus on January 05, 2025, 10:24:58 AM
as far as I know this still has the same behavior as prior no?

backlight on hold == off -- no backlight unconditionally OFF

backlight == normal show messages == yes -- backlight ON at shutdown
backlight == normal show messages == no -- backlight OFF at shutdown

Yes, my head stopped spinning (or slowed down) long enough to see the correctness of this logic.

lcd_awake_final did all of those things correctly and there were no freezes.

for good measure i also tried

backlight == normal show messages == yes hold switch engaged -- backlight ON at shutdown

and it did just that.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #38 on: January 05, 2025, 10:40:02 AM »
Awesome!

Thank you so much for the bug report and testing!!

I think this bUg has been present for a long time we just never could catch it

After the build round finishes it should be good.

https://forums.rockbox.org/index.php/topic,55036.msg254526.html#msg254526
« Last Edit: January 05, 2025, 10:44:35 AM by Bilgus »
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 480
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #39 on: January 05, 2025, 02:41:03 PM »
An oddity with the exact same three iPods for which I initially reported the freeze problem:

When I manually shutdown or reboot these iPods, the LCD (which is already lit, as it should be) very briefly flashes bright white, then goes medium dark while showing the Shutting Down… message, and then goes fully dark and the iPod shuts down (without freezing).  When they auto shutdown after Idle Poweroff timeout the LCD does not flash white - it just does what it's supposed to do:  go medium dark while showing the Shutting Down… message and then fully shutdown (again, without freezing).  I have carefully checked these iPods for any settings that might have gone astray but haven't found any.

This is with dev build 5d9b01b9ed - the newest available as of this moment.  Other Classics running this same build are not showing the white flash (just as they previously didn't freeze).
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 480
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #40 on: January 05, 2025, 03:25:16 PM »
To clarify the scenario where auto shutting down after Idle timeout did not produce a flash of white:

The backlight had already timed out and gone dark some while before the Idle timeout shutdown occured, so the backlight went from fully dark to medium dark for the shutdown message and then the iPod powered off - no white flash.

With one of the three problem Classics I just now set the backlight timer so that it would remain lit until Idle timeout occurred.  That scenario produced the same result as when I manually shutdown/rebooted:  backlight was already lit and then flashed white before displaying the Shutting Down msg.  I tried the same test with one of the non problematic ipod6gs that had not flashed white when manually shutting down and it also did not flash white when the backlight was already/still lit at Idle Poweroff timeout.  Then I set the problematic iPod's Show Shutdown Message to No;  when Idle timeout occurred the backlight was still lit, flashed white, and then shutdown without displaying the Shutting Down message.

Seems to indicate that if the backlight is already lit at shutdown, it will flash white before shutting down - but just with those three problematic iPods.  Crazy.
Logged

Offline Bilgus

  • Developer
  • Member
  • *
  • Posts: 1194
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #41 on: January 05, 2025, 06:55:12 PM »
I think that's probably a clue to the issue but with a device to test its probably good enough to make sure its on
Logged

Offline riin

  • Member
  • *
  • Posts: 4
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #42 on: May 02, 2025, 01:18:58 PM »
Hello, responding in this thread because I think this is the exact issue I have been dealing with (6g, hold switch shutdown) but on my third encounter I can't restart the ipod at all even after charging and MENU +Select. Is there any method to bring my ipod back to life?
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 480
Re: IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
« Reply #43 on: May 02, 2025, 03:06:07 PM »
Quote from: riin on May 02, 2025, 01:18:58 PM
Hello, responding in this thread because I think this is the exact issue I have been dealing with (6g, hold switch shutdown) but on my third encounter I can't restart the ipod at all even after charging and MENU +Select. Is there any method to bring my ipod back to life?

As to your immediate problem:

How long are you holding the Select and Menu buttons?  You probably need at least 8 seconds to get it to reboot, but if you hold it for much longer than that you might put it into DFU mode.

If your iPod is already in DFU mode you might have to do a restore with iTunes or Apple Music.  Have you tried connecting to a computer running iTunes or Apple Music?  I don't know how newer Macs and the Apple Music app respond to an iPod Classic in DFU mode, but iTunes should say something like "iTunes has detected an iPod in DFU mode" [or maybe "in Recovery mode"], and then give you the option to restore it.

Also, have you tried connecting to a Firewire power source (adapter brick or a port on a Mac)?  That might give you the oomph required to wake it up.

I had not experienced any more shutdown hangs since early January until earlier this week when a newly acquired 6th Gen Classic with an HDD and running RB v4.0 started doing it.  I have been able to force reboot it via holding the Select and Menu buttons, though sometimes it takes several tries.

I've also been experiencing a different hold switch related hang with the flash modded 6th Gens that flash white at shutdown, and I've figured out how to consistently make that one happen at will but I haven't had time to write up a report on that or on the one like you are experiencing.  I hope to post about it all to the forum at some point this weekend.
Logged

  • Print
Pages: 1 2 [3]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  IPod 6G Shutdown Hang -- Problem when Backlight on Hold is set to Off
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.089 seconds with 17 queries.