FS#10100 - Rbutil: wait for the system to remount the player (OSX bootloader install)

Attached to Project: Rockbox
Opened by Dominik Riebeling (bluebrother) - Sunday, 05 April 2009, 19:43 GMT
Last edited by Dominik Riebeling (bluebrother) - Sunday, 22 November 2009, 22:14 GMT
Task Type Patches
Category Rbutil
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Version 3.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch addes handling of the unmount that's necessary for bootloader installation (ipod / sansa) on OS X. After the bootloader has been successfully installed Rockbox Utility waits for the system to remount the player (by checking the device as reported by the system prior to unmounting).

As I don't have access to OS X this is untested. I did this a while back and tests done by others seems to reveal this not working correctly but always hitting the timeout, even if the player had already been remounted by the system though I don't know why (or if it was a different issue causing this). Faking the unmount / remount behaviour on linux showed this patch working in principle.
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Sunday, 22 November 2009, 22:14 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed as r23716 with additional fixes.