On Monday, October 14, 2013 02:32:23 PM Colin Guthrie wrote:
> 2. Setting the protocols properly e.g. currently you have
> ExecStartPre=/bin/sh -c 'echo lirc > /sys/class/rc/rc0/protocols' in the
> https://github.com/leamas/lirc-pkg/blob/master/lircd.service, but this
> basically assumes $LIRC_DEVICE=/dev/lirc0 I believe (rc0 in the fixed
> string). It should also reset it after finishing too such that some
> other use of it can be made.

Perhaps with handily crafted udev rules.  Currently, I am using this hammer
in /usr/lib/udev/rules.d/99-remote-control-lirc.rules.  But that's only 
because I don't want other protocols to interfere with MythTV ;)

# Disable all but the "lirc" protocol for infrared devices
SUBSYSTEM=="rc", ATTR{protocols}="lirc"

-A

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to