[LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS (/showthread.php?tid=50717)
- ruff - 2009-11-15 21:40
nanny07: Output seems ok, remote is registered, bluez is listening on adapter... can you run hcidump and see the output while pressing the buttons?
Check also if uinput is loaded - lsmod | grep input
purch: remote is seen as simple HID keyboard to the system through uinput driver, thus anything waiting for keyboard input will get the keys. btw, in this condition, when you typing normal keyboard - is the behavoiur the same?
- nanny07 - 2009-11-16 11:35
uinput is loaded, but no packet is captured with hcidump (i try also to switch on my phone's bluetooth, no packets)
Is it possible that my dongle isn't work well?
Another question, is "bluez-utils" packet necessary?
- spArcling - 2009-11-16 15:46
I seem to have the exact same problem as nanny07 (I read through 'all' the pages in this thread) and I'm also using XBMC Live 9.11 Alpha2 (installed to HDD).
"/usr/share/doc/bluez/examples/list-devices" returns suggests the remote is paired but "cat /proc/bus/input/devices | grep emot" doesn't return anything.
I've tried to re-pair many times (using two different dongles) but always the result is the same. The script reports 'done' but it's not working.
Any help would be appreciated.
- purch - 2009-11-16 17:36
ruff: I got it working. It was xorg.conf problem. I had to add
Option "GrabDevice" "true"
to the InputDevice section of the PS3 remote. Normal keyboards does not require this.
One last to fix is that when remote goes to sleep xbmc wont reconnect to it after clicking remote buttons. I think it is resuming from sleep state, not some other problem. Restarting xbmc enables the remote again. I have to search some more...
- ruff - 2009-11-16 18:21
purch: if you're using patched bluez - remote should work after sleep, in original bluez it doesn't
- purch - 2009-11-16 22:08
ruff: I have bluez-4.57-0ubuntu1~kitlaan7~jaunty. I have to disable AutoAddDevice in xorg.conf section "ServerFlags" to keep input devices in their own seats.
One last thing I have in mind is to force bluetooth to keep remote connected and drain the battery :/ Maybe set bluetooth so that it keeps connection open even remote goes to sleep and then waken remote resumes old bluetooth connection. Not sure if posible.
- kitlaan - 2009-11-16 23:56
purch Wrote:ruff: I got it working. It was xorg.conf problem. I had to add
I didn't bother setting up an InputDevice for the remote. I have a feeling that since you did, it's not seeing the new device each time a uinput device gets created. (My PPA version still creates a new uinput connection each time it wakes up; haven't worked on that specific reconnect code yet.)
- gimmmo - 2009-11-17 00:59
spArcling Wrote:"/usr/share/doc/bluez/examples/list-devices" returns suggests the remote is paired but "cat /proc/bus/input/devices | grep emot" doesn't return anything.
I have the same situation (xbmc live 9.11a2 on karmic) with "grep emot", but I just proceed with disconnect and reconnect again, "grep emot" still no output. However, after push a few times on the remote button, the remote gets connected and talked to xbmc. It's working!
- pumkinut - 2009-11-17 07:34
I'm trying this on 9.11 A2 and when I run the pairing script, I get the following:
BTW, uinput is loaded.
- nanny07 - 2009-11-17 11:52
@pumkinut: sudo apt-get install python-dbus
no one, can help me?