Date: Sun, 15 Sep 2002 16:47:02 +0100 (BST)
From: Jonathan Lozinski <[EMAIL PROTECTED]>
| I have a funnny problem with my SanDisk Compact Flash read/writer.
| Files it writes under Linux fine, and those files are readable by
| most devices, and windows can read them also.
|
| The thing is using my MP3 Player it is not able to play files when a
| file has been added to it using linux.. remove that file and all is
| well.
|
| There must be some information which windows adds which the
| usb-storage does not. As far as I can tell the files are added
| are played in the order they are copied under windows...
Maybe I'm wrong, but I don't see this as a USB storage or
SanDisk CF problem, but some kind of filesystem problem.
I was able to reproduce some parts of this problem.
I wrote an mp3 file to a CF and tried to play it.
The CF already had 1 mp3 file on it and I added 1 more.
The MP3 player (MoveMan) would only play the first mp3 file
(written on a Windows system). It ignored the second mp3
file (written by Linux).
Yes, I agree that it most likely is a filesystem problem,
but have no MP3 player to play with.
Maybe you can debug it yourself?
Test 1: Could it be the driver? Write some stuff with Windows,
make sure the player plays it correctly, dd it off with Linux,
remove all with Windows, make sure the player sees nothing,
dd the old contents back with Linux, make sure the player plays it.
After this test succeeds, the working hypothesis is that it is
the Linux-visible bits that make a difference (and not some
obscure copyright markers or other things that the Linux driver
does not know about).
Probably such special things are not to be expected if the device
is a standard Windows USB-storage device without its special own
drivers.
Test 2: Write some stuff with Windows, make sure the player plays
it correctly, dd it off with Linux, remove all with Windows,
now copy (with cp) the same files back to the card with Linux.
Make sure the player fails to play them correctly.
Aldo dd this off. Look at the difference between the two
disk images.
(You may also send me the results of such experiments.)
When you work under Linux, try both with msdos and with vfat.
Cameras and other devices that must interpret FAT often
are very picky, while Windows and Linux are willing to
accept many variations. Maybe there is some detail in the way
Linux writes FATs that differs from the way Windows does it.
Or maybe the boot block has to be updated.
Andries
-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users