Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#6984 - Sansapatcher cannot detect Sansa with FAT partition

Attached to Project: Rockbox
Opened by Alex (testdasi) - Friday, 06 April 2007, 17:07 GMT+2
Last edited by Barry Wardell (barrywardell) - Friday, 30 November 2007, 01:19 GMT+2
Task Type Bugs
Category Bootloader
Status Closed
Assigned To No-one
Player Type Sansa e200
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

Sansapatcher is set to detect partition in FAT32 so if the player is formatted in FAT then it will not be detected. The Sansa is by default in FAT, not FAT32 and Windows set FAT as default when formatting the Sansa as well (I think it only applies to e250 because FAT does not support anything beyond 2GB, I believe). Maybe someone can slightly change the code to detect FAT partition as well or maybe change the manual to tell people to format their players in MSC mode with FAT32.
This task depends upon

Closed by  Barry Wardell (barrywardell)
Friday, 30 November 2007, 01:19 GMT+2
Reason for closing:  Fixed
Comment by MichaelGiacomelli (saratoga) - Tuesday, 10 April 2007, 05:45 GMT+2
This is a known issue. As I recall, FAT support broke at some point a while back and no one was very interested in fixing it. You should use FAT32.
Comment by Dave Chapman (linuxstb) - Tuesday, 10 April 2007, 10:29 GMT+2
sansapatcher doesn't look inside the FAT/FAT32 partition to see how it's formatted, it checks the partition type code in the partition table. Currently it only checks for type "0xb" which is "W95 FAT32".

It would be straightforward to check for other valid partition type codes - assuming they are valid. i.e. if the original Sansa firmware can boot and use such a partition, then sansapatcher should support it as well.

If someone can check what partition type a non-recognised (by sansapatcher) e200 has, I'll modify sansapatcher.
Comment by Charles Philip Chan (cpchan) - Saturday, 14 July 2007, 23:41 GMT+2
> If someone can check what partition type a non-recognised (by sansapatcher) e200 has, I'll modify sansapatcher.

This patch should do it.
   sansapatcher.diff (1 KiB)
 sansapatcher.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comment by Charles Philip Chan (cpchan) - Saturday, 14 July 2007, 23:43 GMT+2
Oops, I forgot to mention the partition type is FAT16.
Comment by Marc Guay (Marc_Guay) - Friday, 02 November 2007, 21:17 GMT+2
So has this been solved?
Comment by Barry Wardell (barrywardell) - Monday, 12 November 2007, 10:28 GMT+2
FAT16 partition type detection was added to sansapatcher quite a while ago. I think this is solved. Can someone who was having problems please report back if it works for them now?
Comment by Jan (dumbo20) - Thursday, 29 November 2007, 22:52 GMT+2
I can confirm: this one is solved.

Loading...