Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

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, 14:31 GMT+2
Task Type Bugs
Category Battery/Charging
Status Unconfirmed
Assigned To No-one
Player Type iPod Classic
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

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 Profiler.app 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
Manufacturer: Rockbox.org
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

Comment by MichaelGiacomelli (saratoga) - Sunday, 16 September 2012, 22:34 GMT+2 Comment by John Butler (jbuk) - Sunday, 16 September 2012, 22:47 GMT+2
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, 22:19 GMT+2
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.

Loading...