forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PSPLINK
Goto page Previous  1, 2, 3 ... 9, 10, 11
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Feb 06, 2007 9:22 am    Post subject: Reply with quote

TyRaNiD wrote:
Yah only usbhostfs_pc has to be run as root and for most modern distros you dont even have to do that with an appropriate rules file (think there is on in the psplinkusb archive). And it looks like fedora 6 is just crap and tarred all Sony PSP devices with the same brush. I would just use a better distro ;)


Fedora is better for developing on. I've tried Ubuntu and it's just not as good given all the programming I do.

What does Ubuntu use for the hald policy for Sony? If it's better than what I came up with, I'll put it into my file. :)

Also, psplinkusb doesn't seem to be in the main repo... how do I check it out?
Back to top
View user's profile Send private message AIM Address
Istari



Joined: 30 Sep 2005
Posts: 10

PostPosted: Tue Feb 06, 2007 9:46 am    Post subject: Reply with quote

Code:
svn co svn://svn.pspdev.org/psp/branches/psplinkusb


This is from my /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
Code:
      <!-- Sony PSP (PlayStation Portable) -->
      <match key="storage.vendor" string="Sony">
        <match key="storage.model" string="PSP">
          <append key="info.capabilities" type="strlist">portable_audio_player</append>
          <merge key="portable_audio_player.access_method" type="string">storage</merge>
          <merge key="portable_audio_player.type" type="string">psp</merge>
          <merge key="portable_audio_player.storage_device" type="copy_property">info.udi</merge>
          <append key="portable_audio_player.output_formats" type="strlist">audio/mpeg</append>
          <append key="portable_audio_player.output_formats" type="strlist">audio/vnd.sony.atrac3</append>
          <merge key="storage.drive_type" type="string">memory_stick</merge>
        </match>
      </match>
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Feb 06, 2007 11:54 am    Post subject: Reply with quote

Istari wrote:
Code:
svn co svn://svn.pspdev.org/psp/branches/psplinkusb


This is from my /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
Code:
      <!-- Sony PSP (PlayStation Portable) -->
      <match key="storage.vendor" string="Sony">
        <match key="storage.model" string="PSP">
          <append key="info.capabilities" type="strlist">portable_audio_player</append>
          <merge key="portable_audio_player.access_method" type="string">storage</merge>
          <merge key="portable_audio_player.type" type="string">psp</merge>
          <merge key="portable_audio_player.storage_device" type="copy_property">info.udi</merge>
          <append key="portable_audio_player.output_formats" type="strlist">audio/mpeg</append>
          <append key="portable_audio_player.output_formats" type="strlist">audio/vnd.sony.atrac3</append>
          <merge key="storage.drive_type" type="string">memory_stick</merge>
        </match>
      </match>


Thanks.

The above is the default profile which doesn't work with usbhostfs_pc. It tries to mount the PSP as a storage device, which fails, and then the system removes the device from the device list, making it inaccesible later in usbhostfs_pc.

Maybe the version in psplinkusb not only runs in user mode, but bypasses any system list, allowing it to find the PSP anyway. I'll have to try it.
Back to top
View user's profile Send private message AIM Address
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Feb 06, 2007 12:41 pm    Post subject: Reply with quote

