2010-05-08, 19:08
Hey I followed these steps.
But I'm having an issue pairing the remote.
Upon running ps3 pair and pressing the remote buttons I get these errors.
And when I try run sudo /usr/share/doc/bluez/examples/list-devices I get this mess.
Despite hcitool scan picking up my bluetooth device just fine.
BTW I'm running lucid, if that's an issue.
But I'm having an issue pairing the remote.
kitlaan Wrote:
- Install PPA: kitlaan PPA.
- Update and upgrade at least the bluez package. Also install the python-bluez package.
- Make sure the uinput kernel module is loaded. If not, run sudo modprobe uinput and add "uinput" to the file /etc/modules.
- Get the pairing program ps3_pair.tar.gz. Extract the archive (tar xvf ps3_pair.tar.gz) and run the script (python ps3_pair.py), while holding the ENTER and START keys on the remote for 7+ seconds. It should detect the remote.
- Run "/usr/share/doc/bluez/examples/list-devices" to verify that the remote is paired (and connected). Also, running "cat /proc/bus/input/devices | grep emot" should show the remote.
- Customize the file "/etc/bluetooth/input.conf" for button mappings and timeout values.
- At this point, the remote should connect (and auto-disconnect after a timeout, if configured). The d-pad is probably the best way to test it within xbmc. If you have a terminal active, pressing the number buttons should type the number.
Upon running ps3 pair and pressing the remote buttons I get these errors.
Code:
from: can't read /var/mail/bluez.Manager
./ps3_pair.py: line 7: syntax error near unexpected token `('
./ps3_pair.py: line 7: `def handler(signum, frame):'
And when I try run sudo /usr/share/doc/bluez/examples/list-devices I get this mess.
Code:
[ /org/bluez/7234/hci0 ]
Traceback (most recent call last):
File "/usr/share/doc/bluez/examples/list-devices", line 37, in <module>
properties = adapter.GetProperties()
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetProperties" with signature "" on interface "org.bluez.Adapter" doesn't exist
Despite hcitool scan picking up my bluetooth device just fine.
BTW I'm running lucid, if that's an issue.