Arch Linux

Please read this before reporting a bug:

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

REPEAT: Do NOT report bugs for outdated packages!

FS#32709 - [lirc] lirc.service ignores /etc/conf.d/lircd.conf

Attached to Project: Arch Linux
Opened by Tiago Teixeira (TigTex) - Friday, 16 November 2012, 16:27 GMT
Last edited by Eric Belanger (Snowman) - Friday, 16 November 2012, 16:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Since the migration to systemd, the new lirc.service ignores /etc/conf.d/lircd.conf and that breaks support for devices that require "drivers" or special flags.
Here's the current lirc.service:
Description=Linux Infrared Remote Control

ExecStartPre=/usr/bin/ln -sf /run/lirc/lircd /dev/lircd
ExecStart=/usr/sbin/lircd --pidfile=/run/lirc/


As you can see, there are no references to lircd.conf or any file.

Jsravn posted on xbmc archwiki page a new lirc.service that uses lircd.conf and solves this problem.

Description=Linux Infrared Remote Control

ExecStartPre=/usr/bin/ln -sf /run/lirc/lircd /dev/lircd
ExecStart=/usr/sbin/lircd --pidfile=/run/lirc/ --device=${LIRC_DEVICE} --driver=${LIRC_DRIVER}


Currently /etc/conf.d/lircd.conf is useless unless someone is using initscripts.
In order to make my pctv remote controller functional (requires --driver=pinsys and --device=/dev/ttyS0), I had to use the new lirc.service and the "driver" section on /etc/conf.d/lircd.conf.
Also, using the modified lirc.service, the transition from initscripts to systemd is easier because it doesn't require any file modification.

Additional info:
* lirc 1:0.9.0-34
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 16 November 2012, 16:50 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#31890