Posts: 12
Joined: Mar 2009
Reputation:
0
My problem was apparently that the batteries drain due to that the remote keeps being connected unless you disconnect it with the PS-button. However, the ps3remote.py script does not recognize that the remote has shut down, and the only way to recover is to restart ps3remote.py.
I gather that ps3d.py is supposed to remedy this, but it doesn't even register the remote, paired or not.
I see now that the remote does indeed generate BT events when not paired. :o
Posts: 12
Joined: Mar 2009
Reputation:
0
freezy: It works for as long as the batteries last, and I don't disconnect it with the PS button. I am using ps3_remote.py.
Since ps3d.py listens to the unpaired traffic generated by the remote, it should work in theory, but it doesn't seem to register any traffic at all for me.
Posts: 12
Joined: Mar 2009
Reputation:
0
@pakojones: I don't have an issue with pairing (anymore), it's the power saving feature of the remote that does not work with the Event Server script.
Also, do you have to run the applet to have Blueman automatically pair your remote, or is there some kind of shell alternative?
@bluey: I'm not affected by that bug.
Posts: 20
Joined: Jun 2009
Reputation:
0
Zapa
Junior Member
Posts: 20
Have the same thing here, runnign XBMC Live 9.04.1
Running this works, I can pair the remote and everything
python /home/xbmc/EventClients/Clients/PS3\ BD\ Remote/ps3_remote.py localhost &> /etc/init.d/start_remote.log
Then I press ctrl-c and run this (as root):
python /home/xbmc/EventClients/Clients/PS3\ Sixaxis\ Controller/ps3d.py 00:21:4F:B1:1A:80 localhost &> /etc/init.d/start_remote.log
Nothing happens
After pressing ctrl-c the log file looks like this:
Connecting to Bluetooth device: 00:21:4F:B1:1A:80
Connecting to : localhost
Starting HID daemon
Traceback (most recent call last):
File "/home/xbmc/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py", line 420, in <module>
main()
File "/home/xbmc/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py", line 416, in main
start_hidd(bdaddr, ipaddr)
File "/home/xbmc/EventClients/Clients/PS3 Sixaxis Controller/ps3d.py", line 357, in start_hidd
if hid.listen():
File "/var/lib/python-support/python2.6/xbmc/bt/hid.py", line 32, in listen
(self.client_csock, self.caddress) = self.csock.accept()
File "/usr/lib/python2.6/dist-packages/bluetooth/bluez.py", line 129, in accept
client, addr = self._sock.accept ()
KeyboardInterrupt
am I doing somehting wrong here?
Posts: 12
Joined: Mar 2009
Reputation:
0
@Zapa: What are you trying to do? Without knowing what you expect to be right, we can't answer you about what is wrong.
Also, do NOT write program output to any file in /etc, EVER. /var/log or /tmp are more suitable locations for logging.
Posts: 12
Joined: Mar 2009
Reputation:
0
I don't think we have any testimonies of a working ps3d.py for the remote. Closing the ps3_remote.py script will definitely disconnect the remote from the Bluetooth stack, so it seems meaningless to start it and stop it before ps3d.py since it does not change the hardware status.
If your batteries last your entire session, I find that pressing Start + Enter every once in a while isn't such a hassle.
Posts: 216
Joined: Oct 2006
Reputation:
0
2009-06-23, 19:12
(This post was last modified: 2009-07-16, 16:38 by TREX6662k5.)
This is with the original bluetooth init.d script disabled to start bdremote before hcid and lircd. hcid modprobes rfcomm for you.
log_daemon_msg "Starting Bluetooth Remote HID"
start-stop-daemon --start --quiet --exec /usr/local/sbin/bdremoted -- -p 8888 -a 00:19:C1:5A:F1:3F -t 3
start-stop-daemon --start --quiet --exec /usr/sbin/hcid -- -x -s
start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- -H null --connect 127.0.0.1:8888
Edit /etc/bluetooth/hcid.conf to your liking (eg, disable iscan, pscan enabled, change pin etc)
Remember to pair it once
hidd --connect 00:19:C1:5A:F1:3F
If needed add this to /etc/modprobe.d/options
options hci_usb reset=1
Posts: 286
Joined: Jun 2009
Reputation:
0
menno
Senior Member
Posts: 286
I am about to buy this remote, but there seem to be these two very
imporant issues still standing.
As in
- reboot = need to re-"pair"
- battery drain = cause of no time-out
is it fixable?
Posts: 20
Joined: Jun 2009
Reputation:
0
Zapa
Junior Member
Posts: 20
well, I gave up, and got myself a MCE remote instead which worked out of the box