[mythtv-users] lircrc problem-> button: command not found

source.code source.code at web.de
Fri May 4 09:17:20 UTC 2007


Hello ich have mythtv and it runs quit good.
>
> My configuration for myt lircrc file is:
> /home/mythtv/.mythtv/lircrc
> The remote is a Medion USB X10 and it works.
> problems:
> 1. The reaction from the remote is much slower then from the keyboard
> 2. My error messages on the console locks like this:
> *Code:*
> /home/mythtv/.mythtv/lircrc: line 15: begin: command not found
> /home/mythtv/.mythtv/lircrc: line 16: button: command not found
> /home/mythtv/.mythtv/lircrc: line 17: prog: command not found
> /home/mythtv/.mythtv/lircrc: line 18: config: command not found
> /home/mythtv/.mythtv/lircrc: line 19: repeat: command not found
> /home/mythtv/.mythtv/lircrc: line 20: end: command not found
>
>
>
> BUT the lines in the lircrc file are right or NOT???:
> *Code:*
> 13 ########### NAVIGATION #######################################
> 14 # Up
> 15 begin
> 16 button = up
> 17 prog = mythtv
> 18 config = Up
> 19 repeat = 1
> 20 end
>
>
>
> Has anyone an idea?


You might want to add a 'remote = xxxx' line to each begin/end block
if you have multiple remotes defined in /etc/lircd.conf.

Please post the first 20 lines of your ~/.lircrc file so we can see
the beginning of the file, and the ouput of:

# grep -A 2 "begin remote" /etc/lircd.conf
# grep -i "up" /etc/lircd.conf

Nick

Hello Nick...

1. My lircd.conf is not in /etc/ ! It is in /etc/lirc/
2. My lircrc is not in /home/mythtv/ ! It is in /home/mythtv/.mythtv/lircrc

A. First 20 Lines:
     1  # ~/.mythtv/lircrc
     2  #
     3  # MythTV native LIRC config file for
     4  # Medion USB X10
     5  #
     6  # by Daniel Kämtner, 2007/03/19
     7  # created by Jarod Wilson, 2003/12/21
     8  # Amalgamated from Jeff Campbell's,
     9  # .lircrc, the mythtv.org docs, and
    10  # a few touches of my own.
    11  #
    12
    13  ########### NAVIGATION #######################################
    14  # Up
    15  begin
    16  prog = mythtv
    17  button = up
    18  repeat = 1
    19  config = Up
    20  end

B. grep -A 2 "begin remote" /etc/lirc/lircd.conf
	begin remote

	  name  Medion_X10

C. grep -i "up" /etc/lirc/lircd.conf
          up                       0x000000000000EF1A
          setup                    0x000000000000F01B

Thanks Daniel


 



More information about the mythtv-users mailing list