[mythtv-users] Remote stops working for 1-3 minutes

Mathew Mrosko mythtv at matmrosko.com
Sun Apr 17 00:54:57 UTC 2005


Problem: My remote will stop working for 1-3 minutes at random,
	without any changes (no re-starting any services, re-loading
	of modules, etc.) it will start working again

Steps to Reproduce: Use MythTV, every once in a while, get up
	off ass and use the keyboard, since remote will stop working.

System Info:
	Myth Version: 0.17 (Official gentoo ebuild)
	LIRC Version: 0.7.0-r1 (gentoo ebuild)
	/etc/lircd.conf attached
	~/.lircrc symlinked to ~/.mythtv/lircrc attached

I've been waiting to see if I can pinpoint my problem, but I can't, so I'm 
finally posting and hoping somebody can help me.  I have a crappy PacBell IR 
receiver, but it works fine with my TiVo remote.  Every once in a while, my 
remote will stop working for 1-3 minutes.  I cannot pinpoint whether it is a 
problem with the IR receiver, the software, or what.  I can tell it is not 
myth, because the remote will sometimes stop working for a couple minutes 
when mplayer is up.  I don't think it is the receiver, because when it IS 
working, it works with EVERY keypress... i never have to keep trying or 
anything.  When it does NOT work, it simply does not work at all, nothing 
comes up with irw, or anything.  I run gentoo, and use the official .17 
ebuild.  Everything else seems to be running well, but I just cannot figure 
this out.  I have looked through all my logs, but cannot find anything 
relavant.  I can't see any correlation with CPU load/lag or anything like 
that, although it seems that when mythcommflag starts, it happens a little 
bit more frequently.  It can't be tied directly with the CPU usage though, 
because it does not seem any more regular when running transcode.
If anybody has any suggestions as to figuring this out, or even possible 
solutions, I look forward to your reply!  Thank you very much, and if you 
need anything like logs, or settings posted, let me know!

Thanks,
-- 
Mathew Mrosko
-------------- next part --------------

# Please make this file available to others
# by sending it to <lirc at bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.7.0(serial) on Sun Mar 20 01:26:39 2005
#
# contributed by 
#
# brand:                       ./test
# model no. of remote control: 
# devices being controlled by this remote:
#

begin remote

  name  TiVo_Remote
  bits           16
  flags SPACE_ENC|CONST_LENGTH
  eps            30
  aeps          100

  header       9002  4534
  one           574  1658
  zero          574   528
  ptrail        544
  repeat       9015  2263
  pre_data_bits   16
  pre_data       0xA10C
  gap          108142
  min_repeat      8
  toggle_bit      0


      begin codes
          TIVO                     0x000000000000F00F
          LIVE                     0x0000000000008807
          WINDOW                   0x000000000000220D
          RIGHT                    0x000000000000A807
          UP                       0x0000000000002807
          LEFT                     0x000000000000E807
          DOWN                     0x0000000000006807
          EXIT                     0x000000000000A20D
          LIST                     0x000000000000620D
          GUIDE                    0x0000000000006C03
          SELECT                   0x0000000000009807
          THUMB_UP                 0x0000000000005807
          THUMB_DOWN               0x0000000000001807
          MUTE                     0x000000000000D807
          VOL_UP                   0x0000000000003807
          VOL_DOWN                 0x000000000000B807
          RECORD                   0x000000000000040B
          CHAN_UP                  0x0000000000007807
          CHAN_DOWN                0x000000000000F807
          PLAY                     0x000000000000840B
          PAUSE                    0x000000000000C40B
          FFW                      0x000000000000240B
          REW                      0x000000000000440B
          SLOW                     0x000000000000A40B
          ADVANCE                  0x000000000000E40B
          JUMP_BACK                0x000000000000640B
          TV_INPUT                 0x0000000000002C03
          TV_POWER                 0x0000000000000807
          1                        0x000000000000140B
          2                        0x000000000000940B
          3                        0x000000000000540B
          4                        0x000000000000D40B
          5                        0x000000000000340B
          6                        0x000000000000B40B
          7                        0x000000000000740B
          8                        0x000000000000F40B
          9                        0x0000000000000C03
          CLEAR                    0x0000000000004C03
          0                        0x0000000000008C03
          ENTER                    0x000000000000CC03
      end codes

end remote


-------------- next part --------------
# lircrc.example.HauppaugeGrey-nativelirc
# 2003-09-17, Robert Kulagowski
# mailto:rkulagow at rocketmail.com
# Save this file in ~/.mythtv/lircrc

begin
    prog = mythtv
    button = EXIT
    config = Esc
end

begin
    prog = mythtv
    button = ENTER
# Swap the PiP windows
    config = N  
end

begin
    prog = mythtv
    button = 1
    config = 1  
end

begin
    prog = mythtv
    button = 2
    config = 2  
end

begin
    prog = mythtv
    button = 3
    config = 3  
