Controller does not auto-reconnect at boot
Bug #1331892 reported by
ProfessorKaos64
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:/
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 |
To post a comment you must log in.
I actually did createa workaround. See: https:/ /github. com/ProfessorKa os64/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]