[mythtv-users] Getting native lirc to work

Tako Schotanus quintesse at palacio-cristal.com
Wed Sep 10 12:02:34 EDT 2003


I'm using the latest CVS that has support for native LIRC and I have a
~/.mythtv/lircrc file with the RC-button-to-key mappings but it just
doesn't work. Using 'irw' shows the buttons I'm pressing so the hardware
and lircd work correctly.
 
I searched the gossamer threads but there was no mention that you had to
do anything special.
 
Any ideas anyone before I have to dive into the code?
 
Cheers,
 -Tako
 
PS: My lircrc and lircd.conf files look like this:
 
# LIRCRC ################### (not complete!)
 
begin
        prog = mythtv
        button = TV
        repeat = 1
        config = m
end
 
begin
        prog = mythtv
        button = last
        config = H
end
 
begin
        prog = mythtv
        button = RADIO
        config = i
end
 
begin
        prog = mythtv
        button = MINIMIZE
        config = Esc
end
 
begin
        prog = mythtv
        button = up
        repeat = 2
        config = Up
end
 
begin
        prog = mythtv
        button = down
        repeat = 2
        config = Down
end
 
begin
        prog = mythtv
        button = left
        repeat = 2
        config = Left
end
 
begin
        prog = mythtv
        button = right
        repeat = 2
        config = Right
end
 
begin
        prog = mythtv
        button = FULL_SCREEN
        config = Space
end

# LIRCRC ################### 
 
 
# LIRCD.CONF ###############
 
begin remote
 
  name  onkyo-cd-tuner
  bits           16
  eps            30
  aeps          100
 
  one             0     0
  zero            0     0
  pre_data_bits   32
  pre_data       0xFFFF4BB6
  post_data_bits  16
  post_data      0x0
  gap          319956
  min_repeat      6
  toggle_bit      0
 

      begin codes
          PWR                      0x000000000000BA45
          1                        0x000000000000AB54
          2                        0x0000000000006B94
          3                        0x000000000000EB14
          4                        0x0000000000001BE4
          5                        0x0000000000009B64
          6                        0x0000000000005BA4
          7                        0x000000000000DB24
          8                        0x0000000000003BC4
          9                        0x000000000000BB44
          0                        0x0000000000007B84
          REV                      0x0000000000007887
          FWD                      0x000000000000B847
          PLAY                     0x000000000000D827
          REC                      0x000000000000F807
          PAUSE                    0x000000000000F807
          STOP                     0x00000000000038C7
          UP                       0x00000000000041BE
          DOWN                     0x000000000000C13E
          LEFT                     0x00000000000021DE
          RIGHT                    0x000000000000A15E
          ENTER                    0x000000000000E916
      end codes
 
end remote
 
begin remote
 
  name  hauppauge-pvr250
  bits           16
  eps            30
  aeps          100
 
  one             0     0
  zero            0     0
  pre_data_bits   16
  pre_data       0xFFFF
  post_data_bits  32
  post_data      0x0
  gap          209958
  min_repeat      10
  toggle_bit      0
 

      begin codes
          TV                       0x000000000000FE00
          RADIO                    0x000000000000FE60
          CH+                      0x000000000000FBE0
          CH-                      0x000000000000FBC0
          VOL-                     0x000000000000FDC0
          VOL+                     0x000000000000FDE0
          FULL_SCREEN              0x000000000000FA20
          MINIMIZE                 0x000000000000FB20
          MUTE                     0x000000000000FE40
          SOURCE                   0x000000000000FBA0
          1                        0x000000000000FFC0
          2                        0x000000000000FFA0
          3                        0x000000000000FF80
          4                        0x000000000000FF60
          5                        0x000000000000FF40
          6                        0x000000000000FF20
          7                        0x000000000000FF00
          8                        0x000000000000FEE0
          9                        0x000000000000FEC0
          0                        0x000000000000FFE0
          RESERVED                 0x000000000000FC20
      end codes
 
end remote

# LIRCD.CONF ###############
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20030910/0b2edf7a/attachment-0001.htm


More information about the mythtv-users mailing list