Page 1 of 109 1231151101 ... LastLast
Results 1 to 10 of 1082

Thread: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

  1. #1
    Join Date
    Nov 2007
    Location
    Portugal
    Beans
    1,155

    HOW-TO: Connect Sixaxis to Ubuntu through bluetooth mode

    Intro:
    After the BlueZ stack was updated to 4.xx, Sixaxis joysticks (from Sony PS3 console) stop working. There's some people on the bluez team working to make it work, but it seems that it could take a while.
    So I decided to create a simple GUI that would use some patched 'hidd' that allows to connect Sixaxis to a Linux PC "out-of-the-box".

    The app is called 'QtSixA' (It will be in 'Apps' -> 'Utils' -> 'QtSixA'). The GUI is now complete and has been tested to work in 32, 64bit and PowerPC/PS3 computers.



    Installation:
    If you're not running from a PS3 (or any PowerPC machine), add the repo by running this command:
    For Ubuntu 9.10 or upwards:
    Code:
    sudo add-apt-repository ppa:falk-t-j/qtsixa
    For Ubuntu Jaunty or Intrepid, add QtSixA PPA to the Software Sources: (replace UBUNTU_VERSION by "jaunty" or "intrepid")
    Code:
    deb http://ppa.launchpad.net/falk-t-j/qtsixa/ubuntu UBUNTU_VERSION main
    Then can you install it by opening a terminal and type:
    Code:
    sudo apt-get update && sudo apt-get install qtsixa
    For PS3 users, DEBs can be downloaded here: https://sourceforge.net/projects/qtsixa/files/

    If you are using Natty (11.04), please check this first:
    http://ubuntuforums.org/showpost.php...&postcount=885


    Screenshot: (Old)
    http://kde-apps.org/CONTENT/content-pre1/107197-1.jpeg


    Bugs or feature requests:
    Use the links in the QtSixA GUI (menu "Help" -> "Web Links")


    About the Code:
    The GUI is written in PyQt (python-qt4) and uses 'sixad' (written in C++) to connect through bluetooth or a hidraw device. They're both released under the GPL v2 license and you can get the source code here:
    https://sourceforge.net/projects/qtsixa/files/



    You can check recent posts at page 89
    Last edited by falkTX; June 18th, 2011 at 04:13 PM. Reason: natty

  2. #2
    Join Date
    Nov 2007
    Location
    Portugal
    Beans
    1,155

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

    Update:
    The main tab on the GUI now displays the connected Sixaxis and curretly set profile.

    I've been attempting to set the repo as trusted and I'm close to it. If you note something when updating sources, it's normal;
    I think the repo should be trusted before the end of the month
    Last edited by falkTX; June 18th, 2009 at 01:59 PM.

  3. #3
    Join Date
    Feb 2007
    Beans
    303
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

    Hi, first I want to thank you for your dedicated and hard work.

    Ive installed the sixa from your repo and started it. Unfortunately it cannot detect my ps3 controller.

    Its plugged in via usb and all its lights are flashing, yet no detection.
    Also tried it unplugged (therefore using bluetooth), still nothing.
    Last edited by Psyphre; June 19th, 2009 at 01:44 AM.

  4. #4
    Join Date
    Nov 2007
    Location
    Portugal
    Beans
    1,155

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

    Quote Originally Posted by Psyphre View Post
    Hi, first I want to thank you for your dedicated and hard work.

    Ive installed the sixa from your repo and started it. Unfortunately it cannot detect my ps3 controller.

    Its plugged in via usb and all its lights are flashing, yet no detection.
    Also tried it unplugged (therefore using bluetooth), still nothing.
    Go to the advanced tab and check "I know what I'm doing"
    Try the sixpair setup
    (Note: in this setup you'll pair your Sixaxis to the bluetooth stick in USB mode, so please plug the bluetooth stick/device/pen into a USB port as well as the Sixaxis.)
    Run that setup and post the sixaxis report at the end

  5. #5
    Join Date
    Nov 2007
    Location
    Portugal
    Beans
    1,155

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

    Update:
    New version brings control (disconnect only, yet) to the list of connected sixaxis.
    Also some minor adjustments to the GUI and setups

  6. #6
    Join Date
    Nov 2007
    Location
    Portugal
    Beans
    1,155

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode


  7. #7
    Join Date
    Feb 2007
    Beans
    303
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

    Quote Originally Posted by falkTX View Post
    Go to the advanced tab and check "I know what I'm doing"
    Try the sixpair setup
    (Note: in this setup you'll pair your Sixaxis to the bluetooth stick in USB mode, so please plug the bluetooth stick/device/pen into a USB port as well as the Sixaxis.)
    Run that setup and post the sixaxis report at the end
    Gave that a try but no luck. The report is this:

    Current Bluetooth master: 00:09:dd:50:5a:a4
    Setting master bd_addr to 00:09:dd:50:5a:a4

    Still no sixa controller in the list.
    The bluetooth usb dongle is in and the ps3 controller is plugged in via usb aswell. I pressed the PS button before pairing.


    EDIT!
    No wait it works. I didnt realise I had to the advanced mode then do the normal Sixa pairing (without USB) AFTER doing a USB pair. Works brilliant. Great job!
    Last edited by Psyphre; June 19th, 2009 at 03:56 PM.

  8. #8
    Join Date
    May 2007
    Beans
    6

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

    not working for me

    sl1pkn07@SpinFlo:~/Downloads$ sixa-gui
    Traceback (most recent call last):
    File "/usr/share/sixa/gui/main.pyw", line 620, in <module>
    SixA = Main_SixA_Window()
    File "/usr/share/sixa/gui/main.pyw", line 18, in __init__
    uic.loadUi("/usr/share/sixa/gui/main.ui", self)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/__init__.py", line 106, in loadUi
    return loader.DynamicUILoader().loadUi(uifile, baseinstance)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/Loader/loader.py", line 22, in loadUi
    return self.parse(filename)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 690, in parse
    actor(elem)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 538, in createUserInterface
    self.traverseWidgetTree(elem)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 516, in traverseWidgetTree
    handler(self, child)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 163, in createWidget
    self.traverseWidgetTree(elem)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 516, in traverseWidgetTree
    handler(self, child)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 320, in createLayout
    self.traverseWidgetTree(elem)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 516, in traverseWidgetTree
    handler(self, child)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 340, in handleItem
    self.traverseWidgetTree(elem)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 516, in traverseWidgetTree
    handler(self, child)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 320, in createLayout
    self.traverseWidgetTree(elem)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 516, in traverseWidgetTree
    handler(self, child)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 340, in handleItem
    self.traverseWidgetTree(elem)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 516, in traverseWidgetTree
    handler(self, child)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 163, in createWidget
    self.traverseWidgetTree(elem)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 516, in traverseWidgetTree
    handler(self, child)
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 167, in createWidget
    widget.setSortingEnabled(self.sorting_enabled)
    AttributeError: setSortingEnabled
    sl1pkn07@SpinFlo:~/Downloads$

    python-qt4 v4.4.4 installed

  9. #9
    Join Date
    Nov 2007
    Location
    Portugal
    Beans
    1,155

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

    Quote Originally Posted by sl1pkn07 View Post
    not working for me

    sl1pkn07@SpinFlo:~/Downloads$ sixa-gui
    Traceback (most recent call last):
    File "/usr/share/sixa/gui/main.pyw", line 620, in <module>
    SixA = Main_SixA_Window()
    ....
    File "/usr/lib/python2.6/dist-packages/PyQt4/uic/uiparser.py", line 167, in createWidget
    widget.setSortingEnabled(self.sorting_enabled)
    AttributeError: setSortingEnabled
    sl1pkn07@SpinFlo:~/Downloads$

    python-qt4 v4.4.4 installed

    Seems to be missing the 'UIC' python modules.
    Thanks for the report, I'll see what I can do

  10. #10
    Join Date
    Nov 2007
    Location
    Portugal
    Beans
    1,155

    Re: HOW-TO: Connect Sixaxis to Ubuntu trough bluetooth mode

    Update: (copied from changelog)
    * On 'list of Sixaxis' the "Info" buttons is now available (when a Sixaxis is connected)
    * New progress bar near the 'list of Sixaxis' shows currently selected Sixaxis' signal quality
    * Auto-uncheck "Use Sixaxis as Mouse/Keyboard" when no profile is set in the system
    * Removed XBMC profile
    [New versions of XBMC have a built-in Sixaxis profile. Using a custom profile just messes around with XBMC]
    * More "Small fixes for small things"

Page 1 of 109 1231151101 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •