![]() |
Whats wrong with my LIRC/XBMC setup. - 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: Whats wrong with my LIRC/XBMC setup. (/showthread.php?tid=60648) |
Whats wrong with my LIRC/XBMC setup. - lozbrown85 - 2009-11-01 Hi Guys I have LIRC all setup to work and it does work nicely with other programs All buttons give output to irw. As such I have set up my ~/.xbmc/userdate/Lircmap.xml mapping all my Key names from irw to relevant keys in xbmc. A copy of my Lircmap can be found here: My Lircmap I can tell that xbmc is logging on, reading my Lircmap and receiving key presses becuase the XBMC log shows things like the following. Code: 14:35:26 T:139664482564160 M:1553252352 INFO: LIRC Initialize: sucessfully started on: /dev/lircd My xbmc.log So why do my button presses not do anything? I realise I will have to modify the keymaps later to tune what each key does but I would at lease expect the highlighting to move when I press up down etc. Any ideas? - Zapata - 2009-11-01 Have you set the right dongle name in lircd.conf? Example: Code: begin remote - lozbrown85 - 2009-11-01 hmmm My lircd.conf just includes the following file /usr/share/lirc/remotes/devinput/lircd.conf.devinput which is as follows: Code: begin remote does this seem correct? I have tried changing my Lircmap line from <remote> to <remote device="devinput"> this did not make any difference. - Zapata - 2009-11-02 Can you show me your IRW output? You must match that name to the Lircmap.xml Example: <remote device="devinput"> <play>PLAY</play> <pause>PAUSE</pause> <stop>STOP</stop> <forward>FORWARD</forward> <reverse>REVERSE</reverse> <left>LEFT</left> <right>RIGHT</right> <up>UP</up> <down>DOWN</down> <select>SELECT</select> <back>BACK</back> <menu>MENU</menu> <title>TITLE</title> <info>INFO</info> <skipplus>SKIP+</skipplus> <skipminus>SKIP-</skipminus> <display>DISPLAY</display> <one>1</one> <two>2</two> <three>3</three> <four>4</four> <five>5</five> <six>6</six> <seven>7</seven> <eight>8</eight> <nine>9</nine> <zero>0</zero> </remote> - lozbrown85 - 2009-11-02 Hi Zapata Firstly thanks for taking the time to reply to this thread. As mentioned in my previous post Quote:I have tried changing my Lircmap line from <remote> to <remote device="devinput"> this did not make any differencebut i will make sure I put it back in later. I can get a full output of IRW when i get home later but for the mean time the output of IRW can be found in the comments in my Lircmap.xml. - lozbrown85 - 2009-11-02 IRW out here: http://pastebin.com/f71db925d - Zapata - 2009-11-02 So that looks good, devinput is your remote LIRC name. But looking at your Lircmap.xml the name devinput is not present and some info is missing: Code: <remote> Seems to be wrong, it should say Code: <remote device="devinput"> - lozbrown85 - 2009-11-02 Ok still not working: Current Lircmap: http://pastebin.com/f6b034576 Latest Log: http://pastebin.com/f4c40a5b6 Any other ideas? - Kreeblah - 2009-11-02 It looks like you didn't close the delete tag in Lircmap.xml, so that might be causing some problems. I don't know why some keys would work but not others, but try fixing that and see what happens. - lozbrown85 - 2009-11-02 Firstly Thankyou to both Kreeblah and Zapata for your time: Kreeblah Wrote:It looks like you didn't close the delete tag in Lircmap.xml, so that might be causing some problems. I don't know why some keys would work but not others, but try fixing that and see what happens. Good spot on the delete tag. I have fixed that issue in my Lircmap. To be clear, at present no keys do anything!! but all show up in the log file. Xbmc Log: http://pastebin.com/f1bd7f7a1 - Zapata - 2009-11-03 That's very strange, please get a fresh lircmap.xml and only input your device name in the right place, don't delete anything from the file, only input the name from IRW. - lozbrown85 - 2009-11-04 I'm not sure what you mean. If I just took the base Lircmap.xml and set the device names, all the button codes would be wrong. I've delete all the comments like so but that made no difference. Any other ideas? - lozbrown85 - 2009-11-08 Aha I fixed it!! it was a formatting error with my lircmap file. xmllirt is a handy command line tool. |