Whats wrong with my LIRC/XBMC setup.
#1
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
14:35:27 T:139664482564160 M:1542791168    INFO: Loading special://xbmc/system/Lircmap.xml
14:35:27 T:139664482564160 M:1542791168    INFO: Loading special://profile/Lircmap.xml
14:42:18 T:139664482564160 M:1500319744   DEBUG: LIRC: Update - NEW at 411976:0000000080010069 00 KEY_LEFT devinput (KEY_LEFT)
14:42:21 T:139664482564160 M:1500315648   DEBUG: LIRC: Update - NEW at 414756:000000008001006a 00 KEY_RIGHT devinput (KEY_RIGHT)
14:42:22 T:139664482564160 M:1500315648   DEBUG: LIRC: Update - NEW at 415690:0000000080010067 00 KEY_UP devinput (KEY_UP)
14:42:23 T:139664482564160 M:1500319744   DEBUG: LIRC: Update - NEW at 417023:000000008001006c 00 KEY_DOWN devinput (KEY_DOWN)
A copy of my Log can be found here:
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?
Reply
#2
Have you set the right dongle name in lircd.conf?

Example:

Code:
begin remote

    name  XboxDVDDongle
Reply
#3
hmmm

My lircd.conf just includes the following file
/usr/share/lirc/remotes/devinput/lircd.conf.devinput
which is as follows:
Code:
begin remote

  name  devinput
  bits           16
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  pre_data_bits   16
  pre_data       0x8001
  gap          132799
  toggle_bit_mask 0x0

      begin codes
          KEY_0                    0x000B
          KEY_102ND                0x0056
          KEY_1                    0x0002
...

does this seem correct?

I have tried changing my Lircmap line from <remote> to <remote device="devinput"> this did not make any difference.
Reply
#4
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>
Reply
#5
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 difference
but 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.
Reply
#6
IRW out here: http://pastebin.com/f71db925d
Reply
#7
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">
Reply
#8
Ok still not working:
Current Lircmap:
http://pastebin.com/f6b034576

Latest Log:
http://pastebin.com/f4c40a5b6

Any other ideas?
Reply
#9
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.
Reply
#10
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
Reply
#11
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.
Reply
#12
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?
Reply
#13
Aha

I fixed it!! it was a formatting error with my lircmap file.

xmllirt is a handy command line tool.
Reply

Logout Mark Read Team Forum Stats Members Help
Whats wrong with my LIRC/XBMC setup.0