Rockbox

Tasklist

FS#7526 - sansapatcher on linux prints a success message when it actually does nothing

Attached to Project: Rockbox
Opened by Ori Avtalion (salty-horse) - Friday, 03 August 2007, 13:12 GMT
Last edited by Linus Nielsen Feltzing (linusnielsen) - Friday, 01 August 2008, 10:48 GMT
Task Type Bugs
Category Bootloader
Status Closed
Assigned To No-one
Operating System Sansa e200
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Version 3.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Using sansapatcher v0.2 with r12896 bootloader.

When I run sansapatcher without root permissions and choose to install, it says "Bootloader installed successfully".

Nothing is actually installed. Booting the device starts the original firmware.

sansapatcher should detect when it fails to install and print an appropriate message.
This task depends upon

Closed by  Linus Nielsen Feltzing (linusnielsen)
Friday, 01 August 2008, 10:48 GMT
Reason for closing:  Fixed
Comment by Maurus Cuelenaere (mcuelenaere) - Tuesday, 29 July 2008, 20:37 GMT
I believe this is fixed as of http://svn.rockbox.org/viewvc.cgi?view=rev&revision=17461
Could someone verify this?
Comment by Ori Avtalion (salty-horse) - Friday, 01 August 2008, 10:47 GMT
I confirm it now behaves correctly:

$ ./sansapatcher
sansapatcher v0.6 with v4.0 bootloaders - (C) Dave Chapman 2006-2007
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[INFO] Scanning disk devices...
[ERR] FATAL: Permission denied on 5 device(s) and no sansa detected.
[ERR] You need permissions for raw disc access for this program to work!

Press ENTER to exit sansapatcher :

Loading...