How do I add a custom lircd.conf to RasPlex 0.4.0rc1 ?

Hi,

 

I have a custom (known working) lircd.conf file (as per the CODE section below) for a Thomson RCT110D Remote Control that I have been using previously on RaspBMC.

 

I don't think RasPlex varies much, if at all, in the operation of IR through GPIO, so normally copying a good lircd.conf file to the appropriate location is all that is required.

 

In the case of RasPlex, I believe this is simply the "/storage/.config" folder.

 

I have copied this file to that location but it I can't get the RPi to recognise any input from the remote. 

 

I know its not a hardware problem because the remote was working on the same RPi prior to overwriting the SD card with RasPlex.

 

The one thing that is bugging me is, I have scoured the menu system of RasPlex 0.4.0rc1 and I can't find anywhere where you can enable the GPIO IR Remote, maybe thats because it is on all the time and not a menu option?

# Contributed by: Dave Healey
# Brand: Thomson                   
# Model no. of remote control: RCT110D
#
 
begin remote
 
  name           RCT110D
  bits           12
  flags SPACE_ENC
  eps            30
  aeps          100
 
  one           443  4639
  zero          443  2105
  ptrail        441
  gap          35378
  min_repeat      1
#  suppress_repeat 1
#  uncomment to suppress unwanted repeats
  toggle_bit_mask 0x80
 
      begin codes
          KEY_UP                   0x434
          KEY_DOWN                 0x435
          KEY_LEFT                 0x436
          KEY_RIGHT                0x437
          KEY_OK                   0x433
          KEY_MENU                 0x419
          KEY_PLAY                 0x420
          KEY_STOP                 0x424
          KEY_REWIND               0x41F
          KEY_FASTFORWARD          0x421
          KEY_PAUSE                0x418
          KEY_NUMERIC_0            0x40E
          KEY_NUMERIC_1            0x400
          KEY_NUMERIC_2            0x408
          KEY_NUMERIC_3            0x410
          KEY_NUMERIC_4            0x401
          KEY_NUMERIC_5            0x409
          KEY_NUMERIC_6            0x411
          KEY_NUMERIC_7            0x402
          KEY_NUMERIC_8            0x40A
          KEY_NUMERIC_9            0x412
          KEY_VOLUMEUP             0x329
          KEY_VOLUMEDOWN           0x32A
          KEY_RED                  0x439
          KEY_GREEN                0x41B
          KEY_YELLOW               0x414
          KEY_BLUE                 0x415
          KEY_POWER                0x41D
          KEY_FRAMEBACK            0x428
          KEY_FRAMEFORWARD         0x427
          KEY_SEARCH               0x423
          KEY_BACK                 0x42C
          KEY_BACK                 0x429
          KEY_OPEN                 0x426
          KEY_MUTE                 0x305
          KEY_CLEAR                0x43D
          end codes
 
end remote

Ok, I seemed to have fixed it myself.

Not quite sure why it wasn't working before, I did add the autostart.sh file below, but I didn't think that would be required as lirc already appeared to be functioning on this build of OpenElec.

#!/no /storage/.config/autostart.shbin/sh
(modprobe lirc_rpi;)&

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.