How to configure Atric IR-WakeupUSB with RPi4

  • Using /var/lock/lockdev is a bug in lirc 0.10.2 release archive.


    As work around create a systemd drop in file to make the required directory:

    Code: /storage/.config/system.d/lircd.service.d/lockdev.conf
    [Service]
    ExecStartPre=-/usr/bin/mkdir -p /var/lock/lockdev
  • As work around create a systemd drop in file to make the required directory:

    Code: /storage/.config/system.d/lirc.service.d/lockdev.conf
    [Service]
    ExecStartPre=-/usr/bin/mkdir -p /var/lock/lockdev

    your work around didn't work

    Code: console command
    systemctl enable lockdev

    This one is working after the above console command but may not follow the rules of systemd

    Code: /storage/.config/system.d/lockdev.service
    [Unit]
    Description=Workaround for LIRC issue
    After=lircd.service
    
    [Service]
    ExecStart=/usr/bin/mkdir -p /var/lock/lockdev
    
    [Install]
    WantedBy=multi-user.target

    How did you find out, that the lock file is missing, are there any logs for lirc in libreelec?

    If you are looking for logs have a look at this folder:

    smb share: Logfiles

    or

    /storage/logfiles

    Edited once, last by JurKub: Ein Beitrag von JurKub mit diesem Beitrag zusammengefügt. (November 21, 2024 at 2:15 PM).

  • your work around didn't work

    A drop in file is injected into the systemd service. Check with systemctl cat lircd and systemctl status lircd.


    logging is usually done into journal. For lirc use journalctl -u lircd, for anything just journalctl.