FS#11962 - Player and Filetransfer freeze during USB file transfer

Attached to Project: Rockbox
Opened by not relevant (Mavo159) - Wednesday, 23 February 2011, 13:07 GMT
Last edited by sideral (sideral) - Monday, 30 May 2011, 10:29 GMT
Task Type Bugs
Category Operating System/Drivers
Status Unconfirmed
Assigned To No-one
Operating System Sansa AMSv1
Severity Low
Priority Normal
Reported Version Release 3.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


The interface of my Sansa Fuze and the file transfer freeze randomly when transferring large amounts of data. If the player runs in Bootloader USB mode everything is fine.

I guess this could break the vfat file system, making this a nasty bug. Disabling Key and Mouseemulation did not help. As long as this isn't fixed, a solution would be to start the player in Bootloader USB mode by default. I don't know if this is possible though, since I don't know the the technical details of rockbox very well.

Beside that everything works just great, keep up the good word!

PS.: I'm using Debian with different kernels. I couldn't see any differences between different kernel versions regarding this issue. Intels Linux USB drivers and the Linux USB stack in general usually work excellent as far as I know, therefore I would blame it on rockbox (no offense :)).
This task depends upon

Comment by not relevant (Mavo159) - Wednesday, 23 February 2011, 13:09 GMT
I couldn't find a matching task type for this, maybe so should add one... ...or I missed it (sorry).
Comment by Michael Ball (mball) - Thursday, 12 May 2011, 18:57 GMT
I'm getting the same problem, although I'm seeing the problem when using the Bootloader USB mode too. The connection is suddenly lost, the Fuze doesn't respond anymore, and it needs to be forcefully shut down (holding off position for about 10 seconds).
Comment by Michael Ball (mball) - Thursday, 12 May 2011, 18:58 GMT
I forgot to mention, this problem appears to still be present in Release 3.8.1.
Comment by Dominik Riebeling (bluebrother) - Thursday, 12 May 2011, 19:21 GMT
This sounds like it's simply file system caching by the host OS: I've experienced such "random freezes" during transfers on different setups (slow network drive). After waiting for a while (i.e. giving the cache some time to get written to the slow drive) everything was ok again. What exactly is "interface" in this domain? In USB mode the player shows a USB logo and you can't control it so I'm not sure what could freeze during USB connection.
Comment by Michael Ball (mball) - Thursday, 12 May 2011, 19:35 GMT
It's definitely not the OS. Halfway through the transfer the USB connection drops, and there is no more response from the device.

When the device is in USB mode you can still control it: hitting the Home key for instance changes the mode between settings like "Multimedia", "Browser", "Mouse" etc. However once the problem occurs you can no longer do this. Disconnecting the device from the computer also does nothing: if the player were still responsive it would eventually go back to the main menu screen, but it doesn't.
Comment by Michael Ball (mball) - Monday, 30 May 2011, 10:21 GMT
I have just downgraded to 3.7.1 and cannot reproduce this issue, so it definitely looks like a problem introduced in 3.8 (and still present in 3.8.1).
Comment by sideral (sideral) - Monday, 30 May 2011, 10:29 GMT
  • Field changed: Operating System (Sansa AMSv2 → Sansa AMSv1)
This is a Fuze V1 issue, right? Because we don't officially support USB for the Fuze V2 yet.

Adapting the Player Type field.
Comment by Ger Folkersma (rundll.exe) - Thursday, 18 August 2011, 19:53 GMT
I can confirm this issue with Rockbox 3.9 (normal release) on the Sansa (v1). Happens on 2 computers, one with win7 32bit, one with win7 64bit. Only a reset (hold on button for 10 sec) will make the device work again.