[mythtv-users] lirc_serial move to serial_ir nightmare in kernel 4.12

Tom Dexter digitalaudiorock at gmail.com
Tue Aug 22 21:12:00 UTC 2017


On Tue, Aug 22, 2017 at 5:01 PM, Richard Shaw <hobbes1069 at gmail.com> wrote:
> On Tue, Aug 22, 2017 at 3:50 PM, Tom Dexter <digitalaudiorock at gmail.com>
> wrote:
>>
>> Hey Richard. If you could just verify a few things for me, seeing as
>> you have a working setup with all this:
>>
>> 1. In your lirc_options.conf are the driver and device default, and
>> /dev/lirc0 respectively?
>
>
> Here's what I have in the main section:
> [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
>
>
>>
>> 2. What related modules are loaded? I'd assume obviously serial_ir,
>> and probably lirc_dev(?), but I'd assume that ir-lirc-codec would NOT
>> be there.
>
>
> # lsmod | grep lirc
> ir_lirc_codec          16384  3
> lirc_dev               20480  1 ir_lirc_codec
> rc_core                36864  6
> ir_rc6_decoder,rc_rc6_mce,ir_lirc_codec,lirc_dev,serial_ir
>
>  # lsmod | grep serial
> serial_ir              20480  0
> rc_core                36864  6
> ir_rc6_decoder,rc_rc6_mce,ir_lirc_codec,lirc_dev,serial_ir
>
> Did both so you could see what's a dependency for each...
>
> Thanks,
> Richard

Whoa...I hope somebody can clear this up, because this complete
contradicts what Alec said earlier:

"You have noted that here are two paths, right? One which uses the
kernel decoding (ir-lirc-codec etc), an event device and the devinput
driver. And one bypassing the kernel decoding, using the /dev/lirc0
device and the default driver? And that the latter part requires that
the kernel decoding is disabled i. e., that only the lirc protocol is
enabled in the /sys/class/rc/rc0 device?"

However you're clearly using /dev/lirc0 and the default driver, and
NOT an event device / devinput. However you ARE in fact using the
ir_lirc_codec, which would imply it's kernel decoding.

Help...anyone. What AM I supposed to be using here. I'm literally
going down for the third time.

Tom


More information about the mythtv-users mailing list