[mythtv-users] Fix for broken lirc package in Ubuntu 20.04

Alec Leamas leamas.alec at gmail.com
Mon Nov 15 12:19:08 UTC 2021


Hi all,

On 15/11/2021 02:41, Stephen Worthington wrote:
> On Sun, 14 Nov 2021 10:40:32 -0800, you wrote:
   As Alec  points out, mceusb.lircd.conf is not going to work.

That's not what I said. I said it can only be used when paired with a 
suitable driver and device.

As long the default, devinput setup works for you all is fine.

However, other user-cases actually requires the use of the 
mceusb.lircd.conf file -- the most common is when using irsend to send 
ir commands to devices like a TV set  using lircd. This is only possible 
when using /dev/lirc0 and the correct driver, often the silly-named 
'default'.

On 14/11/2021 16:52, Stephen Worthington wrote:

 > So mceusb.lircd.conf not going to work then - the log snippet shows
 > the input is coming from the kernel driver on /dev/input/event4, so
 > that means that devinput.lircd.conf is required.


Although the conclusion is fine, the arguments is perhaps somewhat 
misleading. A correctly coded driver (all are not) can be configured to 
deliver data in /dev/lirc0 instead, effectively creating another data 
path where the raw data is decoded by lircd rather than the kernel.

Details (some of which handled by lirc-setup) are in the lirc.org docs.

But then again, in this case the simple, default setup using the kernel 
decoding read from /dev/input/eventXXX  by the devinput driver seems to 
work fine so all are happy.

lircd is a complex beast which can be taught to do really amazing stuff. 
Being the teacher is sometimes frustrating, though.


Cheers!
--alec


More information about the mythtv-users mailing list