Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Notice: A non well formed numeric value encountered in /sites/ on line 96 Deprecated: Function create_function() is deprecated in /sites/ on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/ on line 845 Deprecated: Function create_function() is deprecated in /sites/ on line 111 FS#12728 : iPod classic/6G: Hangs on USB connection, does not mount as disk



FS#12728 - iPod classic/6G: Hangs on USB connection, does not mount as disk

Attached to Project: Rockbox
Opened by John Butler (jbuk) - Monday, 13 August 2012, 12:31 GMT
Last edited by MichaelGiacomelli (saratoga) - Thursday, 08 September 2016, 19:26 GMT
Task Type Bugs
Category Battery/Charging
Status Closed
Assigned To No-one
Operating System iPod Classic
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Running emCORE v0.2.3 r859, Rockbox bd6e6ed-120813 daily build, and OS X 10.7.3 on the host computer.

When connecting my iPod to my computer, Rockbox displays the USB screen and then appears to hang (it won't respond to any input or unplugging the USB cable, and a menu+select reset is needed). It does not mount as a volume at any point. When connected, it is briefly visible in System with the following information:

Rockbox media player:

Product ID: 0x1261
Vendor ID: 0x05ac (Apple Inc.)
Version: 1.00
Serial Number: 100000000E3A01A01E3A01A01
Speed: Up to 480 Mb/sec
Location ID: 0xfd110000 / 6
Current Available (mA): 500
Current Required (mA): 500

Running 'dmesg' after it has been connected returns the following (relevant) lines:

0 0 AppleUSBCDC: start - initDevice failed
USBMSC Identifier (non-unique): 100000000E3A01A01E3A01A01 0x5ac 0x1261 0x100
USBF: 11281.501 [0x7dff200] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 1 of Hub at 0xfd000000)
USBF: 11324. 21 [0x7dff200] The IOUSBFamily was not able to enumerate a device.

After this, it no longer appears in System Profiler.

The problem does not occur in the Rockbox fallback image that is built in to emCORE, which is Rockbox r31516-120101.

I believe that this bug could possibly be related to  FS#12460 , however as a later build of Rockbox than is indicated in that report (the fallback image) does not exhibit the problem, I think it is a different issue.
This task depends upon

Closed by  MichaelGiacomelli (saratoga)
Thursday, 08 September 2016, 19:26 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Should be fixed by the new USB stack.
Comment by MichaelGiacomelli (saratoga) - Sunday, 16 September 2012, 20:34 GMT Comment by John Butler (jbuk) - Sunday, 16 September 2012, 20:47 GMT
There is no change in behaviour in daily build 1c975ee-120916, so that patch has had no effect.

Having said that, I never experienced any data aborts in the first place.
Comment by Marcin Nowak (beremat) - Wednesday, 30 January 2013, 21:19 GMT
I'm fairly confident I've isolated the case under which this happens. At least, I haven't been able to reproduce it under different circumstances.

I'm using the latest rockbox daily build, and the latest version of emCORE to load it.

This seems to happen when the database is either scanning or updating. I have a library of over 11,000 tracks, so this takes about three minutes. During this time, you can hear the hard drive spinning away and doing its work, as expected. However, if you try to connect to USB at this time, it hangs. And if you listen to the hard drive, it's clear that it's still working away at the database. My guess is that the hard drive (being an HDD and not flash) takes too long to respond to the mount request and freezes the USB interface. Again, if the database isn't scanning while I connect, it works every time without fail.
Comment by parafin (parafin) - Monday, 17 March 2014, 19:32 GMT
I have the same problem - iPod Classic doesn't mount on OS X (Mavericks) with the same messages in dmesg. Player also hangs if USB cable isn't unplugged from MacBook for around 30 seconds (if I remove it earlier rockbox does return to start screen normally). Mounting works (at least most of the time) on Linux and Windows. Rockbox version is from 15 March 2014. Fallback rockbox image from emCORE does mount sometimes in OS X, but it's like 1 of 15-20 times, crashing or hanging in other cases.