[LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: [LINUX] Sony PlayStation 3 Blu-ray Disc Remote (PS3 BD) + LIRC + XBMC = SUCCESS (/showthread.php?tid=50717) |
- repvik - 2011-05-06 After upgrading to Natty, a bunch of keybindings apparently disappeared. (eg., the pause button no longer works in XBMC) It also disconnects after a while, and no matter what I do I can't get it to reconnect. It shows up if I do "hcitool con" after pressing a button on the remote, but there's no response in XBMC. I've rebuilt bluez with kitlaans experimental patch, but it doesn't appear to help. When i reboot my HTPC, /sys/devices/virtual/input/input4 exists. But once the remote disconnects, input4 doesn't show up even if I reconnect the remote. - kitlaan - 2011-05-11 I haven't gotten back to working with my patch for natty yet, but hope to find some time soon. bluez 4.91 changed how uinput registration is done for the remote, and I'm not entirely sure it's doing the right things... I may just revert their handling to the old code. But more experimentation is needed. - repvik - 2011-05-11 kitlaan Wrote:I haven't gotten back to working with my patch for natty yet, but hope to find some time soon.Cool. I got things working with the beta patch, except for the keymappings. It might be eating batteries for breakfeast though, I guess I'll find out in a few days. - toX_ - 2011-05-11 ty kitlaan, the community counts on ur patch it's like a "green"-patch for the ps3 remote! d.g.toX_ - ruff - 2011-06-04 Finally I've moved to Natty. For those of you interested here is my ppa https://launchpad.net/~rufferson/+archive/bluez-ps3bt-remote p.s. I recently moved to a new flat so my TV is still staying packed in the corner - i.e. no real life testing has been done so far, just adopting old changes to the new code. But anyway this ppa will have sooner or later proper code since i'll need it to manage my xbmc on a new OS p.p.s. i got reports that it does work - toX_ - 2011-06-04 ruff Wrote:Finally I've moved to Natty. For those of you interested here is my ppa https://launchpad.net/~rufferson/+archive/bluez-ps3bt-remote Hi, i can confirm that this version is working on natty ty for the good work d.g.toX_ - jpeeters - 2011-06-05 ruff Wrote:Finally I've moved to Natty. For those of you interested here is my ppa https://launchpad.net/~rufferson/+archive/bluez-ps3bt-remote I tried installing your package, but it unfortunately does not give me a working solution (see below for details about my setup). The whole thing works fine with Ubuntu's 11.04 stock bluez 4.91, but that version only gives me some buttons as we all know. Code: ii bluetooth 4.91-0ubuntu2ppa1 Bluetooth support Code: Jun 5 01:31:08 xbmc bluetoothd[2423]: Bluetooth deamon 4.91 Code: xbmc@xbmc:~$ /usr/share/doc/bluez/examples/list-devices - toX_ - 2011-06-05 what does ur input.conf look like mine looks like this (with nearly all working buttons) Code: [General] u should first test ur remote in a texteditor if it works (it's acts like a keyboard) d.g.toX_ - ruff - 2011-06-05 Aha, i see kitlaan finally implemented his idea to map keys explicitly in config file Mine works differently, i'm still using old patch with hardcoded layout, config from my ppa looks like this (it is supplied with package): Code: ruff@ruff:~/bluez-src$ cat /etc/bluetooth/input.conf - toX_ - 2011-06-05 just realized that my old config doesn't work :/ so how to impliment all the keys? or do u plan to get in contact with kitlaan to build one "fitting for all" package keep up the good work d.g.toX_ - ruff - 2011-06-05 well, to be honest i don't need the ability to assign keys on remote, hardcoded layout is completely sufficient for me to manage xbmc - once you can read all keys from remote you can assign whichever functions you need in keymap.xml. As well as power-saving works great since i'm not using any other BT HID. But if kitlaan's code is based in mine and he needs any help with his package I can help with coding %) - kitlaan - 2011-06-07 Ah, sorry guys. I've been busy with work (ah, project releases) for way too long. Now that it's GA'd, I'm going to get back to this on the weekend (hopefully). If I do my upgrade to natty, then I'll have to ruff, I'll take a look at your current code this week. I'm not sure how much mine has diverged in the last few years, but hopefully I'll figure out why the initial device detection is going badly. - CSB! - 2011-06-07 My XBMC box is on 24/7, and I've periodically had the remote stop working, sometimes it'll work for over 24 hours, other times, it'll stop within an hour. This error reflects the event in my syslog: Code: Jun 7 10:10:14 hostname bluetoothd[1904]: Hangup or error on ps3remote server socket The easiest way to fix the problem seems to be power cycling the remote. Any ideas on how to debug this? - menno - 2011-06-07 Could this be made available for the apple tv2? - ruff - 2011-06-08 CSB! Wrote:Any ideas on how to debug this?Have you tried replacing batteries? Seems like rf channel dies and remote cannot pair back until explicitly turned on by powercycle |