 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
mauibay
Joined: 02 Apr 2005 Posts: 7
|
Posted: Sat Apr 02, 2005 9:09 am Post subject: File transfer using Linux USB? |
|
|
Is anybody successfully using Linux to transfer files directly to the PSP over USB? Using Suse 9.2 here with hotplug enabled it connects file, but subfs doesn't seem to be using the right iocharset or something else is wonky. Even if I disable hotplug and manually mount the PSP as vfat, copied files change capitalization sometimes, and the PSP has so far refused to see any of the files I copy. Deletion works ok.
I suspect it's more of a mounting or filesystem issue than a USB communications issue, and couldn't find much of anything about people using Linux to talk to the PSP on google. It would be nice to not have to boot into windows just to transfer a file. :) Any advice? |
|
| Back to top |
|
 |
mc

Joined: 12 Jan 2005 Posts: 212 Location: Linköping
|
Posted: Sat Apr 02, 2005 7:29 pm Post subject: |
|
|
I'm using the following fstab entry:
/dev/sda1 /psp vfat user,noauto 0 0
This works find for pictures, music and games. I haven't gotten it to work for movies though, so it might be related to the problem you're having.
As for captialization, the Linux vfat filesystem normally maps "short" filenames (8+3) to all lowercase when reading, although they are really always all uppercase. So if the memorystick contains a file called FOOBAR.XYZ (which will be stored as a shortname only), it will appear as foobar.xyz in directory listings.
There is a mount option called "shortname=" which controls this which you might want to try playing around with. See the manpage for mount. _________________ Flying at a high speed
Having the courage
Getting over crisis
I rescue the people |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Sun Apr 03, 2005 4:34 am Post subject: |
|
|
uhm there is no problem in transfering movies, you just have to put them in the right dir.
talking to it through usbmass as usual. If you dont get it to work with linux use a real unix os :) _________________ Kung VU |
|
| Back to top |
|
 |
mauibay
Joined: 02 Apr 2005 Posts: 7
|
Posted: Sun Apr 03, 2005 12:10 pm Post subject: |
|
|
Here's my results copying files to the PSP using Linux:
If the MP4 file extension is not capitalized, the video does not appear in the list on the PSP. My successful mount options are "vfat,user,noauto,sync,posix,shortname=mixed" if I don't use posix, it never works, even if the MP4 extension displays in upper case. If I use any shortname option other than mixed, the extension displays lower case. I haven't had the extension display as lower case on Linux when the video appears in the PSP list.
Now I need to dig into my hotplug subfs options to see if I can get these mount options to default for whenever the PSP device is connected so I don't have to remount with these options each time. |
|
| Back to top |
|
 |
TheDevilsJester
Joined: 06 Apr 2005 Posts: 16
|
Posted: Wed Apr 06, 2005 8:25 am Post subject: |
|
|
I cant seem to properly transfer files to the PSP via linux. It recognizes the device, however the files either dont transfer or are corrupted after transfer. I can, however, transfer files via my Sony digital camera perfectly, using the same USB cable, the same fstab entry, and the same memory stick.
I drag and drop a file onto the memory stick and watch the PSP MS light flash while it is transfering (although I dont get a progress bar in konqueror, it just instantly shows the files in the new directory, thats very annoying), when the light stops flashing, I properly unmount and remove the device, the exact same proccess I use with my digital camera, however with the PSP as the reader/writer, many of the files end up corrupted (only tried with MP3's)...
Not a big issue since I have my digital camera I can use, but annoying nonetheless... |
|
| Back to top |
|
 |
Pikoro
Joined: 13 Jan 2005 Posts: 56
|
Posted: Mon May 16, 2005 10:30 pm Post subject: |
|
|
you have to unmount before you exit usb mode on the psp or unplug the cable.
when you unmount, it syncs the filesystem, so when you unmount, there will be a few seconds of memory stick light blinking.
Then you can disconnect it.
Cheers |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|