Go Back   PS3Hax - Sony Fears Us > OtherOS Resources > Tutorials
Tutorials This is how we do it. We like to prove our work here.

Reply
 
LinkBack Thread Tools

Enable Bluetooth in YDL 6.0!!!
  #1 (permalink)  
Old 09-07-2008, 09:46 AM
Jouchan is offline
Hey ... I posted a message
 
Join Date: Sep 2008
Posts: 1
Default Enable Bluetooth in YDL 6.0!!!

Why the heck would you want to do this? To use your sixaxis controllers on your linux snes emulation!! am posting this info that I found on another site as I will take no credit for this, (you can credit me for bringing it to you though! tee-hee). Enjoy! Oh and make sure you get the exact same version of the software that the author lists below. One more thing... google "Snes controller" in case you forgot what the button config looks like on it so you can map your buttons accordingly... Have fun!

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 [Please register to see this link. ] and download (bluez-libs-3.31.tar.gz) and (bluez-utils-3.31.tar.gz). Save to your desktop.

Then go here [Please register to see this link. ] 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.
[Please register to see this link. ]

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
Code:

make clean
Code:

make all
Code:

make install

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

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
Code:

make clean
Code:

make all
Code:

make install

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
Code:

service hidd 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 -


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 hidd start
Code:

service bluetooth start
Code:

service hidd stop
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.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 09-15-2008, 07:11 PM
thiago001 is offline
I'm Moving On Up ...
 
Join Date: Sep 2008
Posts: 3
Default

cannot get bluez-utils-3.7-2.ydl.1.src.rpm anymore doesanyone have this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying Memory Card Install of YDL 6.0 Laph9979 Yellow Dog Linux 6 10-22-2008 01:40 AM
YDL 6.0 up and running with wireless keyboard kimish Yellow Dog Linux 5 10-02-2008 11:56 PM
run things in ydl 6.0 scarface112 Yellow Dog Linux 2 09-18-2008 01:10 PM
Ydl 6.0 Zoned Yellow Dog Linux 57 04-22-2008 10:19 PM
Repos for YDL 6.0 H.axen Yellow Dog Linux 3 03-20-2008 04:06 PM



All times are GMT -5. The time now is 01:26 PM.

vB skin by: eXtremepixels
Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
 SEO by 3.0.0
© PS3Hax.com 2007 & 2008