Tuesday 8 December 2009

EyePet tracking with EyeToy and PlayStation2

I bought EyePet last weekend. I have been playing with EyePet magic card and my own tracking code for PlayStation 2.

These are the result:



Next to come, mark detection and augmented reality stuff :P.

Sunday 8 November 2009

Bluetooth stack for PlayStation 2

Well, last month i was very busy at work, and without free time to dedicate to ps2 development.

Yesterday i found and old usb bluetooth dongle on my desk, and i have been reading old stuff about bluetooth in my archives. So next steps will be:

1) Usb driver for usb bluetooh dongle, it must be usb 1.1 compliant. Yesterday i had ready a little module and i have already identified bulk, intr and isoc endpoint following Specification of the Bluetooth System Wireless connections made easy Host Controller Interface [Transport Layer] documentation so the basic to speak with dongle is done :)

2) I need a bluetooth stack , i have a reference of bluez port for PlayStation 2 Linux in PlayStation 2 Linux Forum but making a port in native mode could be difficult, too much linux dependencies and i have not too much free time. Also i have seen some stuff for nintedo wiimote on libogc based on lwbt. So after some research i have 2 options:

a) Port lwbt , i believe that Herben is porting last lwip(1.3.1) and he has a new project to enable different communication methods for PlayStation consoles (ps2dev forum) , so an option would be lwbt plus making an usb transport layer for lwbt.

b) Make an userland bluetooth stack on IOP. For this i have many information to do it and also some sample code for opensolaris that i can port to PlayStation.


I believe by now i will try option b, to get PlayStation 2 speaks with bluetooth devices.

So let's code :) a new challenge to forget Oracle Identity Management crap for a while

Saturday 5 September 2009

Tracking balls

I have uploaded a little video showing a tracking ball demo using:
- eyetoy driver
- libeye
- libipu
- libgsclassic




A pdf with some history about the driver is available here
bigboss_eyetoy

Sunday 10 May 2009

Return

After one year away from playstation development, this weekend i decided to come back. My company updated my laptop a few months ago from a powermac to macbook pro, and i had not free time to update all my ps2dev environtment until now.

I got some problem compiling ps2 toolchain under leopard, checking ps2dev forum i got the same problem, after apply patch from umjammer i saw some problems:

patch change ftp://ftp.gnu.org/pub/gnu/ by $GNU_FTP/ so it does not run fine. Making the change correctly solve the problem but
you will get:
configure: error: installation or configuration problem: C compiler cannot create executables

The problem is solved with CFLAGS="-arch i386" on 001-binutils-2.14.sh, 002-gcc-3.2.2-stage1.sh

Well now i have toolchain ready and i come back to work. Next step update driver, and port all grafic stuff to ps2sdk. More to come...