Re: Fw: Re: Elitegroup K7S5A + usb_storage problem

From: martin . maurer
Date: Sun Aug 07 2005 - 10:34:51 EST



Hi Alan,

no. the stick doesn't have a write protection switch.
Once when i tried to copy a file to the mp3 player i got a new file there on remount,
but it consisted of incorrect data. (so writing seemed to be possible and just went wrong)
(in that case the fat seemed to be damaged after i had tried this, so that windows wasn't
able to read it correctly any more.
(formatting from the mp3 players menu helped)

greetings
Martin

PS: just as an info - i sent a usbmon trace to Pete Zaitcev today, should I send it to you too?

Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> schrieb am 07.08.05 17:14:52:
On Sun, 7 Aug 2005, Martin Maurer wrote:

> Hi Pete,
>
> when using ub with your patch i get a lot further:
> the device is detected and uba+uba1 entries appear.
> I can mount the device correctly.
> Copying the files down and comparing them with the originals gives correct
> results.
>
> but:
> when i delete the files which are on the stick and do an umount/mount cycle,
> the files are there again.
> Copying files to the stick gives wrong results too.
> Once the created file vanished after the remount,
> and once it was there with a different name/size/date and garbage as content.

It sounds as though the device isn't actually carrying out the write
operations. Is it write-protected?

Alan Stern



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/