FS#9395 - reopen task 9048 -- ipod 5.5g freezes upon usb connection

Attached to Project: Rockbox
Opened by glen (glenmo) - Thursday, 11 September 2008, 13:04 GMT
Last edited by Frank Gevaerts (fg) - Thursday, 17 December 2009, 22:02 GMT
Task Type Bugs
Category Bootloader
Status Closed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


if the device is off and i plug it into usb, device freezes at home screen (files, database, resume playlist...) and i have to force restart in order to get it back to usable state. it will only load usb transfer mode if the device is turned on when i plug it into usb. this was not always the case and i found it very convenient to not have to worry whether or not it was powered up before plugging it in...

i'm using the device in windows xp, os x and linux and i get the same behavior in all operating systems.

i think it is still charging when frozen.

using r18492 build
This task depends upon

Closed by  Frank Gevaerts (fg)
Thursday, 17 December 2009, 22:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  The consensus seems to be that this is fixed
Comment by Tim Ryan (starless) - Friday, 17 October 2008, 17:36 GMT
Confirming this behavior on version r18607-3.0-080923.

I must now activate the 'Hold' switch when plugging 5/5g iPod into USB connection in order to have iPod go into disk mode. Otherwise, as described above, IPod boots into RockBox firmware and freezes. Disk access to iPod from a both Win 2K or Win XP system is not possible. Drive shows up in Windows Explorer but trying to access it brings up an 'Insert disk' dialog which says, "Please instert a disk into drive E:."

Previously this was not necessary.
Comment by Alex Bepple (AlexBepple) - Monday, 29 December 2008, 00:32 GMT
I observe the same behavior with an iPod Video 30 GB, using Windows XP and Rockbox build r19569.
Comment by Martin (MCMisenar) - Saturday, 24 January 2009, 02:30 GMT
I also observe the same behavior on a 60GB 5.5g, using Rockbox build 19833
Comment by Martin (MCMisenar) - Saturday, 24 January 2009, 02:31 GMT
I can also confirm that the iPod does charge while frozen, though the battery indicator on the screen does not update until the device is rebooted without USB cable attached.
Comment by Michael Sevakis (MikeS) - Friday, 13 February 2009, 01:41 GMT
Is this still an issue?
Comment by Alex Bepple (AlexBepple) - Friday, 13 February 2009, 19:15 GMT
You mean with a newer build?
Comment by Michael Sevakis (MikeS) - Saturday, 14 February 2009, 02:51 GMT
Of course. A similar problem was addressed on my targets which share the same USB code as the 5.5g so I wondered about the status of this bug in more recent builds.
Comment by Tim Ryan (starless) - Saturday, 14 February 2009, 09:38 GMT
Results of testing with r19918-090204 in one sitting:

Attempt 1: Successfully plugged iPod into USB cable and behavior seems normal. Unit is connected successfully to PC running Windows 2k and disk mode is activated.

Attempt 2: After a normal disconnect and allowing unit to power down, upon reconnect to USB cable, unit now brings up the "Please Wait. Very Low Battery." screen. This after the battery power level indicator had shown 97% level after Rockbox booted up after Attempt 1. After ten minutes, no change.

Attempt 3: Unit was disconnected from USB cable (there was no way to properly do this through the operating system this time.) The iPod screen then went totally blank/black and it took a hard reset to boot up Rockbox. Battery level indicated as 91%. Unit then allowed to power itself down.

Attempt 4: Unit plugged into USB cable. Nothing happens on the iPod, no entry into disk mode; no low battery, nothing. Held unit to ear to listen for hard drive activity, nothing. Unit disconnected and reconnected several times with same result. Click-wheel is also non-responsive while connected. Unit then disconnected from USB cable and then hard-reset after which it boots successfully into Rockbox.

Attempt 5: After allowing unit to power down, successfully plugged iPod into USB cable and behavior seems normal. Unit is connected successfully to PC running and disk mode is activated.

I have never observed the results of Attempt 4 at any time before. During none of these attempts today did the unit ever boot into Rockbox and freeze, as had been its behavior as noted in my entry from Friday, 17 October 2008. So to answer the question of MikeS; yes, it still seems to be an issue, but something may have changed.

Sometime after 17 October I had purchased a wall wart power charger for the iPod and have never had the unit fail to boot up into Rockbox and charge the battery when plugged into it.
Comment by Michael Sevakis (MikeS) - Sunday, 15 February 2009, 05:42 GMT
I did notice this happen on a borrowed unit but didn't know what to make of it nor whether it was some old misbehavior. The fact that it persists across boots may indicate something not right with the reboot reset code rather than the USB code.
Comment by Alex Bepple (AlexBepple) - Wednesday, 01 April 2009, 21:45 GMT
Works fine for me with r20603-090401.
Comment by Tim Ryan (starless) - Saturday, 04 April 2009, 13:25 GMT
This appears to be resolved for me also.
Comment by Boris Gjenero (dreamlayers) - Saturday, 04 April 2009, 14:31 GMT
The "Please Wait. Very Low Battery." and failure to power on when USB is connected are probably not USB related. I think they're the same issue as failure to turn on normally, requiring a select+menu reset to turn on.