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 

PSP USB Port development

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
tkondal



Joined: 25 May 2006
Posts: 8

PostPosted: Thu May 25, 2006 4:59 am    Post subject: PSP USB Port development Reply with quote

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.
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Thu May 25, 2006 6:50 pm    Post subject: Reply with quote

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

Jim
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
KPOT0B



Joined: 09 Mar 2006
Posts: 9

PostPosted: Fri May 26, 2006 3:39 am    Post subject: Reply with quote

Its expected to connect at least camera and gps - so psp shall support both functionality(means client and host).
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri May 26, 2006 4:03 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
tkondal



Joined: 25 May 2006
Posts: 8

PostPosted: Fri May 26, 2006 11:46 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
KPOT0B



Joined: 09 Mar 2006
Posts: 9

PostPosted: Fri May 26, 2006 5:11 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Fri May 26, 2006 11:53 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
KPOT0B



Joined: 09 Mar 2006
Posts: 9

PostPosted: Sun May 28, 2006 7:19 am    Post subject: Reply with quote

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 ;)
Back to top
View user's profile Send private message
dot_blank



Joined: 28 Sep 2005
Posts: 498
Location: Brasil

PostPosted: Sun May 28, 2006 11:20 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
laichung



Joined: 06 May 2005
Posts: 123

PostPosted: Mon May 29, 2006 1:47 pm    Post subject: Reply with quote

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 ;)
Back to top
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Mon May 29, 2006 3:12 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
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