Page 17 of 109 FirstFirst ... 715161718192767 ... LastLast
Results 161 to 170 of 1082

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

  1. #161
    Join Date
    Apr 2009
    Beans
    19

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

    Same unpacking error output here too with i386. I even tried it on a freshly installed Ubuntu on my laptop. It seems the sixad-package (currently: sixad_0.3-falktx2_i386.deb) won't install properly. At all, really. The /etc/init.d/sixad doesn't even exist on my computer. If I run sixad on terminal, it gives this:

    Code:
    bash: sixad: command not found
    But yes, the "Start Old Modules"-method seems to work. But I also noticed some sort of performance/incompatibility issues with the qt-sixa and sound. If I have the GUI running (not even controller connected), and then play some music, the sound skips every now and then (every 5 seconds or so). Even though CPU usage is only few percents. Using ALSA.

    PS. Is anybody else having problems going to the preferences? Neither my laptop nor desktop computer would let me do that... And the laptop was a fresh install. What about the sound issues?

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

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

    Update: (changelog)
    * Really fix sixad debian rules
    * Fix QtSixA 'out-of-range' configuration file issues
    * Temporarily disabled 'Advanced'/'Signal Quality Actions' (needs some work)


    Sorry guys for the recent errors. I feel like you need an explanation, so here it is:
    When updating, sixad needs to be stopped (so the binary file can be replaced). The usuall "killall sixad" will not work, so I started using "pkill -KILL sixad" to terminate the process. The thing is, 'pkill' never prints any information, even when the process is not running. Usually that is good, but in this case it returns, silently, and exit code '-1', which make the package un-installable. To solve this I just override the output to be always "1" (or "true") - 'pkill -KILL sixad || true'. This solves the problem for sixad installation.
    However, it still doesn't compile on PowerPC because of a incompatible 'libbluetooth.so' binary file (needs to be linked to that when compiling). I think we need to re-compile bluez just to get the right file... Anyone with a PowerPC machine or PS3 is welcome to contribute

    For the QtSixA preferences, it just the configuration that is missing one last option. I actually did that about 1 month ago, but since no one reported a bug... This release fixes the configuration/preferences stuff.

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

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

    Update:

    I found a pre-compiled libbluetooth.so.3 for PPC64 in the openSUSE repos.
    Guess what? sixad compiles now for PowerPC/PS3.

    I've updated my repo and sixad should now run on PPC/PS3 machines

  4. #164
    Join Date
    Apr 2009
    Beans
    19

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

    The terminal installation gave these warnings:
    Code:
    The following packages have unmet dependencies:
      qt-sixa: Depends: sixad (>= 0.3) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    I don't know what it's called, but it added a "red circle with white horizontal line"-icon to the tray. I checked that, and it said there's one broken package that needs to be updated. It updated the sixad and qt-sixa without problems (Yay!).

    Well, the GUI started OK. I tried connecting with PS-button. No connection. I decided to check the preferences (before trying through terminal). It let me go to preferences (Yay!). Fiddled with options. Applied changes. Stopped sixad through the Tasks-menu as instructed. Exit and restart the program. It gives the "QtSixA has been updated to 0.4.2"-popup, but won't show the GUI anymore. If I run qt-sixa from the terminal, it gives this:

    Code:
    File "/usr/share/qt-sixa/gui/main.pyw", line 1899, in <module>
        QtSixA = Main_QtSixA_Window()
      File "/usr/share/qt-sixa/gui/main.pyw", line 863, in __init__
        self.createTrayIcon()
      File "/usr/share/qt-sixa/gui/main.pyw", line 1239, in createTrayIcon
        if (QtCore.qVersion() >= "4.4.0"): self.trayIcon.activated.connect(self.func_Systray_Clicked) #Not available on older versions
    AttributeError: activated
    Running sixad from terminal works, though. Luckily I disabled accelerometers etc. from the preferences when I were still able to get there, so now it recognizes the right inputs. (Or maybe it's because it seems to have enabled Gnome-profile by default or something. At least the sticks seem to emulate mouse, and buttons output keyboard presses.) Through terminal there aren't even any sound issues. (Or at least I haven't run into them yet.)

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

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

    Thanks for the report.
    This issue:
    Code:
    File "/usr/share/qt-sixa/gui/main.pyw", line 1899, in <module>
        QtSixA = Main_QtSixA_Window()
      File "/usr/share/qt-sixa/gui/main.pyw", line 863, in __init__
        self.createTrayIcon()
      File "/usr/share/qt-sixa/gui/main.pyw", line 1239, in createTrayIcon
        if (QtCore.qVersion() >= "4.4.0"): self.trayIcon.activated.connect(self.func_Systray_Clicked) #Not available on older versions
    AttributeError: activated
    is not actually an issue. You seem to be using an old PyQt version that doesn't support "activated" commands. I'm at work right now, but I'll look for a solution. Check again for the next hour and it should be fixed

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

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

    Update:
    The bug has been fixed (I think).
    Users of PyQt >=4.4 will get the double click on systray icon to show/hide main GUI. Users below 4.4 won't get this feature

  7. #167
    Join Date
    Apr 2009
    Beans
    19

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

    Hmm, still won't show the GUI. And I don't have a tray icon at all (I think I never had, really)...

    Here's the terminal output of qt-sixa:
    Code:
    Using PyQt version 4.5.0
    Traceback (most recent call last):
      File "/usr/share/qt-sixa/gui/main.pyw", line 1901, in <module>
        QtSixA = Main_QtSixA_Window()
      File "/usr/share/qt-sixa/gui/main.pyw", line 865, in __init__
        self.createTrayIcon()
      File "/usr/share/qt-sixa/gui/main.pyw", line 1241, in createTrayIcon
        if (QtCore.qVersion() >= "4.4.0") and QtCore.QT_VERSION > 0x040400: self.trayIcon.activated.connect(self.func_Systray_Clicked) #Not available on older versions
    AttributeError: activated
    My system should be updated to the latest. "python-qt4" shows its version as 4.4.4 on synaptic. Is that the package I should check?

  8. #168
    Join Date
    Aug 2009
    Beans
    12

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

    qt-sixa 0.4.2-falktx3

    Karmic, PS3 -- willing to do whatever to troubleshoot.

    Code:
    arya@lrrr:~$ sixad-bin 
    sixad-bin: error while loading shared libraries: libbluetooth.so.3: cannot open shared object file: No such file or directory
    arya@lrrr:~$ sudo apt-get install libbluetooth3
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libbluetooth3 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
    arya@lrrr:~$ locate libbluetooth.so.3
    /usr/lib/libbluetooth.so.3
    /usr/lib/libbluetooth.so.3.4.0
    arya@lrrr:~$
    *shrug*

    Edit:
    Code:
    arya@lrrr:~$ LD_LIBRARY_PATH=/usr/lib/ sixad-bin
    sixad-bin: error while loading shared libraries: libbluetooth.so.3: wrong ELF class: ELFCLASS32
    Last edited by refried; September 8th, 2009 at 03:29 AM.

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

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

    Quote Originally Posted by aatu_kanifani View Post
    Hmm, still won't show the GUI. And I don't have a tray icon at all (I think I never had, really)...

    Here's the terminal output of qt-sixa:
    Code:
    Using PyQt version 4.5.0
    Traceback (most recent call last):
      File "/usr/share/qt-sixa/gui/main.pyw", line 1901, in <module>
        QtSixA = Main_QtSixA_Window()
      File "/usr/share/qt-sixa/gui/main.pyw", line 865, in __init__
        self.createTrayIcon()
      File "/usr/share/qt-sixa/gui/main.pyw", line 1241, in createTrayIcon
        if (QtCore.qVersion() >= "4.4.0") and QtCore.QT_VERSION > 0x040400: self.trayIcon.activated.connect(self.func_Systray_Clicked) #Not available on older versions
    AttributeError: activated
    My system should be updated to the latest. "python-qt4" shows its version as 4.4.4 on synaptic. Is that the package I should check?
    That is indeed the version I needed to know. Now the problem is that, when I was using the exactly same version (fresh Jaunty install), this error doesn't occur. This is strange...

    I'm already looking for a solution, will post update soon
    Last edited by falkTX; September 8th, 2009 at 09:12 AM.

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

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

    Quote Originally Posted by refried View Post
    qt-sixa 0.4.2-falktx3

    Karmic, PS3 -- willing to do whatever to troubleshoot.

    Code:
    arya@lrrr:~$ sixad-bin 
    sixad-bin: error while loading shared libraries: libbluetooth.so.3: cannot open shared object file: No such file or directory
    arya@lrrr:~$ sudo apt-get install libbluetooth3
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libbluetooth3 is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
    arya@lrrr:~$ locate libbluetooth.so.3
    /usr/lib/libbluetooth.so.3
    /usr/lib/libbluetooth.so.3.4.0
    arya@lrrr:~$
    *shrug*

    Edit:
    Code:
    arya@lrrr:~$ LD_LIBRARY_PATH=/usr/lib/ sixad-bin
    sixad-bin: error while loading shared libraries: libbluetooth.so.3: wrong ELF class: ELFCLASS32
    I'll just include the libbluetooth I used to compile sixad, wait for update

Page 17 of 109 FirstFirst ... 715161718192767 ... 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
  •