USB Mass storage MP3 player has songs cut in half using Konqueror to transfer
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
USB Mass storage MP3 player has songs cut in half using Konqueror to transfer
I noticed this morning that after transfering songs to my player that the last 10 or so songs on plays about half way before skipping to the next songs. I mounted the usb drive using the CLI and tranfered with the standard cp command. I used konqueror to check the size of the directory on the player so I didn't go over (its only a 1 GB). I closed konq and went back to CLI and tried umount. It kept saying the the device was busy. I did umount -l and it umount immediately, but the last 10ish songs are chopped off. Normally if I just use the CLI to mount transfer and umount it never says that the device is busy and all the songs are fine. Whats konqueror doing to make this kind of thing happen?
Hmmm... why do you think konqueror has anything to do with this?
Anyway, it looks like the last few files were not completely transferred when you forced the umount. When a device says it's busy, sometimes it is. When you force a disconnection, you can expect data corruption.
why do you think konqueror has anything to do with this?
I used konqueror to transfer files to my gf's player without the CLI. I mounted, transfered then umounted all from within konqueror and the same thing happened only alot more files were corrupt. Using konq to umount the device never complained. The option said "Safely remove". Not sure if konqueror is the culprit, but I will try again with CLI only to see if there is any difference. Also what is the command to get the size of all the files and sub-directories within a directory?
i have had the same problem with my mp3 player. what worked for me was to format the player (fat32). another thing i would like to point out is when you unmount your drive, you must wait until the light on it stops blinking, even if your icon looks as if it were unmounted. in my case the icon must not only look is if it is unmounted but disappears when transfer is complete. sometimes (when copying large lots) the copying progress bar has gone from the screen but the usb device' light is still blinking, indicating it is still doing something.
I agree with what wabbalee said. You must wait until the light completely turns off on your player. When konq sais that the copy procedure is complete (copy indication window disappears), its very common that the procedure is not complete in reality. It can be because of data caching. The copy window disappears because all data has been cached, but in the same time cached data is not completely written to the device. And this is not shown anywhere.
So again: always wait until the light turns off on your player.
Ah I see. Thanks for the advice. Now that I think back it does look like the transfer takes only a few seconds for 1 GB worth of data. Even for USB 2.0 thats way too fast. So the transfer window is only reporting the write to the cache.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.