I took some time to analyze the hci dumps I got with the sixaxis proxy.
I discovered what was preventing the sixaxis emulator to connect to an already started PS3.
The magic command is:
sudo hciconfig hci0 class 0x508
The following command gives the class of the bluetooth adapter:
hciconfig hci0 class
For ex my broadcom adapter has the following class:
Service Classes: Capturing, Telephony
Device Class: Computer, Uncategorized
After executing the command, it gets the following:
Service Classes: Unspecified
Device Class: Peripheral, Gamepad
That’s the class of a sixaxis, and for a mysterious reason, it seems that the PS3 only checks it if it’s already started!
Tip: execute this command after each hard/soft reset of the dongle.
To come: several sixaxis emulator running at the same time!
- set bluetooth dongle in slave mode, piscan, class 0x000508
I don’t know why, but I missed that each time I read this forum thread :\