CommentStreams:36cbeae86eb6dfb27c96da1774da2abe
pi@raspberrypi:~ $ sudo modprobe lirc_rpi modprobe: FATAL: Module lirc_rpi not found in directory /lib/modules/4.19.58+ pi@raspberrypi:~ $
So I guess the library has changed and can't use in newer kernels now.