[mythtv-users] Trying To Get Two IR Receivers Working

Karl Newman newmank1 at asme.org
Thu Oct 15 01:09:02 UTC 2015


On Wed, Oct 14, 2015 at 5:39 PM, Kirk Bocek <t004 at kbocek.com> wrote:

> On 10/14/2015 9:55 AM, Kirk Bocek wrote:
>
>> On 10/14/2015 9:32 AM, Alec Leamas wrote:
>>
>>> The devinput LIRC driver does exactly this - acts as a bridge between
>>> the kernel decoding and the LIRC application interface. You feed the
>>> event device as the --device option to devinput, starts lircd and then
>>> uses irw. This is what's described in [2]
>>>
>>
>> Ah, I did not change the "device=" setting in lirc_options.conf. I think
>> I thought it was saying what the device line the driver *created* at
>> startup. My bad.
>>
>>
>>> You can use udev rules to handle that the event device is not fixed as
>>> Karl described. However, it's not really necessary, see [1]
>>>
>>>
>>>
>> That's right. You told me about that before. I got sidetracked onto other
>> things. This device has a nice unique name so that:
>>
>> device = name='*Spinel*'
>>
>
> I installed driver=devinput and installed the devinput conf file. I then
> tried several variations of the device= line. With and without double
> quotes, with NAME= and name=. Although the doc page shows no double quotes
> and lower case, I am firing this off from a config file.
>
> lircd is starting:
> Oct 14 17:38:19 liva2.pvt systemd[1]: Started LIRC Infrared Signal Decoder.
> Oct 14 17:38:19 liva2.pvt systemd[1]: Starting LIRC Infrared Signal
> Decoder...
> Oct 14 17:38:19 liva2.pvt lircd-0.9.2a[11203]: Illegal effective uid:
> lirc: Success
> Oct 14 17:38:19 liva2.pvt lircd-0.9.2a[11203]: Info: Using remote:
> devinput.
> Oct 14 17:38:19 liva2.pvt lircd-0.9.2a[11203]: Info: Using remote:
> devinput.
> Oct 14 17:38:19 liva2.pvt lircd-0.9.2a[11203]: Notice: lircd(devinput)
> ready, using /var/run/lirc/lircd
> Oct 14 17:38:19 liva2.pvt lircd[11203]: lircd-0.9.2a[11203]: Illegal
> effective uid: lirc: Success
> Oct 14 17:38:19 liva2.pvt lircd[11203]: lircd-0.9.2a[11203]: Info: Using
> remote: devinput.
> Oct 14 17:38:19 liva2.pvt lircd[11203]: lircd-0.9.2a[11203]: Info: Using
> remote: devinput.
> Oct 14 17:38:19 liva2.pvt lircd[11203]: lircd-0.9.2a[11203]: Notice:
> lircd(devinput) ready, using /var/run/lirc/lircd
>
> Still *nothing* from irw and ir-keytable still whines:
>
> $ir-keytable -t
> Couldn't find any node at /sys/class/rc/rc*.
>
> Tried a couple of manual -d versions:
>
> ir-keytable -t -d
> /dev/input/by-id/usb-PHILIPS_MCE_USB_IR_Receiver-_Spinel_plus-event-ir
>
> ir-keytable -t -d
> /dev/input/by-path/pci-0000\:00\:14.0-usb-0\:2\:1.0-event-ir
>
> Still nothing.
>

Try ir-keytable without starting lirc because it's completely unrelated to
lirc; it just tests if the kernel input layer is working for that device.
Did you try ir-keytable with the /dev/input/event11 device? (or whatever it
ended up at). And are you testing as root, to eliminate any permissions
issues?

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20151014/d85659b5/attachment.html>


More information about the mythtv-users mailing list