Re: Configuration remote.xml - rikardo1979 - 27th Dec, 2012 05:28 AM
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 if no I can post more detailed HowTo
RE: Configuration remote.xml - Handaloo - 11th Jan, 2013 08:03 AM
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
RE: Configuration remote.xml - CurlyMo - 11th Jan, 2013 08:08 AM
Can you post the output of 'dmesg', 'lsusb' and 'cat /proc/bus/input/devices'.
RE: Configuration remote.xml - Handaloo - 11th Jan, 2013 08:30 AM
Sure:
http://pastebin.com/csjheFDs
Thanks man!
RE: Configuration remote.xml - CurlyMo - 11th Jan, 2013 08:43 AM
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.
Re: Configuration remote.xml - Handaloo - 11th Jan, 2013 09:10 AM
Where do I find the log? I can do it from that myself, I just wasn't aware it was possible via Xbian.
RE: Configuration remote.xml - CurlyMo - 11th Jan, 2013 09:16 AM
/home/xbian/.xbmc/temp/xbmc.log
I already created and included map for this remote, so i'm curious what buttons weren't working.
RE: Configuration remote.xml - Handaloo - 11th Jan, 2013 09:37 AM
(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.
RE: Configuration remote.xml - CurlyMo - 11th Jan, 2013 09:49 AM
Do you already have the xbmc log for me?
RE: Configuration remote.xml - Handaloo - 11th Jan, 2013 09:51 AM
Afraid it will be tomorrow now. All tucked up :/
Early start for work
RE: Configuration remote.xml - Handaloo - 13th Jan, 2013 07:53 PM
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]
RE: Configuration remote.xml - CurlyMo - 13th Jan, 2013 08:03 PM
Can you first disable CEC and put these messages on pastebin.
Then repost a debug log when pressing keys...
RE: Configuration remote.xml - Handaloo - 13th Jan, 2013 08:11 PM
Here we go sir:
http://pastebin.com/DYxx4Ruc
RE: Configuration remote.xml - CurlyMo - 13th Jan, 2013 08:14 PM
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.
RE: Configuration remote.xml - Handaloo - 13th Jan, 2013 08:33 PM
(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
Thanks for your help dude.
|