USB clock project

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
kipp8r
Posts: 2
Joined: Mon Mar 17, 2008 5:02 am

USB clock project

Post by kipp8r »

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 :)
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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. :)
kipp8r
Posts: 2
Joined: Mon Mar 17, 2008 5:02 am

Post by kipp8r »

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.

:)
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

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

Code: Select all

svn co svn://svn.ps2dev.org/ps2/trunk ps2
svn co svn://svn.ps2dev.org/ps2ware/trunk ps2ware
Post Reply