On a Linux PC, I tried to modify the bluetooth device address of some dongles:
– COM1 – broadcom chip – modification ok, but not persistent
– Linyx – ISSC chip – modification ok, but not persistent
– Cellink – CSR chip – modification ok & persistent
“Persistent” means that the modification is permanent, even after unplugging the dongle. These results are consistent with infos given there.
I didn’t found out a way to modify this address in Windows (temporarily or permanently).
I discovered that pybluez requires the widcomm bluetooth stack to work with l2cap in Windows. ISSC and CSR chips are not supported (anymore) by the widcomm stack. Only my COM1 dongle can work with the widcomm bluetooth stack (property of broadcom company).
As a result I can’t use any of these dongles with my hcpc (which runs Windows 7). I could install Linux on it, but I have a TV scheduler installed, so that it would not be possible to control the PS3 and record a TV show at the same time 🙁
I have to find another bluetooth dongle, whose bdaddr can be permanently modified, and that works with widcomm stack…
Meanwhile, I will try the hidemulator with another PC running Linux.
Asking google about the “sixaxis report frequency”, I got the answer on that forum page (seems to be down, but it is still in google cache: page1 page2) on which it is said that there is about 10ms between reports. That matches the mouse frequency in my project (100Hz), so that if the PS3 does not take more than 100 reports per second (to be tested), there is no need to increase it (ps/2 mouse maximum frequency is 200Hz).
This information is less interesting than the forum page itself. It is about using a PC to emulate a sixaxis via Bluetooth! Using a bluetooth dongle, the PC connects to the PS3 using the sixaxis’s bluetooth device address. As I have a hcpc near my PS3, and want to use the same wireless keyboard+mouse to control both, I will definitely give it a try!
– hidemulator googlecode from Brandon (python code)
– source code from Jim Paris (C code)
– how to change bluetooth device mac address (Linux)
hidemulator should work with both Linux & Windows (to be tested).
Software to install:
– python 2.6
pygame is used to get input events from mouse and keyboard. Joysticks could be used too.
I think pygame events are get from the OS (mixing all input devices: ps/2, hid…), and therefore may have been modified (accelerated mouse movements). It would probably be better to get raw data from the hid device. This can be done thanks to libhid that supports python.