[mythtv-users] irexec won't autostart

Dan Wilga mythtv-users2 at dwilga-linux1.amherst.edu
Mon Aug 29 17:56:57 UTC 2016


On 8/28/16 1:27 AM, Robin Gilks wrote:
> Everything was going great on my mythbuntu 16.04 box apart from the X
> server getting lost when the TV was switched off & on again.
>
> I added the udev file to hotplug hdmi & reset things with xrandr and
> solved that problem.
>
> I shouldn't think it is related but since then irexec won't autostart -
> this means that although I have control via mceusb of mythfrontend itself,
> the extra stuff looking after my theatre amp now fails. The sending is OK
> but the receiving (which should happen in parallel with myth) of course
> doesn't happen so I never see the extra keys :(
>
>
> If I could find out where in the lirc startup that irexec should be fired
> up (I thought it used to be due to finding a config file for irexec) then
> I could probably follow it though but I can't even find the lirc.service
> file!! I have a valid /etc/lirc/lircrc file
I don't use *buntu, but I have yet to encounter a distro that starts 
irexec automatically. You usually have to add it to (a local copy in 
/etc/systemd/system of) the lircd.service file (preferred) or to 
/etc/init.d/rc.local (less effective). If you can't find a service file 
(try `systemctl cat lircd.service`), then your system might be using 
/etc/init.d/lircd or the like as a fallback.


More information about the mythtv-users mailing list