Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Battery/Charging
  • Assigned To No-one
  • Operating System iPod Classic
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by jbuk - 2012-08-13
Last edited by saratoga - 2016-09-08

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

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.

Closed by  saratoga
2016-09-08 19:26
Reason for closing:  Out of Date
Additional comments about closing:  

Should be fixed by the new USB stack.

jbuk commented on 2012-09-16 20:47

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.

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.

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing