Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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 Nils Wallménius - 2011-04-28
Last edited by Nils Wallménius - 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  Nils Wallménius
2011-11-19 11:18
Reason for closing:  Accepted
Additional comments about closing:  

This has been comitted

Nils Wallménius 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.

Nils Wallménius 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.

Nils Wallménius 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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing