Forum

Full Version: Configuration remote.xml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
yes, you can edit the same remote.xml file
to add the context menu you need to map command <OSD> to button of your choice
lets hope this helps you Wink if no I can post more detailed HowTo
Hey Curly,

Wonder if you can help on this.

I've tried your remote config tutorial :

http://xbian.org/2012/12/configuring-a-remote/#

As I have a generic MCE remote from Ebay. Remote works great but I have a handful of buttons which don't work and would love to be able to get them mapped. I have some other keys mapped which I did form a previous windows based XBMC version, but would like to add some more is possible.

I followed your tutorial, but when I type

Code:
root@xbian:~# mode2

I get the following:

Code:
root@xbian:/home/xbian# mode2
mode2: could not get file information for /dev/lirc0
mode2: default_init(): No such file or directory

Any ideas?

Andrew
Can you post the output of 'dmesg', 'lsusb' and 'cat /proc/bus/input/devices'.
Can you enable debug mode in XBMC and post some debug log when pressing some buttons.

The problem to these remotes it that they don't present themselves as a remote, but as a keyboard. So they need a different approach.
Where do I find the log? I can do it from that myself, I just wasn't aware it was possible via Xbian.

Smile
/home/xbian/.xbmc/temp/xbmc.log

I already created and included map for this remote, so i'm curious what buttons weren't working.
(11th Jan, 2013 09:16 AM)CurlyMo Wrote: [ -> ]/home/xbian/.xbmc/temp/xbmc.log

I already created and included map for this remote, so i'm curious what buttons weren't working.

I've already custom mapped the volume buttons as volume down didn't work and I use the bottom right button now for the context menu. I'd like to be able to map the coloured shortcut buttons if possible. It wasn't in a windows based system because they sent windows recognised commands that XBMC couldn't recognise.
Do you already have the xbmc log for me?
Afraid it will be tomorrow now. All tucked up :/

Early start for work Sad
Hey Curly,

Sorry for the delay. First chance I've had to get back to the Pi with a laptop.

Here's a dump of the XBMC Log. I've pressed the four coloured buttons 4 times each then grabbed the log:

Code:
09:49:51 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:49:52 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:52 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:52 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:52 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:52 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:49:53 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:49:53 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:53 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:53 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:53 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:53 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:49:53 T:2644223040  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:12
09:49:53 T:2644223040   DEBUG: CAnnouncementManager - Announcement: OnScanFinished from xbmc
09:49:53 T:2644223040   DEBUG: GOT ANNOUNCEMENT, type: 16, from xbmc, message OnScanFinished
09:49:53 T:2644223040   DEBUG: Thread CVideoInfoScanner 2644223040 terminating
09:49:54 T:3042451456   DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
09:49:54 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:49:54 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:54 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:54 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:54 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:54 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:49:55 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:49:55 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:55 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:55 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:55 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:55 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:49:56 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:49:56 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:57 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:57 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:57 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:57 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:49:58 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:49:58 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:58 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:58 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:58 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:58 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:49:59 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:49:59 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:59 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:59 T:2957755456   DEBUG: CecLogMessage - << 10
09:49:59 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:49:59 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:50:00 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:50:00 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:00 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:00 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:01 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:01 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:50:02 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:50:02 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:02 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:02 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:02 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:02 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:50:03 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:50:03 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:03 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:03 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:03 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:03 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:50:04 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:50:04 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:04 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:04 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:04 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:04 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:50:05 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:50:05 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:05 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:05 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:05 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:05 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:50:06 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:50:06 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:06 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:06 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:06 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:06 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent
09:50:07 T:2957755456   DEBUG: CecLogMessage - << Recorder 1 (1) -> TV (0): POLL
09:50:07 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:08 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:08 T:2957755456   DEBUG: CecLogMessage - << 10
09:50:08 T:2957755456   DEBUG: CecLogMessage - command 'POLL' was not acked by the controller
09:50:08 T:2957755456   DEBUG: CecLogMessage - >> POLL not sent

See what you think. With my experience of XBMC debugging, this lot means absolutely nothing to me XD

Andrew [/u]
Can you first disable CEC and put these messages on pastebin.

Then repost a debug log when pressing keys...
Can you now post the output of this command:
Code:
cat /home/xbian/.xbmc/temp/xbmc.log | grep OnKey
After you pressed all keys with debug on.
(13th Jan, 2013 08:14 PM)CurlyMo Wrote: [ -> ]Can you now post the output of this command:
Code:
cat /home/xbian/.xbmc/temp/xbmc.log | grep OnKey
After you pressed all keys with debug on.

http://pastebin.com/tucPuQzS

Smile

Thanks for your help dude.
Pages: 1 2 3 4 5
Reference URL's