Page 12 of 109 FirstFirst ... 210111213142262 ... LastLast
Results 111 to 120 of 1082

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

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

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

    For the keypad, I plan to make a joystick driver for it. Then, just like the input profiles for Sixaxis, the joystick buttons will be mapped to real buttons (and special ones if needed)
    This will also allow different type of configurations for the keypad (like US or other country layouts; other ideas could be implemented too)

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

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

    Update:
    The UInput driver - the 2 new buttons were removed (they didn't work as I expected).
    But there are now 4 new buttons! These are the accelerometers, but digital. Just like any button in the Sixaxis has sensitive axis, the accelerometers should trigger buttons as well (for games that don't support axis)

    The modules can now be started at boot. To test out this run:
    Code:
    sudo sixad --boot-yes
    Please note that this will turn off regular bluetooth. You can still restore it in the QtSixA, or by
    Code:
    sudo /etc/init.d/bluetoooth start
    (after connecting your Sixaxis)



    I'll try to get the modules running before regular bluetooth (so both can work in harmony); But since bluetooth is somehow broken in Karmic, I can't really test this.

    If you want to disable the modules during boot, run
    Code:
    sudo sixad --boot-no
    Last edited by falkTX; July 28th, 2009 at 10:54 AM.

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

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

    Update:
    The keypad should have some basic functionality right now (normal key buttons only; thanks stingerid4)

    And basically, that's it for this update...

    Sorry I've been a little busy (my brother is about to get married and needs my help...)

    But, I'll have 3 weeks totally free! I still don't have the money to get new hardware to test&code, but fixing the bugs and adding new game profiles should keep me busy.


    See ya soon!

  4. #114
    Join Date
    Aug 2009
    Beans
    1

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

    Hey,

    I'm new to linux and just got Linux on my PS3 (after wasting 10 cd's)
    but ok i'm happy i have Kubuntu 9.04 on the PS3 and it works fine. Now i'm trying to install Sixa and did what the Tutorial said,

    sudo apt-get update && sudo apt-get install qt-sixa

    it all went good and no error till i start Sixa. "Command not found"
    and then i tried in Terminal and get this error,

    sudo: sixad-bin: command not found

    what does this mean? or what do i need to do to get it working?

    Thx in advance.

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

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

    Quote Originally Posted by MadrofieL View Post
    Hey,

    I'm new to linux and just got Linux on my PS3 (after wasting 10 cd's)
    but ok i'm happy i have Kubuntu 9.04 on the PS3 and it works fine. Now i'm trying to install Sixa and did what the Tutorial said,

    sudo apt-get update && sudo apt-get install qt-sixa

    it all went good and no error till i start Sixa. "Command not found"
    and then i tried in Terminal and get this error,

    sudo: sixad-bin: command not found

    what does this mean? or what do i need to do to get it working?

    Thx in advance.
    do in a terminal:
    Code:
    sudo apt-get install sixa-extra-modules
    It seems that your system is not installing recommended packages...? Or have downloaded and installed them by "hand"?
    Maybe because of KDE's Adept or something...

    Thanks for reporting this. Please report if installing "sixa-extra-modules" goes well,and if this makes the QtSixA work for you or not

  6. #116
    Join Date
    Sep 2006
    Beans
    23

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

    I get the following error when I try to run qt-sixa:

    Code:
    Traceback (most recent call last):  File "/usr/share/qt-sixa/gui/main.pyw", line 1216, in <module>
        QtSixA = Main_QtSixA_Window()
      File "/usr/share/qt-sixa/gui/main.pyw", line 195, in __init__
        self.func_Refresh()
      File "/usr/share/qt-sixa/gui/main.pyw", line 597, in func_Refresh
        self.listWidget.setSelectionMode(1)
    TypeError: argument 1 of QAbstractItemView.setSelectionMode() has an invalid type
    I have qt-sixa installed through the repo on Ubuntu 8.10. Did I miss something?

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

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

    Quote Originally Posted by Enjeru View Post
    I get the following error when I try to run qt-sixa:

    Code:
    Traceback (most recent call last):  File "/usr/share/qt-sixa/gui/main.pyw", line 1216, in <module>
        QtSixA = Main_QtSixA_Window()
      File "/usr/share/qt-sixa/gui/main.pyw", line 195, in __init__
        self.func_Refresh()
      File "/usr/share/qt-sixa/gui/main.pyw", line 597, in func_Refresh
        self.listWidget.setSelectionMode(1)
    TypeError: argument 1 of QAbstractItemView.setSelectionMode() has an invalid type
    I have qt-sixa installed through the repo on Ubuntu 8.10. Did I miss something?
    Are you sure you have the latest updates?

    This seems to be PyQT problem.
    Please open Synaptic, search for "python-qt4" and report the version you have installed

  8. #118
    Join Date
    Aug 2009
    Beans
    1

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

    Congrats, after many attempts to get the sixaxis to work properly on anything but my PS3, this worked immediately and flawlessly. I'll definitely consider donating.

    In the meantime I was wondering if anyone here has experience with writing software that reads this information? What I would like to do / experiment with is basically using opengl to render a cube and then use the various inputs including the motion sensors to manipulate the cube. Does anyone know of any sample projects in C/C++ or Java that I could consult?

    If I get to that point (rotate cube using sixaxis) I'll be so happy I'll donate $20! No, make that euros

  9. #119
    Join Date
    Aug 2009
    Beans
    1

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

    When I try to install sixa-extra-modules on my PS3, I get the following:

    Unpacking replacement sixa-extra-modules ...
    Setting up sixa-extra-modules (0.2a-falktx9) ...
    -m64 build flag was set
    sixad-bin: no process killed
    gcc -m64 -Wall -O2 -D_GNU_SOURCE -c -o uinputdev.o uinputdev.c
    gcc -m64 -Wall -O2 -D_GNU_SOURCE -c -o sixsrv.o sixsrv.c
    gcc uinputdev.o sixsrv.o -m64 -Wall -O2 -D_GNU_SOURCE -o sixad-bin -lbluetooth
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/powerpc-linux-gnu/4.3.3/../../../libbluetooth.so when searching for -lbluetooth
    /usr/bin/ld: skipping incompatible /usr/lib/libbluetooth.so when searching for -lbluetooth
    /usr/bin/ld: cannot find -lbluetooth
    collect2: ld returned 1 exit status
    make: *** [sixad-bin] Error 1
    cp: cannot stat `/tmp/sixa_extra/sixad-bin': No such file or directory
    rm -f uinputdev.o sixsrv.o sixad-bin

    Any idea on how to avoid this?

  10. #120
    Join Date
    Sep 2006
    Beans
    23

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

    Quote Originally Posted by falkTX View Post
    Are you sure you have the latest updates?

    This seems to be PyQT problem.
    Please open Synaptic, search for "python-qt4" and report the version you have installed
    python-qt4 version: 4.4.3-1ubuntu1

    EDIT: Looked around launchpad and saw version 4.4.4-2ubuntu1~intrepid1 was available as a backport; everything works (except using accelerometer, but I can only test this in USB mode since I don't have bluetooth on this machine) after enabling backports in software sources and upgrading.
    Last edited by Enjeru; August 8th, 2009 at 06:37 AM.

Page 12 of 109 FirstFirst ... 210111213142262 ... 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
  •