|
From: Richard B. <ri...@g8...> - 2018-09-11 11:50:12
|
Hi
I hope someone on this list can help, I've been using LIRC without
problems on my Hardkernel Odroid C2 SBC with ubuntu16.04
But the move to ubuntu18.04, which changed the directory structure and
functionality, now it just wont start.
Whereas before lircd could be started with "sudo service start lircd",
that now results in not being able to write to files in /var
So it looks as if the use of service has been fully replaced by
systemctl., verified on other applications that can no longer write to
/var
starting lircd with "sudo systemctl start lircd" does allow writing
to /var
but
"sudo systemctl status lircd" shows this:-
odroid@odroid:~$ sudo systemctl start lircd
odroid@odroid:~$ sudo systemctl status lircd
● lircd.service - Flexible IR remote input/output application support
Loaded: loaded (/lib/systemd/system/lircd.service; enabled; vendor
preset: enabled)
Active: failed (Result: signal) since Tue 2018-09-11 10:38:07 UTC;
14s ago
Docs: man:lircd(8)
http://lirc.org/html/configure.html
Process: 3858 ExecStart=/usr/sbin/lircd --nodaemon (code=killed,
signal=SEGV)
Main PID: 3858 (code=killed, signal=SEGV)
Sep 11 10:38:07 odroid systemd[1]: Started Flexible IR remote\
input/output application support.
Sep 11 10:38:07 odroid lircd[3858]: ciniparser: input line too long in\
/etc/lirc/lirc_options.conf (30)
Sep 11 10:38:07 odroid lircd-0.10.0[3858]: Info: lircd: Opening log,\
level: Info
Sep 11 10:38:07 odroid lircd-0.10.0[3858]: Notice: Version: lircd\
0.10.0
Sep 11 10:38:07 odroid lircd-0.10.0[3858]: Notice: System info: Linux\
odroid 3.16.57-25 #1 SMP PREEMPT Mon Jul 30 19:27:38 -03 2018 aarch64\
aarch6
Sep 11 10:38:07 odroid systemd[1]: lircd.service: Main process exited,\
code=killed, status=11/SEGV
Sep 11 10:38:07 odroid systemd[1]: lircd.service: Failed with result\
'signal'.
Sorry about the line wrapping
Ciniparser complains about the last line in the lirc_options.conf file
even if you put a hash at the start of the line !
lirc_options.conf file :-
[lircd]
nodaemon = False
driver = default
device = /dev/lirc0
output = /var/run/lirc/lircd
pidfile = /var/run/lirc/lircd.pid
plugindir = /usr/lib/aarch64-linux-gnu/lirc/plugins
permission = 666
allow-simulate = No
repeat-max = 600
#effective-user =
#listen = [address:]port
#connect = host[:port]
#loglevel = 6
#release = true
#release_suffix = _EVUP
#logfile = ...
#driver-options = ...
[lircmd]
uinput = False
nodaemon = False
[modinit]
code = /sbin/modprobe meson-ir
[lircd-uinput]
add-release-events = True
release-timeout = 50
release-suffix = _EVUP
The modules do load OK.
I suspect all the hard work you guys put is , has been undone by
ubuntu18.04.
Any help greatly appreciated
--
Best wishes /73
Richard Bown
Email : ri...@g8...
HTTP : http://www.g8jvm.com
######################################################################
Ham Call: G8JVM . QRV: 50-432 MHz + Microwave
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
QRV 6mtrs 200W, 4mtrs 150W, 2mtrs 300W, 70cms 200W,
Microwave 1296MHz 140W, 2320MHz 100W & 10368MHz 5W
OS: Linux Mint 19 x86_64 Tara, on a Dell Inspiron N5030 laptop
######################################################################
|