This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9957 - USB connection not made when action_userabort() is used
Attached to Project:
Rockbox
Opened by Jonas Häggqvist (rasher) - Thursday, 26 February 2009, 17:07 GMT+2
Last edited by Frank Gevaerts (fg) - Friday, 22 May 2009, 00:10 GMT+2
Opened by Jonas Häggqvist (rasher) - Thursday, 26 February 2009, 17:07 GMT+2
Last edited by Frank Gevaerts (fg) - Friday, 22 May 2009, 00:10 GMT+2
|
DetailsUsing a bootloader from
This is possibly also true for other values of Start Screen. Tested on e280, but I expect it'll likely be the case on other PP targets with USB |
When booting, the sansa would either get to the WPS and freeze at 0:00 (before seeking), or show the USB screen, but not actually establish a connection. Unplugging the cable would make playback resume as expected.
I got these messages on the host:
[272219.306337] hub 6-0:1.0: unable to enumerate USB device on port 1
For me, a splash screen 'Error accessing playlist control file' appears very briefly before the USB screen is shown. Vista does not see the device and no errors are reported in the event log.
On removal of the USB cable, either:
1) The main menu appears with a 'Scanning disk...' splash, but the sansa is frozen requiring a hard reset
2) The screen becomes corrupted with shimmering diagonal lines on a solid-ish background, and again a hard reset is required
FS#9955, this is also true if the start screen is set to Database. I have not verified this personally though.This actually makes usb connections not work in more circumstances than just booting with specific start screens. Any long-running task that uses action_userabort() is vulnerable, like e.g. inserting lots of tracks in a playlist.
Also, this isn't specific to software usb.
Can usb connections be prevented or delayed during these tasks that use action_userabort()?