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 

USB clock project

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
kipp8r



Joined: 17 Mar 2008
Posts: 2

PostPosted: Mon Mar 17, 2008 5:10 am    Post subject: USB clock project Reply with quote

Hi all,

Firstly I'm new to ps2 dev. :)

I'm working on a little project that I want to port to the PS2. Currently it runs on windows. It gets the system's time and sends it via a USB hid class to my clock device that's plugged in on the USB (basically an LED clock I made). This works great on Windows.

I've been looking around here and on search engines but cannot find much information on programming the USB on the PS2, specifically a HID device. Do any of you have advice or samples you can point me to. I notice that the ps2sdk has a usbd.h with some defs for functions.

Thanks :)
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Mar 17, 2008 7:39 am    Post subject: Reply with quote

If you get the sdk source from the repo, you'll find the mouse, keyboard, and mass storage USB drivers. If you can't write a USB driver for you own device from that, you're out of luck. :)
Back to top
View user's profile Send private message AIM Address
kipp8r



Joined: 17 Mar 2008
Posts: 2

PostPosted: Mon Mar 17, 2008 8:02 am    Post subject: Reply with quote

Thanks J.F.

I did not see these files as I had the bin release of the toolchain for Windows. This does not seem to have these examples.

I'll take a look, thanks for the quick response.

:)
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Mar 17, 2008 12:23 pm    Post subject: Reply with quote

Yeah, the source can be really useful at times. Be sure to check out both ps2 and ps2ware.

Code:
svn co svn://svn.ps2dev.org/ps2/trunk ps2
svn co svn://svn.ps2dev.org/ps2ware/trunk ps2ware
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 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