lirc + kodi

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

lirc + kodi

Postby snock » Wed Feb 13, 2019 12:02 pm

I had lirc working with kodi. But yesterday I update systemd and it has stopped working.

Code: Select all
[kodi@Raspberry ~]$ sudo systemctl status lircd       
[sudo] password for kodi:
● 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 Wed 2019-02-13 12:54:28 CET; 22s ago
     Docs: man:lircd(8)
           http://lirc.org/html/configure.html
 Main PID: 435 (lircd)
    Tasks: 2 (limit: 1752)
   CGroup: /system.slice/lircd.service
           └─435 /usr/sbin/lircd --nodaemon

feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Info: lircd:  Opening log, level: Info
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Notice: Using systemd fd
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Warning: Running as root
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Info: Using remote: mando.
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Notice: lircd(default) ready, using /var/run/lirc/lircd
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Notice: accepted new client on /var/run/lirc/lircd
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Info: Cannot configure the rc device for /dev/lirc0
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Info: removed client
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Notice: accepted new client on /var/run/lirc/lircd
feb 13 12:54:28 Raspberry lircd-0.10.1[435]: Info: Cannot configure the rc device for /dev/lirc0
[kodi@Raspberry ~]$ sudo systemctl status lircd.socket
● lircd.socket
   Loaded: loaded (/usr/lib/systemd/system/lircd.socket; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2019-02-13 12:54:23 CET; 1min 14s ago
   Listen: /run/lirc/lircd (Stream)
   CGroup: /system.slice/lircd.socket

feb 13 12:54:23 Raspberry systemd[1]: Listening on lircd.socket.
[kodi@Raspberry ~]$ irw
00000000205d40bf 00 KEY_DOWN mando
00000000205d40bf 00 KEY_DOWN mando
00000000205d40bf 00 KEY_DOWN mando
00000000205dc03f 00 KEY_UP mando
00000000205dc03f 01 KEY_UP mando

[kodi@Raspberry ~]$ sudo systemctl status kodi
● kodi.service - Kodi standalone
   Loaded: loaded (/usr/lib/systemd/system/kodi.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2019-02-13 12:54:24 CET; 5min ago
  Process: 261 ExecStartPre=/bin/sh -c echo 0 > /sys/class/vtconsole/vtcon1/bind (code=exited, status=0/SUCCESS)
  Process: 279 ExecStartPre=/usr/bin/fbset -g 4 2 4 2 32 (code=exited, status=0/SUCCESS)
 Main PID: 280 (kodi-standalone)
    Tasks: 31 (limit: 1752)
   CGroup: /system.slice/kodi.service
           ├─280 /bin/sh /usr/bin/kodi-standalone -l /var/run/lirc/lircd
           ├─284 /bin/sh /usr/bin/kodi --standalone -l /var/run/lirc/lircd
           └─292 /usr/lib/kodi/kodi-rbpi --standalone -l /var/run/lirc/lircd

feb 13 12:54:23 Raspberry systemd[1]: Starting Kodi standalone...
feb 13 12:54:24 Raspberry systemd[1]: Started Kodi standalone.
feb 13 12:54:24 Raspberry kodi-standalone[280]: which: no start-pulseaudio-x11 in (/usr/local/sbin:/usr/local/bin:/usr/bin)
feb 13 12:54:24 Raspberry kodi-standalone[280]: which: no pulse-session in (/usr/local/sbin:/usr/local/bin:/usr/bin)

[kodi@Raspberry ~]$ dmesg | grep lirc
[    6.126035] lirc_dev: IR Remote Control driver registered, major 243
[    6.182489] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[    6.988875] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[    7.233409] lirc_rpi: auto-detected active low receiver on GPIO pin 18
[    7.233632] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0
[    7.233637] lirc_rpi: driver registered!
[    9.332670] audit: type=1130 audit(1550058864.733:25): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lircd-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[    9.333047] audit: type=1131 audit(1550058864.733:26): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lircd-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   13.366449] audit: type=1130 audit(1550058868.773:29): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lircd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'



config.txt

Code: Select all
dtoverlay=lirc-rpi
dtparam=gpio_in_pin=18
dtparam=gpio_out_pin=17


snock
 
Posts: 1
Joined: Wed Feb 13, 2019 11:57 am

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests