[systemd-devel] lirc package
Colin Guthrie
gmane at colin.guthr.ie
Mon Oct 14 06:32:23 PDT 2013
Hi Alec
'Twas brillig, and Alec Leamas at 12/10/13 10:39 did gyre and gimble:
> Some day David Strauss wrote:
>> On Sun, Oct 6, 2013 at 6:13 AM, Rave it<chat-to-me at raveit.de> wrote:
>>> A view in the spec file shows me that there is a lot of new things
>>> for me, ie. systemd.
>>> So i may need some assistents.
>> Please feel free to email the systemd mailing list [1] or ask for help
>> in our IRC channel, which is #systemd on Freenode. We're always happy
>> to help packagers and upstream projects achieve good integration.
>>
>> [1]http://lists.freedesktop.org/mailman/listinfo/systemd-devel
> I have now taken ownership of lirc. Also, I have tried to fix some open
> systemd issues by adding socket activation support. The patch is
> available [1], look for systemd activation in the commits.
>
> If someone on this list could review this it would be really nice, it's
> the first time I do anything like it. Feedback on this list or directly
> on [1], whatever is convenient
Something else which might be nice is the following:
1. Change lirc.service to be templated i.e. allow multiple lircd's to be
run if you have multiple lirc devices plugged in to one machine.
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.
IMO, lirc itself should set/reset the proctols thing internally, as it
knows the device to use and should be able to find out which value of X
to use in /sys/class/rc/rcX/protocols.
That's my take on it :)
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel
mailing list