Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th September 2008, 04:27 AM
uncholowapo's Avatar
uncholowapo Offline
Registered User
 
Join Date: Apr 2008
Location: /home/couch/PS3
Age: 21
Posts: 216
[FC9]How To Connect Your Sixaxis over Bluetooth On A Non-PS3 Host

First make sure your PS3 is turned off from the back! The first few times I tried it, my PS3 kept turning on. Also make sure you have libusb-devel installed and have your Bluetooth dongle, adapter, or whatever connected already.
Code:
sudo yum install libusb libusb-devel
It is necessary for when you pair your Sixaxis over USB cable because the controller can't be paired like a conventional Bluetooth product. It is argueably supposed to be "more secure". I disagree but anyways.

Next, download the sixpair.c command line utility. This will search all USB ports and check if a Sixaxis is connected. If it is, it will pair with it.
Code:
wget http://pabr.org/sixlinux/sixpair.c
Compile it with:
Code:
gcc -o sixpair sixpair.c -lusb
You should get a binary where in your home folder named sixpair. What I did is move this binary to my /usr/bin folder so I can just do everthing as root.
Code:
sudo mv sixpair /usr/bin
Ok we are ready to get connected. Make yourself root by using the su - command.
Code:
su -
password:
Restart your Bluetooth service:
Code:
service bluetooth restart
Connect your Sixaxis and run the pairing utility "sixpair":
Code:
sixpair
and you should get something like this:
Code:
[root@localhost ~]# sixpair
Current Bluetooth master: 00:0a:3a:59:99:21
Setting master bd_addr to 00:0a:3a:59:99:21
[root@localhost ~]#
Disconnect your Sixaxis and restart the HIDP daemon:
Code:
killall hcid
hidd --server --nocheck -n
Press the PS button and you should see something like this:
Code:
[root@localhost ~]# hidd --server --nocheck -n
hidd[6675]: Bluetooth HID daemon
hidd[6675]: New HID device 00:1B:FB:78:FD:55 (Sony Computer Entertainment Wireless Controller)
Now open a new terminal and check to see if the buttons register when you press them:
Code:
jstest /dev/js0<----(change the number if you already have a joystick plugged in)
If that doesn't work use:
Code:
jstest /dev/input/js0<----(again change the number if you have a joystick connected)
You should see a huge list of numbers that change everytime that you press a button or move an analog stick. And there you have it, Sixaxis over bluetooth.

I want to give every piece of credit to the guy who could make this possible. This is where I got all of this from.

Now there is one thing that I would like to point out. If you have the RTL8187B "Integrated" USB Adapter, libusb-devel will kill your connection with it. It took me a long time to realize this, and found out when I installed the Windows version on Vista and I lost my wireless connection. I just install it when I want to connect my Sixaxis and uninstall it when I am not using my Sixaxis. Not the best solution but it works.
Reply With Quote
Reply

Tags
bluetooth, connect, fc9how, host, nonps3, sixaxis

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't connect to phones with bluetooth ACiD GRiM Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 3 31st May 2009 07:52 PM
Sixaxis via BT on non-PS3 host Eddd Hardware & Laptops 7 10th August 2008 08:25 AM
Linux Samba Host - Mac OS X Client GUI not connect gandalf2041 Servers & Networking 7 20th July 2006 04:52 PM
FTP Issue: connect: No route to host Fungi2003 Using Fedora 5 9th June 2005 04:15 PM
Able to connect but can't surf, ping or host. pueyguan Servers & Networking 4 19th December 2003 05:38 PM


Current GMT-time: 00:07 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat