hello I am trying to get my remote for using GPIO-ir/lirc(I don’t know the difference). I am running into the issue of my mode2 using “code” instead of spaces and pulses then I tried using sudo mode2 -r -d /dev/lirc0 but I got a different error (see below). I was able to run irrecord and it seemed to be doing something but upon trying my remote it did nothing. I did download an older config for the same remote (RC66) but it was made for kodi when kodi was still called XBMC in the folders name… truthfully I would love to use the rc66 pre made config, the buttons make sense and I believe I have the same remote as on directv the guide for programing a remote is rc66 not rc66x. but I am not sure why it is not working my IR was pulled from a dvd player (it has a metal shield) but I am unsure what type it is.
older config for same remote (rc66)
osmc@osmc:~$ sudo mode2 -d /dev/lirc0 Using driver devinput on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Running as regular user osmc
code: 0xffffff00495d5d0035170001a3040000
code: 0xd5040001720400008402000121020000
code: 0x8102000123020000d404000122020000
code: 0x80020001240200008102000176040000
Partial read 8 bytes on /dev/lirc0osmc@osmc:~$ ^C
osmc@osmc:~$ sudo mode2 -r -d /dev/lirc0
Using raw access on device /dev/lirc0
Using device: /dev/input/event0
Running as regular user osmc
Could not get code length: Inappropriate ioctl for device