[mythtv-users] LIRC problem: hardware does not support sending

Warren Sturm warren.sturm at gmail.com
Mon Jan 23 19:52:53 UTC 2017


On Mon, 2017-01-23 at 11:43 -0800, Paul Stillwell wrote:
> Hi,
> 
> I recently update from Fedora 23 to Fedora 24. In Fedora 23, LIRC was
> working perfectly, but under Fedora 24 when I try to run my channel
> changing script I get the error:
> 
> hardware does not support sending
> Error running command: Input/output error
> 
> I have tried everything I can think of to fix this issue. I confirmed
> that /dev/lirc0 exists, I have made sure that lurched.service and
> lidcmd.service are both enabled and running, and I have checked that
> the /dev/lirc0 has the proper permission (they are set to 660).
> 
> Googling around for this results in nothing anywhere close to recent.
> 
> Any ideas on what could be going wrong?
> 
> Paul

Check your /usr/lib/systemd/system/lircd.service.  It may have been
over-written by the update.  Make a copy in /etc/systemd/system and
modify the copy.  Mine now looks like this:

# cat /etc/systemd/system/lircd.service 
[Unit]
Description=LIRC Infrared Signal Decoder
After=network.target

[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/lirc
ExecStartPre=/sbin/modprobe -qa lirc_zilog
ExecStartPre=-/bin/sh -c 'test -n "${LIRCD_IR_DEVICE}" && \
    echo lirc > /sys/class/rc/${LIRCD_IR_DEVICE}/protocols || :'
ExecStart=/bin/sh -c '/usr/sbin/lircd ${LIRCD_OPTIONS} \
    --driver ${LIRC_DRIVER} --device ${LIRC_DEVICE}  --nodaemon'
ExecStopPost=-/bin/sh -c 'test -n "${LIRCD_IR_DEVICE}" && \
    echo -lirc > /sys/class/rc/${LIRCD_IR_DEVICE}/protocols || :'

[Install]
WantedBy=multi-user.target

> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org



More information about the mythtv-users mailing list