[mythtv-users] lirc woes with serial_ir kernel module

Alec Leamas leamas.alec at gmail.com
Fri Jun 2 05:55:17 UTC 2017



On 02/06/17 00:19, Richard Shaw wrote:

> I've also tried using the code lines for lirc in lirc_options.conf to 
> replicate the needed order but it doesn't seem to actually get run:
> 
> [modinit]
> code1 = /usr/sbin/rmmod serial_ir
> code1 = /usr/bin/setserial /dev/ttyS0 uart none
> code2 = /usr/sbin/modprobe serial_ir

Hmpf... if the commands above does not run it should be easy to debug:

   - lircd.service wants the one-shot lircd-setup.service. 'systemctl 
status lircd-setup.service' reveals last time lircd-setup.service ran.
   - lircd-setup.service could be run manually as a test: sudo systemctl 
start lircd-setuo.service
   - lircd-setup.service just runs the /usr/sbin/lircd-setup script. 
This can also be run manually without any command line options.
   - Adding a code line like '/bin/sh -c "date > /tmp/code3.log"' should 
put a simple log mark when lircd-setup runs. Or use logger(1).

If there is a bug, please file it at the lirc upstream http://sf.net/p/lirc


Cheers!

--alec




More information about the mythtv-users mailing list