end

begin
    prog = mythtv
    button = 4
    config = 4  
end

begin
    prog = mythtv
    button = 5
    config = 5  
end

begin
    prog = mythtv
    button = 6
    config = 6  
end

begin
    prog = mythtv
    button = 7
    config = 7  
end

begin
    prog = mythtv
    button = 8
    config = 8  
end

begin
    prog = mythtv
    button = 9
    config = 9  
end

begin
    prog = mythtv
    button = 0
    config = 0  
end

begin
    prog = mythtv
    button = TIVO
    config = M
end

# Below are keys used with the Hauppauge Grey remote

begin
   prog = mythtv
# This is the Red key
# We'll use it for "Delete"
   button = CLEAR
   config = D  
end

begin
   prog = mythtv
# This is the Green key
# We'll use it for "Information"
   button = INFO
   config = I
end

# Note the "repeat =" strings in the volume and channel.
# This means that if you hold down the key, every nth instance will be
# passed.  This depends on your system, so you may want to increase or
# decrease this and see what happens.  repeat = 1 is probably too
# fast.

begin
  prog = mythtv
# This is the Yellow key
# Use it as a volume key
  button = VOL_DOWN
  repeat = 3
  config = F10  
end

begin
  prog = mythtv
# This is the Blue key
# Use it as a volume key
  button = VOL_UP
  repeat = 3
  config = F11  
end

begin
    prog = mythtv
    button = UP
# This is the "up" on the central diamond 
    repeat = 3
    config = Up
end

begin
    prog = mythtv
    button = DOWN
# This is the "down" on the central diamond 
    repeat = 3
    config = Down
end

begin
    prog = mythtv
    button = LEFT
# This is the "left" on the central diamond 
    repeat = 3
    config = Left
end

begin
    prog = mythtv
    button = RIGHT
# This is the "right" on the central diamond 
    repeat = 3
    config = Right
end

begin
    prog = mythtv
# Middle button on the diamond
    button = SELECT
    config = Return
end

begin
    prog = mythtv
    button = MUTE
    config = F9  
end

#begin
#   prog = mythtv
# Change focus for PiP (to change channel in the other window)
#   button = WINDOW
#   config = B  
#end

begin
   prog = mythtv
# Toggle PiP on/off
   button = TV_INPUT
   config = V  
end

begin
    prog = mythtv
    button = REW
    config = Left  
end

begin
    prog = mythtv
    button = PLAY
    config = Space
end

begin
    prog = mythtv
    button = LIVE
    config = L
end

begin
    prog = mythtv
    button = WINDOW
    config = W
end

#begin
#    prog = mythtv
#    button = THUMB_UP
#    config = U
#end

#begin
#    prog = mythtv
#    button = THUMB_DOWN
#    config = J
#end

begin
    prog = mythtv
    button = SLOW
    config = a
end

begin
    prog = mythtv
    button = FFW
    config = Right  
end

begin
  prog = mythtv
  button = RECORD
  config = R  
end

##begin
##   prog = mythtv
### Teletext
##   button = Stop
##   config = T  
##end

begin
    prog = mythtv
    button = PAUSE
    config = P
end

begin
   prog = mythtv
   button = JUMP_BACK
# Use for backwards commercial skip
    config = Q
end

begin
   prog = mythtv
   button = ADVANCE
# Use for forward commercial skip
    config = Z
end

#############################
# Mplayer stuff starts here #
#############################

begin
    prog = mplayer
    button = EXIT
    config = quit
end

begin
    prog = mplayer
    button = MUTE
    config = mute
end

begin
    prog = mplayer
    button = THUMB_UP
    config = audio_delay +.1
end

begin
    prog = mplayer
    button = THUMB_DOWN
    config = audio_delay -.1
end

begin
    prog = mplayer
    button = INFO
    config = osd
end

begin
    prog = mplayer
    button = REW
    config = seek -30
    delay = 2
    repeat = 1
end

begin
    prog = mplayer
    button = FFW
    config = seek +30
    delay = 2
    repeat = 1
end

begin
    prog = mplayer
    button = CHAN_DOWN
    config = PAN +.1
    delay = 2
    repeat = 1
end

begin
    prog = mplayer
    button = CHAN_UP
    config = PAN -.1
    delay = 2
    repeat = 1
end

begin
    prog = mplayer
    button = JUMP_BACK
    config = seek -10
    delay = 2
    repeat = 1
end

begin
    prog = mplayer
    button = ADVANCE
    config = seek +10
    delay = 2
    repeat = 1
end

begin
    prog = mplayer
    button = PAUSE
    config = pause
end

begin
    prog = mplayer
    button = PLAY
    config = pause
end

begin
    prog = mplayer
    button = VOL_UP
    config = volume +1
    repeat = 1
end

begin
    prog = mplayer
    button = VOL_DOWN
    config = volume -1
    repeat = 1
end



More information about the mythtv-users mailing list