Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

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!
Tasklist

FS#59505 - [lirc] lircd.service failed on boot

Attached to Project: Arch Linux
Opened by Darek (blablo) - Wednesday, 01 August 2018, 10:19 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 02 August 2018, 16:05 GMT
Task Type Bug Report
Category Packages: Testing
Status Assigned
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:
lircd.service failed on boot

Additional info:
* package version(s):
lirc 1:0.10.1-2
linux 4.17.11.arch1-1
linux-zen 4.17.11.zen1-1

* config:
systemctl status lircd.socket lircd.service
● lircd.socket
Loaded: loaded (/usr/lib/systemd/system/lircd.socket; disabled; vendor preset: disabled)
Active: inactive (dead)
Listen: /run/lirc/lircd (Stream)

● lircd.service - Flexible IR remote input/output application support
Loaded: loaded (/usr/lib/systemd/system/lircd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-08-01 11:57:01 CEST; 3min 51s ago
Docs: man:lircd(8)
http://lirc.org/html/configure.html
Process: 490 ExecStart=/usr/sbin/lircd --nodaemon (code=exited, status=1/FAILURE)
Main PID: 490 (code=exited, status=1/FAILURE)

sie 01 11:57:01 pasazer lircd[490]: tira
sie 01 11:57:01 pasazer lircd[490]: tira_raw
sie 01 11:57:01 pasazer lircd[490]: udp
sie 01 11:57:01 pasazer lircd[490]: uirt2
sie 01 11:57:01 pasazer lircd[490]: uirt2_raw
sie 01 11:57:01 pasazer lircd[490]: usb_uirt_raw
sie 01 11:57:01 pasazer lircd[490]: usbx
sie 01 11:57:01 pasazer lircd[490]: zotac
sie 01 11:57:01 pasazer systemd[1]: lircd.service: Main process exited, code=exited, status=1/FAILURE
sie 01 11:57:01 pasazer systemd[1]: lircd.service: Failed with result 'exit-code'.

Steps to reproduce:

1 install lirc
2 systemctl enable lircd.service
3 reboot

sidenote:
Last working package lirc 1:0.10.1-1
I'm using the default configuration

This task depends upon

Comment by Darek (blablo) - Saturday, 04 August 2018, 09:31 GMT
lirc-git from AUR works great, unfortunately single patches do not apply cleanly with 0.10.1.
Please consider upgrading package to the latest commit
Comment by loqs (loqs) - Saturday, 04 August 2018, 10:19 GMT
With lirc 1:0.10.1-2 and the service lircd.service stopped what is the output of:
lircd --nodaemon
Comment by Darek (blablo) - Saturday, 04 August 2018, 10:30 GMT
Hi loqs

$ lircd --nodaemon

Driver `devinput' not found or not loadable (wrong or missing -U/--plugindir?).
Available drivers:
accent alsa_usb asusdh atilibusb atwf83 audio_alsa
awlibusb bte bw6130 commandir creative creative_infracd
default dfclibusb dsp dvico ea65 file
ftdi ftdix girs i2cuser irlink irtoy
livedrive_midi livedrive_seq logitech macmini mouseremote mouseremote_ps2
mp3anywhere mplay mplay2 pcmak pinsys pixelview
samsung sb0540 silitek sonyir srm7500libusb tira
tira_raw udp uirt2 uirt2_raw usb_uirt_raw usbx
zotac


It looks like FS#58238 ?
Comment by loqs (loqs) - Saturday, 04 August 2018, 10:45 GMT
Try this patch for the PKGBUILD.
Comment by Darek (blablo) - Saturday, 04 August 2018, 10:54 GMT
test results:
lirc 1:0.10.1-2 + --enable-devinput (see loqs patch)

$ systemctl status lircd.service
● lircd.service - Flexible IR remote input/output application support
Loaded: loaded (/usr/lib/systemd/system/lircd.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2018-08-04 12:48:45 CEST; 3min 33s ago
Docs: man:lircd(8)
http://lirc.org/html/configure.html
Main PID: 30352 (lircd)
Tasks: 2 (limit: 4915)
Memory: 844.0K
CGroup: /system.slice/lircd.service
└─30352 /usr/sbin/lircd --nodaemon

sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-64:>
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Info: Using remote: devinput-32.
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32:>
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32:>
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32:>
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32:>
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32:>
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32:>
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: /etc/lirc/lircd.conf.d/devinput.lircd.conf: devinput-32:>
sie 04 12:48:45 pasazer lircd-0.10.1[30352]: Notice: lircd(devinput) ready, using /var/run/lirc/lircd

It is FS#58238 :)

Comment by loqs (loqs) - Saturday, 04 August 2018, 11:24 GMT
The alternative would be to change the autodection code in configure.ac which uses

return access("/dev/input", R_OK) == 0 ? 0 : 1;

which fails in a clean chroot but would work for a locally logged in user.

Loading...