2014-08-15, 04:41
(2014-08-15, 04:28)panksxbmc Wrote:(2014-08-09, 13:06)12Darius12 Wrote: Some observations..
- I see events for all buttons appear in the input node (e.g. hexdump -Cv /dev/input/eventXX shows things) for ALL buttons - not just the ones which work
- xev shows events for buttons which work but not for ones which don't
- the bluez docs are basically non existent
Any help appreciated
I want to do the same thing with ubuntu 12.xx .. could you guide me or direct me to the guide that you used to connect the ps3 to my desktop.. Need some infor for the same.
Guide the newbie..
I discovered the problem - changes to the bluetooth stack mean that you can no longer remap events that way so events go into the kernel with key codes above 255.
X can't handle such codes and ignores them, unfortunately there is no full solution (yet) because it's a limitation in the X protocol.
There is however a patched version of the evdev X11 input driver at http://www.thenautilus.net/SW/xf86-input-evdev/
I use this to remap the keys I want to ones below 255 so X can see them. Kinda tedious but unfortunately there is no other way currently (AFAIK).
I tried using LIRC as a re-mapper - it worked, however it did not generate repeated key press events for the remote which made it even less useful.
(2014-08-15, 04:28)panksxbmc Wrote:(2014-08-09, 13:06)12Darius12 Wrote: Some observations..
- I see events for all buttons appear in the input node (e.g. hexdump -Cv /dev/input/eventXX shows things) for ALL buttons - not just the ones which work
- xev shows events for buttons which work but not for ones which don't
- the bluez docs are basically non existent
I want to do the same thing with ubuntu 12.xx .. could you guide me or direct me to the guide that you used to connect the ps3 to my desktop.. Need some infor for the same.
Guide the newbie..
Actually, if you just want to connect then the XBMC wiki has a how to on it - I am not sure if Ubuntu 12 supports the bluetooth input mapping, or if you need the evdev patches I posted above.