Hal doesn't mount anything. Something like gnome-volume-manager might, using the hints provided by hal; use gnome-volume-properties to change that behavior. Either way, there's no reason the device would get removed even if a usb-storage mount failed, so if it's not showing up then there's definitely something wrong happening (or, more likely, you're just having a permissions issue; run lsusb as root to verify). Also things like having to telnet as root simply aren't true; TCP/IP sockets just don't work that way. It sounds like there's definitely some weird configuration issue on your system.
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Feb 06, 2007 3:06 pm    Post subject: Reply with quote

I was talking about running lsusb as root. It's been like I described since I can remember on every distro and every machine I've checked. What I describe is common, not the exception. Just because you've seen different behavior on one version of one distro on one machine doesn't mean there's something wrong with my system. You're just lucky.
Back to top
View user's profile Send private message AIM Address
pspwill



Joined: 17 Nov 2005
Posts: 51

PostPosted: Sun May 13, 2007 8:20 pm    Post subject: Reply with quote

After watching the Breakpoint 07 videos i wanted to try out the Remotejoy application but i cant get the PC side to compile. It complains about some undefined references. Is there a fix for this?

Thanks, Will
Back to top
View user's profile Send private message
kasikeeper



Joined: 29 Nov 2007
Posts: 36

PostPosted: Sun Apr 20, 2008 1:32 am    Post subject: Reply with quote

I want to use PSPLINK with my wifi connection which is, however, encrypted by TKIP. Does anyone know if this is possible.

I read that there is a PSPLINK version 3.0 out there which supports CFW3XX. However the given ini file does not seem to support wifi anymore.

Who knows?
Back to top
View user's profile Send private message
temas



Joined: 05 Apr 2008
Posts: 2

PostPosted: Mon Apr 21, 2008 1:06 am    Post subject: Reply with quote

I have problem with PSPlink 2.0 on 3.52M33-4. I'm trying to start self built AFKIM3.3. Its eboot.pbp works directly without problems but exits when it is started via PSPlink without any errors in logs.

pspsh log:
Code:

host0:/AFKIM3.3/> ./eboot.pbp
./eboot.pbp

Load/Start host0:/AFKIM3.3/eboot.pbp UID: 0x04DDE679 Name: "afkim"
 
host0:/AFKIM3.3/> Resetting psplink


usbhost_fs log:
Code:

Connected to device
Opening file /home/azhdanov/projects/AFKIM3.3/eboot.pbp
Opening file /home/azhdanov/projects/AFKIM3.3/eboot.pbp
Opening directory /home/azhdanov/projects/AFKIM3.3/
Opening file /home/azhdanov/projects/AFKIM3.3/pspirkeyb.ini
Opening file /home/azhdanov/projects/AFKIM3.3/keymap/targus.ini
Opening file /home/azhdanov/projects/AFKIM3.3/keymap/targus-include.ini
Opening file /home/azhdanov/projects/AFKIM3.3/keymap/targus.ini


What is the reason of termination?
Thanks.
Back to top
View user's profile Send private message
kasikeeper



Joined: 29 Nov 2007
Posts: 36

PostPosted: Fri May 16, 2008 6:53 am    Post subject: Reply with quote

I am trying to link to PSPLINK via SIO cable but I have no success. I use PSPLINK 3.0 (OE) with the following ini and then connect with a terminal programm (docklight) at 4800 baud 8n1 but whatever i type in, nothing happens. Do I need a special program to access PSPLINK?

Code:
# Example psplink configuration file.

# usbmass=[0 1] Enable USB mass storage. Set to 1 to enable automatically
usbmass=0

# usbhost=[0 1] Enable USB host file system. Set to 1 to enable automatically
usbhost=0

# pid=num Set the product ID for hostfs allows you to use multiple PSPs at one time
# Must specify the PID using the -p option of usbhostfs_pc
# pid=0x1C9

# pluser=[0 1] Enable the PSPLink user module
pluser=0

# resetonexit=[0 1] Specify wheher to reset psplink when sceKernelExitGame
# is called
resetonexit=1

# sioshell=[0 1] Specify whether to start up the sio shell
sioshell=1

# kprintf=[0 1] Specify that SIO should be used for kprintf only, setting sioshell
# to 1 overrides this setting.
kprintf=1

# wifi=[0..N] Specify wifi should be enabled, the number is the
# configuration to use if > 0
wifi=0

# wifishell=[0 1] Specify whether to start up the wifi shell
wifishell=0

# usbshell=[0 1] Specify whether to start up the usb shell
usbshell=0

# usbgdb=[0 1] Specify whether to use USB gdb or wifi gdb
usbgdb=0

# startsh=path Specify a script to run at startup
# startsh=ms0:/scripts/start.sh

# conshell=[0 1] Specify whether to start up the console shell
conshell=0

# consinterfere[0 1] Specifiy whether the consoleshell may interfere with
# programs in execution
consinterfere=0

# the commands that is run when buttons are pressed in the console shell
conscrosscmd=ld ms0:/sprite.elf
conssquarecmd=thlist
constrianglecmd=modlist
conscirclecmd=
consselectcmd=meminfo
consstartcmd=ls
consdowncmd=scrshot ms0:/scshot.bmp
consleftcmd=usbmoff
consrightcmd=usbmon
consupcmd=cop0

# prompt=... Set the psplink shell prompt
# There are some escape characters, mainly %d to print the current dir
prompt="%d> "

# path=... Set the psplink shell path
# Each path is separated by a semi-colon, you can specify up to around 128 characters
# path=ms0:/apps;ms0:/

# pcterm=[0 1] Indicates whether we are using pcterm as a client or normal
# tools
pcterm=0

# baud=[4800..115200] Set the SIO baud rate (should only use as a last resort)
# baud=115200

# modload=path Load a module on start up, repeat as necessary for more modules

# Example: load the modules for networking
# modload=flash0:/kd/ifhandle.prx
# modload=flash0:/kd/pspnet.prx
# modload=flash0:/kd/pspnet_inet.prx
# modload=flash0:/kd/pspnet_apctl.prx
# modload=flash0:/kd/pspnet_resolver.prx
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Fri May 16, 2008 9:19 am    Post subject: Reply with quote

Well assuming you are using "classic" psplink and not psplinkusb the problem might be the default baud rate is 115200 so commenting out the baud line and not setting it to 4800 isn't going to help you :P
Back to top
View user's profile Send private message
kasikeeper



Joined: 29 Nov 2007
Posts: 36

PostPosted: Sun May 18, 2008 11:33 pm    Post subject: Reply with quote

OK, I managed to connect to PSPLINK 2.0 via SIO cable - finally. However, as I want to debug a CFW3.7 application which uses the USB chotto cam I will need to use PSPLINK 3.0 which runs under 3.7X CFW. I guess the CFW1.5 PSPLINK 2.0 version would not allow me to run this app properly.

So I tried the PSPLINK OE package which is distributed the the PSPDEV distrubution by Heimdall. When I try to connect (even with a modified ini file) nothing happens and I do not get a connect. I noticed that much less files are included in this distribution. I am not sure of the following, I hope you can help me:

1) Where can I find the official PSPLINK 3.0 (OE) download

2) Can 3.7X CFW applications only be run under the PSPLINK OE version?

3) How do I connect SIO to PSPLINK OE? It does not work the same way linke on PSPLINK 2.0
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Mon May 19, 2008 3:29 am    Post subject: Reply with quote

SIO support in the latest psplink doesn't exist anymore :) You are stuff tbh :P
Back to top
View user's profile Send private message
kasikeeper



Joined: 29 Nov 2007
Posts: 36

PostPosted: Mon May 19, 2008 5:10 am    Post subject: Reply with quote

Does that mean there is no way whatsoever to debug my chotto cam application? How unfortunate as I spend 2 weeks building my sio cable ...
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Mon May 19, 2008 6:21 am    Post subject: Reply with quote

You might be still able to setup a kprintf handler and use it to output text to your sio cable, or setup a proper file driver and output printf text through it. Alternatively you could try and port the old psplink to the latest firmware, it probably isn't that hard and would primarily just involve playing with the bootstrap.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2, 3 ... 9, 10, 11
Page 11 of 11

 
Jump to:  
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