Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#33956 - [lirc] Add '-d /dev/lirc0' to the systemd service

Attached to Project: Arch Linux
Opened by Alexander Kaltsas (firewalker) - Thursday, 21 February 2013, 07:36 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 08 October 2013, 17:50 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture i686
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Please add the "-d /dev/lirc0" option to the systemd script that start lircd. The file in question is '/usr/lib/systemd/system/lirc.service'.

Change
ExecStart=/usr/sbin/lircd --pidfile=/run/lirc/lircd.pid

To
ExecStart=/usr/sbin/lircd --pidfile=/run/lirc/lircd.pid -d /dev/lirc0
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 08 October 2013, 17:50 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Thursday, 21 February 2013, 10:27 GMT
Can you specify the reason why this should get included?
Comment by Alexander Kaltsas (firewalker) - Thursday, 21 February 2013, 10:37 GMT
If this option isn't there my lirc installation won't work. I have tries everything. And the only that seems to do the trick is the above option. I had a look to the old rc.d lirc script and the option was there.

eval /usr/sbin/lircd -d "$LIRC_DEVICE" $LIRC_EXTRAOPTS $LIRC_CONFIGFILE

https://bbs.archlinux.org/viewtopic.php?id=157784
Comment by Jelle van der Waa (jelly) - Sunday, 10 March 2013, 12:49 GMT
I guess we shouldn't fix this in the package,but with systemd 198 users can extend the .service file. http://lists.freedesktop.org/archives/systemd-devel/2013-March/009496.html
Comment by Dikiy (dikiy) - Saturday, 10 August 2013, 11:20 GMT
After /etc/conf.d/lirc.conf have been deleted, I can not specify the name of device to use.

There must be a way to configure the device name without to have a "sex" with the systemd :)
Comment by Tobias Powalowski (tpowa) - Tuesday, 08 October 2013, 14:18 GMT
Please test lirc package from [testing] 1:0.9.0-63.
Comment by Dikiy (dikiy) - Tuesday, 08 October 2013, 17:42 GMT
it works. tnx!

Loading...