[mythtv-users] lirc woes with serial_ir kernel module

Andrew Stadt acstadt at stadt.ca
Sun Jun 11 18:08:13 UTC 2017


On 02/06/17 08:27 AM, Richard Shaw wrote:
> Ahh... the plot thickens...
>
> # lircd-setup
> Cannot parse file /etc/lirc/lirc_options.conf
>
> But I can't see anything obvious it's choking on...
>
> # cat /etc/lirc/lirc_options.conf
> # These are the default options to lircd, if installed as
> # /etc/lirc/lirc_options.conf. See the lircd(8) and lircmd(8)
> # manpages for info on the different options.
> #
> # Some tools including mode2 and irw uses values such as
> # driver, device, plugindir and loglevel as fallback values
> # in not defined elsewhere.
>
> [lircd]
> nodaemon        = False
> driver          = default
> device          = auto
> output          = /var/run/lirc/lircd
> pidfile         = /var/run/lirc/lircd.pid
> plugindir       = /usr/lib64/lirc/plugins
> permission      = 666
> allow-simulate  = No
> repeat-max      = 600
> #effective-user  = lirc
> effective-user  = root
> #listen         = [address:]port
> #connect        = host[:port]
> #loglevel       = 6
> #uinput         = ...
> #release        = ...
> #logfile        = ...
>
> [lircmd]
> uinput          = False
> nodaemon        = False
>
> [modinit]
> code1 = /usr/sbin/rmmod serial_ir
> code1 = /usr/bin/setserial /dev/ttyS0 uart none
> code2 = /usr/sbin/modprobe serial_ir
>
> # [lircd-uinput]
> # release-timeout = 200
>
> ---
>
> Thanks,
> Richard
>
I'm not sure what's up with lirc[d]'s conf file handling, but I've had a 
couple times over the years where it just wouldn't read it. Looked for 
invalid characters, deleted lines, finally re-create the file from 
scratch, and voila, it works.


More information about the mythtv-users mailing list