Controller does not auto-reconnect at boot

Bug #1331892 reported by ProfessorKaos64
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QtSixA
New
Undecided
Unassigned

Bug Description

I am making use of this wonderful software for my RetroRig project (https://github.com/ProfessorKaos64/RetroRig), but I have a small issue. It seems when I reboot, the PS3 controller doesn't pick back up in the boot process (if I am reading into this being a "service", i.e. sixad). This makes XBMC not pick up the controller when I start it sucessfull after xbmc auto loads at bootup.

Is there a way to call the "synching function" that the PS Button performs manually on bootup? Any thing I can do to remedy this behavior?

Ubuntnu 14.04
Linux test-pc 3.13.0-29-generic #53-Ubuntu SMP
Qt version: 4.8.6
PyQt version: 4.10.4
QtSixA version: 1.5.1

description: updated
Revision history for this message
ProfessorKaos64 (mdeguzis) wrote :

I actually did createa workaround. See: https://github.com/ProfessorKaos64/RetroRig/issues/33

Essentially I launch a "watcher" script at boot if users want to use the PS3 Controller with XBMC (this is until you possibly provide a workaround or explanation of what I'm doing wrong).

Code:

[code]
#!/bin/bash

clear
echo "Recconecting PS3 Controller for XBMC.."
sleep 3s

count=0

while ! grep -q "PLAYSTATION(R)3" /proc/bus/input/devices
do
    # not set, echo below fore TESTING ONLY!!!
    # set ps3_blu_complete to 0 for false
    echo "Your controller is not turned on! please press the PS3 Button!"
    sleep 3s
done

# give the controller about 3 seconds to start
sleep 3s
# fork to background
echo starting xbmc
sleep 2s
xbmc

I know I should have it /usr/bin/xbmc. I'll fix that. This is called via a modified xbmc.desktop link, so even if the user closes XBMC and finds the normal icon, its now changed to mine :) The Icon caption reads "XBMC PS3 (Custom) so users can see its changed.
[/code]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.