• 1
  • 33
  • 34
  • 35(current)
  • 36
  • 37
  • 56
[LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS
Something must be wrong because the batteries on my PS3 remote seem to run out about once every week. Is anyone else having the same problem ?
Before XBMC I used the remote with PS3 (just as much per day as I use it now with Eeebox/XBMC) and I had to change the batteries maybe twice a year, and now once every week so the difference is huge !
Anyone have a clue what could cause it ? I changed the IdleTimeout=1 in
/etc/bluetooth/input.conf but that's all that I can think of...

Any advice would be greatly appreciated Big Grin
Reply
yeah i get about a week also.
Reply
I get 3 months when set to 300 seconds timeout.

I frequently watch stuff on XBMC, but the remote usually sits idle when i'm watching stuff. It depends on how often you use the remote.
Reply
hmm something is messed up now.

bluetoothhd command not found since installing lucid

Huh
Reply
hi guys. everything is working fine while watching movies, xbmc, etc. I've gone step by step by the wiki.

The only problem i'm having is i cant seem to get the remote to wake from idle when i'm in an emulator. watching a movie it'll wake from idle, idle in xbmc will wake the remote as well. but after the idle time out in an emulator the remote wont wake. Anyone know how i can findout what is causing this?
Reply
anyone who had problems waking up through the ps3 remote from a suspended state:

Code:
sudo cat /sys/bus/usb/devices/x-y.z/power/wakeup
echo enabled | sudo tee > /sys/bus/usb/devices/x-y.z/power/wakeup

replace x-y.z with the node the bluetooth dongle is located. also make sure the usb host's power wakeup setting is enabled:

Code:
sudo cat /proc/acpi/wakeup
echo USBx | sudo tee > /proc/acpi/wakeup

replace USBx with your actual usb port name as outputted by /proc/acpi/wakeup

once that works, put the echo commands into your /etc/rc.local to have it enabled on boot.

works like a charm now for me (using a cheap usb dongle).
Reply
Can you add this to the Wiki please Smile
Running XBMC on my HTPC, tablet, phone and pinball machine.
Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. For troubleshooting and bug reporting, make sure you read this first.
Reply
heldchen Wrote:anyone who had problems waking up through the ps3 remote from a suspended state:

Code:
sudo cat /sys/bus/usb/devices/x-y.z/power/wakeup
echo enabled | sudo tee > /sys/bus/usb/devices/x-y.z/power/wakeup

replace x-y.z with the node the bluetooth dongle is located. also make sure the usb host's power wakeup setting is enabled:

Code:
sudo cat /proc/acpi/wakeup
echo USBx | sudo tee > /proc/acpi/wakeup

replace USBx with your actual usb port name as outputted by /proc/acpi/wakeup

once that works, put the echo commands into your /etc/rc.local to have it enabled on boot.

works like a charm now for me (using a cheap usb dongle).

Wait, so with this I can wake my HTPC up by pushing any button on my PS3 BDRemote while its in a suspended state?
Reply
TREX6662k5 Wrote:Wait, so with this I can wake my HTPC up by pushing any button on it from a suspended state?

works fine with my bluetooth dongle, the ps3 remote and ubuntu (lucid & maverick): i press one of the remote's button a few secs, and the previously suspended system begins resuming. it only works with "suspend", not with "hibernate", obviously. donno if the bluetooth dongle also needs to support it - i got a cheap, generic €5 dongle.
Reply
I followed the Wiki, but am having NO Joy getting my ps3 remote working with XBMC. I tried the simple test program from : http://h00s.net/site/ubuntu/using-ps3-bd...ntu-linux/ and it works just fine, happily reporting button presses.

I can pair without errors using ps3_pair.py

But, the output from : /usr/share/doc/bluez/examples/list-devices

Code:
[ /org/bluez/1139/hci0 ]
    Name = xbmc-bedroom-0
    Powered = 1
    Devices = dev_00_19_C1_2B_2D_8E
    DiscoverableTimeout = 0
    PairableTimeout = 0
    Discoverable = 0
    Address = 00:1F:81:00:00:AC
    Discovering = 0
    Pairable = 1
    Class = 4718848
    UUIDs = 0x1112 0x111f 0x110a 0x110c 0x110e
    [ /org/bluez/1139/hci0/dev_00_19_C1_2B_2D_8E ]
        Name = BD Remote Control
        Paired = 0
        Adapter = /org/bluez/1139/hci0
        Alias = BD Remote Control
        Connected = 0
        UUIDs = 0x1124 0x1200
        Address = 00:19:C1:2B:2D:8E
        Class = 0x00250c
        Trusted = 1
        Blocked = 0
Reply
I tried hcitools commands but nothing made a difference. This is the output from bluetoothd -nd if i start it and then insert the dongle.

Code:
bluetoothd[2632]: Bluetooth deamon 4.69
bluetoothd[2632]: src/main.c:parse_config() parsing main.conf
bluetoothd[2632]: src/main.c:parse_config() discovto=0
bluetoothd[2632]: src/main.c:parse_config() pairto=0
bluetoothd[2632]: src/main.c:parse_config() pageto=8192
bluetoothd[2632]: src/main.c:parse_config() name=%h-%d
bluetoothd[2632]: src/main.c:parse_config() class=0x000100
bluetoothd[2632]: src/main.c:parse_config() discov_interval=0
bluetoothd[2632]: src/main.c:parse_config() Key file does not have key 'DeviceID'
bluetoothd[2632]: Starting SDP server
bluetoothd[2632]: src/plugin.c:plugin_init() Loading builtin plugins
bluetoothd[2632]: src/plugin.c:add_plugin() Loading audio plugin
bluetoothd[2632]: src/plugin.c:add_plugin() Loading input plugin
bluetoothd[2632]: src/plugin.c:add_plugin() Loading serial plugin
bluetoothd[2632]: src/plugin.c:add_plugin() Loading network plugin
bluetoothd[2632]: src/plugin.c:add_plugin() Loading service plugin
bluetoothd[2632]: src/plugin.c:add_plugin() Loading hciops plugin
bluetoothd[2632]: src/plugin.c:add_plugin() Loading storage plugin
bluetoothd[2632]: src/plugin.c:plugin_init() Loading plugins /usr/lib/bluetooth/plugins
bluetoothd[2632]: src/plugin.c:add_plugin() Loading netlink plugin
bluetoothd[2632]: plugins/service.c:register_interface() path /org/bluez/2632/any
bluetoothd[2632]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/2632/any
bluetoothd[2632]: Starting experimental netlink support
bluetoothd[2632]: Failed to find Bluetooth netlink family
bluetoothd[2632]: Failed to init netlink plugin
bluetoothd[2632]: network/manager.c:read_config() /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity'
bluetoothd[2632]: network/manager.c:read_config() Config options: Security=true
bluetoothd[2632]: input/manager.c:input_manager_init() input.conf: Key file does not have key 'IdleTimeout'
bluetoothd[2632]: Loading PS3 Remote Map...
bluetoothd[2632]: audio/unix.c:unix_init() Unix socket created: 8
bluetoothd[2632]: audio/manager.c:audio_manager_init() audio.conf: Key file does not have key 'AutoConnect'
bluetoothd[2632]: audio/headset.c:telephony_ready_ind() Telephony plugin initialized
bluetoothd[2632]: audio/headset.c:print_ag_features() HFP AG features: "Ability to reject a call" "Enhanced call status" "Extended Error Result Codes"
bluetoothd[2632]: src/main.c:main() Entering main loop
bluetoothd[2632]: HCI dev 0 registered
bluetoothd[2632]: plugins/hciops.c:init_device() child 2635 forked
bluetoothd[2632]: src/adapter.c:btd_adapter_ref() 0x2168ec80: ref=1
bluetoothd[2632]: src/rfkill.c:rfkill_event() RFKILL event idx 2 type 2 op 0 soft 0 hard 0
bluetoothd[2632]: src/rfkill.c:rfkill_event() RFKILL event idx 2 type 2 op 2 soft 0 hard 0
bluetoothd[2632]: src/rfkill.c:rfkill_event() RFKILL unblock for hci0
bluetoothd[2632]: HCI dev 0 up
bluetoothd[2632]: Starting security manager 0
bluetoothd[2632]: src/adapter.c:adapter_start() Adapter /org/bluez/2632/hci0 without an address
bluetoothd[2632]: src/adapter.c:btd_adapter_set_class() Changing Major/Minor class to 0x000100
bluetoothd[2632]: plugins/service.c:register_interface() path /org/bluez/2632/hci0
bluetoothd[2632]: plugins/service.c:register_interface() Registered interface org.bluez.Service on path /org/bluez/2632/hci0
bluetoothd[2632]: network/manager.c:network_server_probe() path /org/bluez/2632/hci0
bluetoothd[2632]: src/adapter.c:btd_adapter_ref() 0x2168ec80: ref=2
bluetoothd[2632]: network/server.c:server_register() Registered interface org.bluez.NetworkServer on path /org/bluez/2632/hci0
bluetoothd[2632]: serial/manager.c:proxy_probe() path /org/bluez/2632/hci0
bluetoothd[2632]: src/adapter.c:btd_adapter_ref() 0x2168ec80: ref=3
bluetoothd[2632]: serial/proxy.c:proxy_register() Registered interface org.bluez.SerialProxyManager on path /org/bluez/2632/hci0
bluetoothd[2632]: src/adapter.c:btd_adapter_ref() 0x2168ec80: ref=4
bluetoothd[2632]: audio/manager.c:headset_server_probe() path /org/bluez/2632/hci0
bluetoothd[2632]: src/adapter.c:btd_adapter_ref() 0x2168ec80: ref=5
bluetoothd[2632]: audio/manager.c:audio_adapter_ref() 0x2168e948: ref=1
bluetoothd[2632]: audio/manager.c:headset_server_init() audio.conf: Key file does not have key 'Master'
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10000
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000003-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001108-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001112-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001203-0000-1000-8000-00805f9
bluetoothd[2632]: audio/headset.c:headset_config_init() audio.conf: Key file does not have key 'SCORouting'
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10001
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000003-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000111e-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000111f-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001203-0000-1000-8000-00805f9

{Cut Audio Manager stuff}

bluetoothd[2632]: audio/avdtp.c:avdtp_init() audio.conf: Key file does not have key 'Master'
bluetoothd[2632]: audio/avdtp.c:avdtp_register_sep() SEP 0x21690330 registered: type:0 codec:0 seid:1
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10002
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000019-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110a-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110d-0000-1000-8000-00805f9
bluetoothd[2632]: audio/manager.c:avrcp_server_probe() path /org/bluez/2632/hci0
bluetoothd[2632]: audio/manager.c:audio_adapter_ref() 0x2168e948: ref=3
bluetoothd[2632]: audio/control.c:avrcp_register() audio.conf: Key file does not have key 'Master'
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10003
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000017-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110c-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110e-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Adding record with handle 0x10004
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000017-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00000100-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 00001002-0000-1000-8000-00805f9
bluetoothd[2632]: src/sdpd-service.c:add_record_to_server() Record pattern UUID 0000110e-0000-1000-8000-00805f9
bluetoothd[2632]: ioctl(HCIUNBLOCKADDR): Invalid argument (22)
bluetoothd[2632]: src/device.c:device_create() Creating device /org/bluez/2632/hci0/dev_00_19_C1_2B_2D_8E
bluetoothd[2632]: src/device.c:device_create() Device /org/bluez/2632/hci0/dev_00_19_C1_2B_2D_8E has vendor=0x054c product=0x0306 version=0x0100
bluetoothd[2632]: src/device.c:btd_device_ref() 0x216913a8: ref=1
bluetoothd[2632]: src/device.c:device_probe_drivers() Probe drivers for /org/bluez/2632/hci0/dev_00_19_C1_2B_2D_8E
bluetoothd[2632]: src/device.c:device_probe_drivers() Driver match input-hid for /org/bluez/2632/hci0/dev_00_19_C1_2B_2D_8E
bluetoothd[2632]: input/manager.c:hid_device_probe() path /org/bluez/2632/hci0/dev_00_19_C1_2B_2D_8E
bluetoothd[2632]: src/device.c:btd_device_ref() 0x216913a8: ref=2
bluetoothd[2632]: input/device.c:input_device_new() Registered interface org.bluez.Input on path /org/bluez/2632/hci0/dev_00_19_C1_2B_2D_8E
bluetoothd[2632]: Adapter /org/bluez/2632/hci0 has been enabled
bluetoothd[2632]: plugins/hciops.c:child_exit() child 2635 exited

lsusb shows:

Code:
Bus 004 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

This is on dharma 2 live, so I can't run blueman as I haven't found a way to get it to run under the live image. Any suggestions?
Reply
Hello all,

I also have the problem to get the ps3 remote working on XBMC live.
I try to give as much details so it can be helpfull for others when they have the same problem:

XBMC: xbmc-Dharma_beta4-live
BLUETOOTH DONGLE: Sitecom CN-516/523 v1 001


I followed the wiki

Firt i patched bluez myself but then this cmd does not work:
cat /proc/bus/input/devices | grep emot

So i tried kitlaan's PPA and then that cmd does work.

It does pair. I am reading this forum for a couple of hours now, and when checking post 330 by ' menno' i see that he have exact the same problem.

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@XBMCLive:~/ps3pair# lsmod | grep uinput
uinput 6312 1
root@XBMCLive:~/ps3pair# sudo python ps3_pair.py
Please HOLD the START and ENTER buttons on the PS3 remote.
Searching for devices, please wait...
Found:
1: 00:21:4F:A7Big GrinA:79 [BD Remote Control]
Select the device you wish to add [1]: 1
Registering device... Done
root@XBMCLive:~/ps3pair# /usr/share/doc/bluez/examples/list-devices
...
Name = BD Remote Control
Paired = 0
Adapter = /org/bluez/878/hci0
Alias = BD Remote Control
Connected = 0
UUIDs = 0x1124 0x1200
Address = 00:21:4F:A7Big GrinA:79
Class = 0x00250c
Trusted = 1
Blocked = 0



Paired=0 Connected 0 So here goes something wrong.

NOTE: /usr/share/doc/bluez/examples/list-devices cmd does not work when i patch bluez myself. Then it is located in: /usr/local/src/bluez-4.69/test/list-devices for people having problem with this.

Then i followed post 421 by kitlaan: sudo /etc/init.d/bluetooth stop" or "sudo killall bluetoothd"
For my killall bluetoothd only works.
So i started bluetoothd -nd Then i get a big list. When i HOLD the START and ENTER buttons on the PS3 remote.
i get the following:

(bluetoothd:1678): GLib-CRITICAL **: g_source_remove: assertion `tag > 0' failed

Now when i hit some buttons on the remote i get an output so it is working. Only it is really strange that it does not say it is paired or connected.

Quote:bluetoothd[1678]: input/fakehid.c:ps3remote_event() Got key: 2 [1]
bluetoothd[1678]: input/fakehid.c:ps3remote_event() Got key: 2 [0]
bluetoothd[1678]: input/fakehid.c:ps3remote_event() Got key: 4 [1]
bluetoothd[1678]: input/fakehid.c:ps3remote_event() Got key: 4 [0]

Now i checked inside XBMC and i see it works.
I hope that this post will be useful to help others facing the same problem.
Reply
To edit the standard keymap you can use this example: http://pastebin.com/kpNv40zR
Edit the first row to your needs one must have key for me is the keyboard key I to get movie options.
so in the first row you set KEY_I
Reply
manemies Wrote:Something must be wrong because the batteries on my PS3 remote seem to run out about once every week. Is anyone else having the same problem ?
Before XBMC I used the remote with PS3 (just as much per day as I use it now with Eeebox/XBMC) and I had to change the batteries maybe twice a year, and now once every week so the difference is huge !
Anyone have a clue what could cause it ? I changed the IdleTimeout=1 in
/etc/bluetooth/input.conf but that's all that I can think of...

Any advice would be greatly appreciated Big Grin

You got any progress with this, i got the same problem, ps3 remote is set to idletimeout 30 secs.
Nvidia Shield 2019 Pro, Nvidia Shield 2015
Reply
make sure you are still using the patched bluez from kitlaan (http://kitlaan.twinaxis.com/projects/bluez-ps3remote/)... battery problem mainly seem to happen on stock bluez versions without the patches. i'm fairly regurarly using my ps3 remote and haven't had to change batteries for 2 months now.
Reply
  • 1
  • 33
  • 34
  • 35(current)
  • 36
  • 37
  • 56

Logout Mark Read Team Forum Stats Members Help
[LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS6