Hi folks,
Just an FYI and warning to those on Linux. I could not get psplinkusb to work, until some moderate percussive maintenance

(my system: Mandriva 2009.1, vmlinuz-2.6.29.6-desktop-3mnb, libusb0.1_4-0.1.12-12mdv2009.1)
I had to modify the usbhostfs_pc source code and eliminate the vendor ID check.
The vendor id was showing up on my system as: 0x6472, while usbhostfs_pc was expecting:
#define SONY_VID (0x54C). The product ID remained the same: 0x01c9.
Of course the tool would not connect to my PSP since it would not even attempt without the correct ID numbers. I commented out the check for SONY_VID and kept the correct Product id and this fixed the problem.... several hours later I decided to look into wrestling their code lol.
Here's how libusb was reporting things:
May 8 16:58:39 localhost klogd: usb 1-1.3: New USB device found, idVendor=6472, idProduct=01c9This could actually be an issue with my libusb version... I am not certain. But anyhow, it may be a good idea to parameterize these ID value so the user can add them on the command line. Quick fix. Maybe I'll do that since he just uses optarg stuff, which is totally nice. But maybe later.....
For now here is the simple patch. And btw I added readline by default, why would anyone not want readline searching and history? Hmm...
[#USER#@localhost usbhostfs_pc]$ svn diff
Index: main.c
===================================================================
--- main.c (revision 2493)
+++ main.c (working copy)
@@ -47,10 +47,8 @@
#include <sys/statvfs.h>
#endif
-#ifdef READLINE_SHELL
#include <readline/readline.h>
#include <readline/history.h>
-#endif
#include "psp_fileio.h"
@@ -260,8 +258,8 @@
for(dev = bus->devices; dev; dev = dev->next)
{
- if((dev->descriptor.idVendor == SONY_VID)
- && (dev->descriptor.idProduct == g_pid))
+ if((dev->descriptor.idProduct == g_pid))
+ //&& (dev->descriptor.idVendor == SONY_VID)
{
hDev = usb_open(dev);
if(hDev != NULL)