SIXAXIS Controller Support
Ok, I'm just going to plagiarise this from the YDL forums, because the member who wrote it did a great job. It won't be 100% the same as his as I'll add my little bits where I feel they are needed and clean it up a bit.
If you come across this thread, Jaybps3, thank you!
There are a lot of steps, but if you follow this it shouldn't take much longer than 10 minutes.
Log on as the root user! (username: root | password: what you set the root password to be when you installed YDL)
Step 1
Go to start menu then applications then system tools and then to add remove software after it loads click on the List tab, Scroll down you will see all the bluez rpm packages install all of them.
Step 2
Go to
BlueZ - Official Linux Bluetooth protocol stack and download (bluez-libs-3.31.tar.gz) and (bluez-utils-3.31.tar.gz). Save to your desktop.
Then go here
ftp.osuosl.org :: Oregon State University Open Source Lab and download (bluez-utils-3.7-2.ydl.1.src.rpm), Save to your desktop.
Step 3
Download this patch, Right click on the link below and select save file and save it to your desktop.
http://www.pabr.org/sixlinux/patch-hidd-3.19-pabr3
Step 4
Unpack
bluez-libs-3.31.tar.gz onto your desktop, It will create a folder named
bluez-utils-3.31. To unpack, the easiest way is to just double click on it and it will open like Winzip.
Step 5
Right click on the
bluez-libs-3.31 folder and select open in terminal. And enter these commands in this order!
Code:
./configure --prefix=/usr
Step 6
Unpack
bluez-utils-3.31.tar.gz to your desktop, It will create a folder named
bluez-utils-3.31
Double click the
bluez-utils-3.31
Browse to the
hidd folder and open it
Copy and paste
patch-hidd-3.19-pabr3 (you saved it to your desktop earlier) into the folder, Then go back and right click on the (hidd) folder select open in terminal.
Run this command
Code:
patch <patch-hidd-3.19-pabr3
It should return with
patching main.c
Close the terminal
Open up the
bluez-utils-3.31 folder
Browse to the
hidd folder,
Right click on the main.c file
Select copy
Right click on an empty space on your desktop and select paste to paste it onto your desktop.
You can now delete the (bluez-utils-3.31.tar.gz) and (bluez-utils-3.31) files/folders they are no longer needed.
Step 7
Create a folder on your desktop called
bluez-utils-3.7-2.dl.1.src.rpm_FILES (if you're using the Winzip-style unpacker. If using the terminal it will be created for you.
Unpack the
bluez-utils-3.7-2.ydl.1.src.rpm to the new folder
Open the
bluez-utils-3.7-2.dl.1.src.rpm_FILES folder and find
bluez-utils-3.7.tar.gz
Right click on it and select extract here, it will create a folder named
bluez-utils-3.7
Open the
bluez-utils-3.7 folder and then the
hidd folder
Look for the
main.c file and delete it
Copy/Paste the
main.c file that you placed on your desktop in the previous steps into the
hidd folder to replace the main.c file deleted from it.
Step 8
Open up the
bluez-utils-3.7-2.dl.1.src.rpm_FILES folder, and browse to
bluez-utils-3.7
Right click on the folder and select open in terminal. Now run these commands!
Code:
./configure --prefix=/usr
Step 9
Open the terminal and enter these commands. Remember also to do everything in order.
Note: If you aren't logged in as Root, these will not work at first. You must use the
su - command before these.
Code:
service bluetooth stop
Step 10
If you are logged in as root:
Open the Computer icon and select File System
Browse to the
ect folder
Then browse to the
bluetooth folder
Now right click on the (hcid.conf) file and select open with text editor.
If you are logged in under your own username instead of root, open the terminal and type the following:
Code:
su -
<password>
gedit /etc/bluetooth/hcid.conf
Browse down the config file until you see the lines:
Code:
# Inquiry and page scan
Iscan enable; Pscan enable;
You need to edit it to look like this. You can copy and paste this if you want.
Code:
# Inquiry and page scan
Iscan disable; Pscan enable;
#auth enable;
#encrypt enable;
Save the changes and go back to the terminal and enter these commands!
Code:
service bluetooth start
Code:
hidd --server --nocheck -n
after you enter the last command press the ps button on your ps3 controller you can press it on 2 controllers if you want. It should show the information on them now you can close the terminal your sixaxis is working in bluetooth mode!
You can run this command in the terminal to test that its working.
Code:
jstest /dev/input/js0
Or
Code:
jstest /dev/input/js1
or
Code:
jstest /dev/input/js2
depending on whether or not you already have a joystck installed as js0/js1/js2 and so on!
Enjoy!
The only minor issue I've come across is that there's no way of knowing which controller is player 1 or player 2, since all the lights continue blinking even though they are connected and working. Again, a very minor issue.