• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Drivers
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Release 3.8.1
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by nls - 2011-04-28
Last edited by nls - 2011-11-19

FS#12083 - Add delay to usb-s3c6400x init to fix usb hang on some ipod classics

This fixes usb mode in rb hanging on my classic 120GB. Starting with usb connected still hangs though… does that work on other classics?

Closed by  nls
2011-11-19 11:18
Reason for closing:  Accepted
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

This has been comitted

nls commented on 2011-04-29 12:20

Slightly better patch that uses udelays instead of delay loops and makes the delays as long as the bootrom uses, also changes the order of a few things to be more similar to the bootrom. The hang when booting with usb connected is still present, it hangs when waiting for GRSTCTL & 1, i think that's unrelated.

nls commented on 2011-05-01 19:01

Changed usb_drv_exit to do the powerdown like the bootrom does and it seems to have fixed the hang on startup, the order of some writes is slightly different, set more bits in ORSTCON and add in delays for good measure.

nls commented on 2011-05-02 20:37

2 people reported that this patch caused usb connections to be successfully established less often on their nano2g's so i guess it needs more investigation.


Available keyboard shortcuts


Task Details

Task Editing