[mythtv-users] lirc woes with serial_ir kernel module

Hika van den Hoven hikavdh at gmail.com
Fri Jun 2 16:37:57 UTC 2017


Hoi Alec,

Friday, June 2, 2017, 6:24:33 PM, you wrote:

> On 02/06/17 14:27, Richard Shaw wrote:
>> Ahh... the plot thickens...
>> 
>> # lircd-setup
>> Cannot parse file /etc/lirc/lirc_options.conf

>> [modinit]
>> code1 = /usr/sbin/rmmod serial_ir
>> code1 = /usr/bin/setserial /dev/ttyS0 uart none
>> code2 = /usr/sbin/modprobe serial_ir


> That was not the best error message, for sure. But each key needs to be
> unique, you cannot have two code1. Will check in a patch with an 
> enhanced message

> --alec
> _______________________________________________

Why not instead of failing, taking the first or last occurrence and
adding a message to the log "Ignoring second occurrence of ....". It's
more friendly by not failing and still clear.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list