Monday, October 4, 2010

A quick update on a few things...

First of all, Visual Studio Express 2010 sucks! If you're thinking about upgrading, don't do it. I spent all day yesterday trying to get some code working, and if I had been using 2008 it would have been a lot easier. So, I'm downloading and installing it right now.

Secondly, I found out something neat in regards to Matlo's diy ps3 controller software. If you haven't found a dongle that is capable of having it's bdaddr changed, check this out. I was checking out a bluetooth dongle earlier that had a Broadcom chipset. When I ran the bdaddr command to change the address, the output said that the address was successfully changed and running bdaddr again showed that the change was successful. However, after unplugging the dongle and then plugging it back in, the bdaddr had reverted to the original address. Included in the bluez file that you download is a command called hciconfig that, among other things, has a reset command that you can use to reset any dongle that you have connected. After setting the bdaddr of the dongle to match the bdaddr of the controller, doing a soft reset with hciconfig doesn't cause the dongle's bdaddr to revert and you should be able to build and launch emu and emuclient from the diyps3controller source. If you aren't sure how to use hciconfig to reset a dongle, just use the command below. Of course, the dongle's address will revert the next time the computer is reset or if you remove the dongle from the USB port.

sudo hciconfig hci0 reset

No comments:

Post a Comment