Lirc socket location change
#1
Hello,

for my HW IR Receiver I wrote a small daemon which also have a lirc compatible server implemented.
My daemon create a socket in /var/run/lirc/lircd but Kodi searches in /dev/lircd.
Is it possible to change the location in Kodi via configuration file to /var/run/lirc/lircd ?

Regards
Reply
#2
I found out there is a commandline parameter in Kodi --lircdev which works fine.
But I have to run it manually.
How can I add this when Kodibuntu starts ?
Reply
#3
It depends which distro you have and where it starts kodi.

Can you not create a symlink?

Code:
sudo ln -sf /var/run/lirc/lircd /dev/lircd

Do it before kodi starts in one of your startup scripts. (Actually you won't need the sudo in a startup script as they should be run by root, but you will need it for testing).
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#4
Good idea.
I create a link within my daemon.
Thanks for the hint.
Reply
#5
Or simply have your daemon create it in the right place?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#6
Since different distributions uses different location, I just create both :-)
Reply

Logout Mark Read Team Forum Stats Members Help
Lirc socket location change0