PSP USB Port development

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Locked
tkondal
Posts: 8
Joined: Thu May 25, 2006 4:00 am

PSP USB Port development

Post by tkondal »

Hi guys, I've been reading this forum for a while now; this is the first time I'm posting and hope to get some good hints and advice.

Here's what I want to do...

I saw that the PSPSDK has a set of functions for USB development (sceUSB...). I would like to know how to use these functions so that I can access a USB device attached to my PSP. I read previous posts about the USB port but couldn't get any info that related to the SDK. Let's say I have a logitech webcam attached to my PSP, how do I write a driver for it? Any help would be good.

Thanks.
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

I'm pretty sure the current thinking is the PSP is a USB client only. It can't host other USB devices.

Jim
KPOT0B
Posts: 9
Joined: Thu Mar 09, 2006 6:33 pm

Post by KPOT0B »

Its expected to connect at least camera and gps - so psp shall support both functionality(means client and host).
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

KPOT0B wrote:Its expected to connect at least camera and gps - so psp shall support both functionality(means client and host).
No no no no no no no no no no no no no no no no no no no no no no no no no!

The PSP does NOT have host capabilities. Period. End of story.

The peripherals Sony is talking of releasing for the PSP will work by having the peripheral be the host device.
Shoot Pixels Not People!
Makeshift Development
tkondal
Posts: 8
Joined: Thu May 25, 2006 4:00 am

Post by tkondal »

If that's correct, then it's too bad. The USB port feature is very limited then. I was hoping that the PSP could be used to send/receive signals (or data) through that port.
KPOT0B
Posts: 9
Joined: Thu Mar 09, 2006 6:33 pm

Post by KPOT0B »

Drakonite wrote:The PSP does NOT have host capabilities. Period. End of story.
Look at http://forums.ps2dev.org/viewtopic.php?p=39489#39489

I strongly doubt Sony will turn PSP to different functions (quite hard to implement and it is very stupid design) - as by there mic, camera, gps and etc. There is not usb host chip on board but physical interface only - to have OTG, host and function right on proc is quite simple.

Also if function only mode available the way we connecting psp to comp looks very stupid.

Do you have some insiders info?
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

Erm... you obviously know little to nothing about how usb works...

I've gone over this numerous times on the forums and on irc, so I'm not going to bother going into why it's not only trivial for sony to do things by having the psp as client and the addon devices as the hosts, or why it's actually a smart move (for them) to do so...

Nor am I going to go over the exact details of how you can know the psp is truely client only; you can search the forums for my other posts if you want to have a step by step explination.

I'm just going to say this... the PSP does not meet the specifications of a USB OTG device. If they were to try making it act as a USB-OTG device it would violate the specifications and would never pass compliance testing.

If you don't believe me then feel free to read the 100s of pages of documentation over USB specifications at http://www.usb.org


PSP is not USB-OTG okay? And gets getting really annoying to have people repeatidly bring it up and say things such as "oh it'd be cool if we made devices that _____!!111!!one" I've been leanient, as people who don't know what is going on have spread a lot of misinformation in the past, but from now on I'm treating it as the idle speculation it is and as such locking threads as per the rules of these forums.
Shoot Pixels Not People!
Makeshift Development
KPOT0B
Posts: 9
Joined: Thu Mar 09, 2006 6:33 pm

Post by KPOT0B »

I would love to discuss that here again. Cause psp has no stand alone host chip - just phy - what is in cpu nobody knows - and it might be anything. And there are phy chips which may be turned to host or func modes on fly.

btw I worked for USB since NT4 - bunch PC host drivers, bunch functions for variouse chips, couple of embedded usb cores, class drivers (include storages) and etc. if it actually sounds to you familar ;)
User avatar
dot_blank
Posts: 498
Joined: Wed Sep 28, 2005 8:47 am
Location: Brasil

Post by dot_blank »

just end this thread simply by me saying that

USB OTG uses a different cable connection/protocol
entirely different than psps mini USB B
10011011 00101010 11010111 10001001 10111010
laichung
Posts: 123
Joined: Fri May 06, 2005 2:02 pm

Post by laichung »

As you said that you have experience in USB development , may I ask you a question , can you change a USB client in SOFTWARE way to having some USB HOST functions , such as power up a USB client? Thank you.

KPOT0B wrote:I would love to discuss that here again. Cause psp has no stand alone host chip - just phy - what is in cpu nobody knows - and it might be anything. And there are phy chips which may be turned to host or func modes on fly.

btw I worked for USB since NT4 - bunch PC host drivers, bunch functions for variouse chips, couple of embedded usb cores, class drivers (include storages) and etc. if it actually sounds to you familar ;)
User avatar
Drakonite
Site Admin
Posts: 990
Joined: Sat Jan 17, 2004 1:30 am
Contact:

Post by Drakonite »

laichung wrote:As you said that you have experience in USB development , may I ask you a question , can you change a USB client in SOFTWARE way to having some USB HOST functions , such as power up a USB client? Thank you.

KPOT0B wrote:I would love to discuss that here again. Cause psp has no stand alone host chip - just phy - what is in cpu nobody knows - and it might be anything. And there are phy chips which may be turned to host or func modes on fly.

btw I worked for USB since NT4 - bunch PC host drivers, bunch functions for variouse chips, couple of embedded usb cores, class drivers (include storages) and etc. if it actually sounds to you familar ;)
No, you cannot magically turn a USB client into a USB host device using software.

This thread is going nowhere, LOCKED,
Shoot Pixels Not People!
Makeshift Development
Locked