[mythtv-users] Problems after upgrading frontend from Mythbuntu 12.04 to 14.04

Phill Edwards philledwards at gmail.com
Thu Dec 10 06:23:41 UTC 2015


>
> > <snip>
> > The first step is to inspect dmesg after connecting the device. There
> > you should find something like:
> >     rc0: Media Center Ed. eHome Infrared Remote Transceiver (1784:0001)
> as
> >         /devices/pci0000:00/0000:00:12.0/usb4/4-4/4-4:1.0/rc/rc0
> > Here you can see the device's name: "Media center Ed. eHome..." and it's
> > address: ...usb4/4-4/4-4:1.0/rc/rc0.
> > As long as you have only one remote of each kind you can use simple name
> > matching like in
> >        --device=name='*eHome*'
> > </snip>
> >
> > Where would you be using --device=name='*eHome*'? Is that if you're
> > running Lirc from a command line rather than in daemon mode? I'm running
> > it in daemon mode, so would I add this line in /etc/lirc/hardware.conf:
> >
> > REMOTE_DEVICE="name='*eHome*'"
>
> That said, I'm not 100% sure how the shell quoting is applied to the
> hardware.conf stuff. You might need to either remove or escape the
> single quotes.
>

for the record, this is how I've named the device
in /etc/lirc/hardware.conf.

1) Get the device name:

$ dmesg | grep rc[0-9]
[   17.212027] Registered IR keymap rc-rc6-mce
[   17.212822] input: Media Center Ed. eHome Infrared Remote Transceiver
(1934:5168) as
/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/rc/rc0/input5
[   17.213472] rc0: Media Center Ed. eHome Infrared Remote Transceiver
(1934:5168) as /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/rc/rc0
[   17.259901] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered
at minor = 0

2) Update /etc/lirc/hardware.conf:

REMOTE_DEVICE="name=*eHome?Infrared?Remote?Transceiver*"

If I entered spaces between the words I got an error about invalid
parameters on starting lirc. So I replaced each space with a single
wildcard character ("?"). Lirc now starts up and I don't need the udev
rules any more. If there's a more elegant way of doing this please let me
know.

Hope that helps someone in future.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20151210/3066d088/attachment.html>


More information about the mythtv-users mailing list