Linux problem with remotecontrol (lirc, atiusb) xbmcdebug shows keypresses but GUI not
#1
Sad 
Hi, i have problems (possible keymapping-problems?) getting my remotecontrol to work.

Im using XBMC on a selfmade shuttle-pc system, a lot of details considering hardware etc can be found on: http://eiswiesel.net/index.php?site=nas but here are the general specs:

OS: Linux nas 3.8.6-gentoo #11 SMP Sat Sep 7 18:16:56 CEST 2013 x86_64 Intel® Celeron® CPU 847 @ 1.10GHz GenuineIntel GNU/Linux
XBMC: Installed versions: 12.1(06:46:20 12.04.2013)(X alsa css java mysql opengl projectm rsxs samba sdl sse sse2 udev usb webserver xrandr -airplay -altivec -avahi -bluetooth -bluray -caps -cec -debug -gles -goom -joystick -midi -neon -nfs -profile -pulseaudio -pvr -rtmp -sftp -upnp -vaapi -vdpau)
lirc: Installed versions: 0.9.0-r2(23:30:11 22.04.2013)(X KERNEL="linux" LIRC_DEVICES="atiusb")


My problem is that, when i hit buttons on my remotecontrol, nothing happens on the XBMC GUI, but the debug-log of XBMC shows all the signals of the remotecontrol. I gues its some kind of keymapping-problem because my signals are received by xbmc as the debug-log will show.

Here are my configuration-files and finally a complete debug-log:

file: /etc/lirc/lircd.conf
PHP Code:
#
# this config file was automatically generated
# using lirc-0.7.0(any) on Tue Mar 29 17:33:06 2005
#
# contributed by Raphaël Doursenaud ([email protected])
#
# brand: Sapphire (ATI)
# model no. of remote control: 5000023600
# devices being controlled by this remote: xmms, tvtime
#

begin remote

  name  SAPPHIRE_ATIUSB_5000023600
  bits           40
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          227990
  toggle_bit      0


      begin codes
          1                        0x00000014E20D0000
          2                        0x00000014E30E0000
          3                        0x00000014E40F0000
          4                        0x00000014E5100000
          5                        0x00000014E6110000
          6                        0x00000014E7120000
          7                        0x00000014E8130000
          8                        0x00000014E9140000
          9                        0x00000014EA150000
          a                        0x00000014D5000000
          b                        0x00000014D6010000
          power                    0x00000014D7020000
          tv                       0x00000014D8030000
          dvd                      0x00000014D9040000
          web                      0x00000014DA050000
          media_library            0x00000014DB060000
          drag                     0x00000014DC070000
          0                        0x00000014EC170000
          c                        0x00000014EE190000
          d                        0x00000014F01B0000
          mute                     0x00000014DF0A0000
          tv_on_demand             0x00000014F11C0000
          max_window               0x00000014F5200000
          e                        0x00000014F6210000
          f                        0x00000014F8230000
          ok                       0x00000014F31E0000
          left                     0x00000014F21D0000
          right                    0x00000014F41F0000
          up                       0x00000014EF1A0000
          down                     0x00000014F7220000
          rewind                   0x00000014F9240000
          play                     0x00000014FA250000
          forward                  0x00000014FB260000
          record                   0x00000014FC270000
          stop                     0x00000014FD280000
          pause                    0x00000014FE290000
          mouse_button_left        0x000000144D780000
          mouse_button_right       0x00000014517C0000
          vol
-down                 0x00000014DE090000
          vol
-up                   0x00000014DD080000
          chan
-down                0x00000014E10C0000
          chan
-up                  0x00000014E00B0000
          mouse
-up                 0x0000001447720000
          mouse
-down               0x0000001448730000
          mouse
-left               0x0000001445700000
          mouse
-right              0x0000001446710000
          mouse
-left_up            0x0000001449740000
          mouse
-left_down          0x000000144C770000
          mouse
-right_up           0x000000144A750000
          mouse
-right_down         0x000000144B760000
          dvd
-root_menu            0x00000014EB160000
          launch_setup             0x00000014ED180000
      end codes

end remote 


file: /home/xbmc/.xbmc/userdata/Lircmap.xml
PHP Code:
<lircmap>
<
remote device="SAPPHIRE_ATIUSB_5000023600">
<
left>left</left>
<
right>right</right>
<
up>up</up>
<
down>down</down>
<
select>ok</select>
</
lircmap

file: /home/xbmc/.xbmc/userdata/keymaps/remote.xml
PHP Code:
<keymap>
<global>
<
universalremote>
<
left>Left</left>
<
right>Right</right>
<
up>Up</up>
<
down>Down</down>
<
select>Select</select>
</
universalremote>
</global>
</
keymap

a full log with debug enabled can be found here: http://pastebin.com/sPJp6igR

Im also confused that the debug-output is always the same considering the last lines...
i mean those:
Code:
...
18:20:23 T:139971225499520   DEBUG: LIRC: Update - NEW at 6214:00000014ef1a0000 00 up SAPPHIRE_ATIUSB_5000023600 (up)
18:20:25 T:139971225499520   DEBUG: LIRC: Update - NEW at 7397:00000014f31e0000 00 ok SAPPHIRE_ATIUSB_5000023600 (ok)
18:20:26 T:139971225499520   DEBUG: LIRC: Update - NEW at 8283:00000014f7220000 00 down SAPPHIRE_ATIUSB_5000023600 (down)
18:20:26 T:139971225499520   DEBUG: LIRC: Update - NEW at 8968:00000014f21d0000 00 left SAPPHIRE_ATIUSB_5000023600 (left)
18:20:27 T:139971225499520   DEBUG: LIRC: Update - NEW at 9773:00000014f41f0000 00 right SAPPHIRE_ATIUSB_5000023600 (right)
...
i even get these entries if i remove Lircmap.xml, remote.xml or change values of them... I have no idea how to solve this since i read many different informations about these config-files and that they changed a lot while history of XBMC.

btw i followed this howto to install: https://wiki.gentoo.org/wiki/XBMC
Reply
#2
found the problem... i missed an ending-tag in Lircmap.xml Angry

my new configfiles which work look now like that:

/home/xbmc/.xbmc/userdata/Lircmap.xml
PHP Code:
<lircmap>
<
remote device="SAPPHIRE_ATIUSB_5000023600">
<
left>left</left>
<
right>right</right>
<
up>up</up>
<
down>down</down>
<
select>ok</select>
</
remote>
</
lircmap

/home/xbmc/.xbmc/userdata/keymaps/remote.xml
PHP Code:
<keymap>
<global>
<
remote>
<
left>Left</left>
<
right>Right</right>
<
up>Up</up>
<
down>Down</down>
<
select>Select</select>
</
remote>
</global>
</
keymap
Reply

Logout Mark Read Team Forum Stats Members Help
problem with remotecontrol (lirc, atiusb) xbmcdebug shows keypresses but GUI not0