USB IR reciever, Lircmap, samsung/onkyo remote problems - SOLVED

I just started playing with RC OSMC but running in to issues trying to get lirc set up. I can get my MCE remote to work but trying to get my amp remote working which I had set up on my old xbmc setup by programming as a samsung remote and using required remote files and mappings but just not sure where all the necessary files need to go. anyone got any tips?


ok so I got this to work by looking around some other threads that have come up in the last few days

Raspberry Pi LIRC instructions
set onkyo remote to MCE remote code using code 30522 (hold game/other and display and then enter code)

I used the following instructions to record the ones i needed so if you have different remote then you can try and record your own but the keynames should help you.

sudo systemctl stop lircd_helper@lirc0
Once that is stopped you can use irrecord - but you must specify the correct device node as the default is incorrect:

irrecord -d /dev/lirc0 /home/osmc/lircd.conf
Once you’re finished you can start lircd again:

sudo systemctl start lircd_helper@lirc0

this is the lircd.conf file

 # Bear in mind this has only been tested with the ONKYO remote set to a microsoft remote using the code above
#  Please make this file available to others
# by sending it to <>
# this config file was automatically generated
# using lirc-0.9.0(default) on Tue Mar 24 17:34:52 2015
# contributed by
# brand:                       /home/osmc/lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
begin remote

  name  /home/osmc/lircd.conf
  bits           13
  eps            30
  aeps          100

  header       2652   844
  one           451   430
  zero          451   430
  pre_data_bits   24
  pre_data       0x1BFF80
  gap          106084
  toggle_bit_mask 0x8000
  rc6_mask    0x100000000

      begin codes
          KEY_1                    0x0BFE
          KEY_2                    0x0BFD
          KEY_3                    0x0BFC
          KEY_4                    0x0BFB
          KEY_5                    0x0BFA
          KEY_6                    0x0BF9
          KEY_7                    0x0BFB
          KEY_8                    0x0BF7
          KEY_9                    0x0BF6
          KEY_0                    0x0BFF
          KEY_EXIT                 0x0BDC
          KEY_UP                   0x0BE1
          KEY_DOWN                 0x0BE0
          KEY_LEFT                 0x0BDF
          KEY_RIGHT                0x0BDE
          KEY_PLAYPAUSE            0x0BE9
          KEY_STOP                 0x0BE6
          KEY_PAUSE                0x0BE7
          KEY_FASTFORWARD          0x0BEB
          KEY_REWIND               0x0BEA
          KEY_NEXTSONG             0x0BE5
          KEY_PREVIOUSSONG         0x0BE4
          KEY_INFO                 0x0BAE
          KEY_OPTION               0x0BDB
          KEY_OK                   0x0BF4
          KEY_CONTEXT_MENU         0x0BDB
      end codes

end remote