Menu

#376 Driver `default' not found or not loadable

Future
closed
None
notabug
2025-06-30
2023-04-20
Lee Ballard
No

Uding commit 125001ba32646c7cd9696d961b0d36c911dbb40e

and building it on Pi 1B+
Linux raspberrypi 5.15.84+ #1613 Thu Jan 5 11:58:09 GMT 2023 armv6l
Raspbian GNU/Linux 11 (bullseye)

after configuring and building I see the following error

pi@raspberrypi:/usr/local/etc/lirc $ /usr/local/sbin/lircd --nodaemon
Driver `default' not found or not loadable (wrong or missing -U/--plugindir?).

Available drivers:
accent           asusdh           atwf83           bte              bw6130           creative         creative_infracd devinput
dsp              dvico            ea65             file             girs             i2cuser          irlink           irtoy
livedrive_midi   livedrive_seq    logitech         macmini          mouseremote      mouseremote_ps2  mp3anywhere      mplay
mplay2           pcmak            pinsys           pixelview        samsung          sb0540           silitek          sonyir
tira             tira_raw         udp              uirt2            uirt2_raw        usb_uirt_raw     usbx             zotac

pi@raspberrypi:/usr/local/etc/lirc $ /usr/local/sbin/lircd --version
lircd 0.10.3-devel

This is the contents of lirc_options.conf :

[lircd]
nodaemon        = False
#driver          = devinput
#device          = auto
driver          = default
device          = /dev/lirc-rx
output          = /var/run/lirc/lircd
pidfile         = /var/run/lirc/lircd.pid
plugindir       = /usr/local/lib/arm-linux-gnueabihf/lirc/plugins
#plugindir       = /usr/lib/arm-linux-gnueabihf/lirc/plugins

I can work around the problem by pointing the plugin dir to the old 0.10.1 plugins in usr/lib instead of /usr/local/lib the default driver is there it just will not work

pi@raspberrypi:/etc $ ls /usr/local/lib/arm-linux-gnueabihf/lirc/plugins
accent.la            creative_infracd.so  dsp.la   girs.so     irtoy.la           logitech.so     pcmak.la      silitek.so    uirt2_raw.so
accent.so            creative.la          dsp.so   hiddev.la   irtoy.so           mouseremote.la  pcmak.so      tira.la       uirt2.so
atwf83.la            creative.so          ea65.la  hiddev.so   livedrive_midi.la  mouseremote.so  pinsys.la     tira.so       usbx.la
atwf83.so            default.la           ea65.so  i2cuser.la  livedrive_midi.so  mp3anywhere.la  pinsys.so     udp.la        usbx.so
bte.la               default.so           file.la  i2cuser.so  livedrive_seq.la   mp3anywhere.so  pixelview.la  udp.so        zotac.la
bte.so               devinput.la          file.so  irlink.la   livedrive_seq.so   mplay.la        pixelview.so  uirt2.la      zotac.so
creative_infracd.la  devinput.so          girs.la  irlink.so   logitech.la        mplay.so        silitek.la    uirt2_raw.la
pi@raspberrypi:/etc $

Discussion

  • Sean Young

    Sean Young - 2023-04-23
    • assigned_to: Sean Young
     
  • Sean Young

    Sean Young - 2023-04-30

    I've tried to reproduce this but it works fine for me.

    The problem is that in your lirc_options.conf you have:

    plugindir       = /usr/local/lib/arm-linux-gnueabihf/lirc/plugins
    

    That should be

    plugindir       = /usr/local/lib/lirc/plugins
    

    Unless you have configured your build differently.

    If this does not help please let us know your exact ./configure command line and following steps. I have no idea where /usr/local/lib/arm-linux-gnueabihf/lirc/plugins comes from.

     
  • Lee Ballard

    Lee Ballard - 2023-05-01

    Still seeing the issue when I change plugindir to /usr/local/lib/lirc/plugins.

    These are the build steps I use:

    tmux
    git clean -xf
    autoreconf --install
    mkdir _build
    cd _build
    ../configure
    make
    sudo make install
    sudo lirc-postinstall ./python-pkg/lirc/config.py
    

    It's specific to the "default" driver and it may be specific to ARM 32 bit or Pi 1B+. Have you tried to reproduce on Pi Zero?

    pi@raspberrypi:/usr/local/lib/lirc/plugins $ sudo /usr/local/sbin/lircd --nodaemon -U /usr/local/lib/lirc/plugins
    Driver `default' not found or not loadable (wrong or missing -U/--plugindir?).
    
    Available drivers:
    accent           asusdh           atwf83           bte
    bw6130           creative         creative_infracd devinput
    dsp              dvico            ea65             file
    girs             i2cuser          irlink           irtoy
    livedrive_midi   livedrive_seq    logitech         macmini
    mouseremote      mouseremote_ps2  mp3anywhere      mplay
    mplay2           pcmak            pinsys           pixelview
    samsung          sb0540           silitek          sonyir
    tira             tira_raw         udp              uirt2
    uirt2_raw        usb_uirt_raw     usbx             zotac
    
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ sudo /usr/local/sbin/lircd --nodaemon -U /usr/lib/arm-linux-gnueabihf/lirc/plugins
    lircd-0.10.3-devel[25902]: Info: lircd:  Opening log, level: Info
    lircd-0.10.3-devel[25902]: Warning: Running as root
    lircd-0.10.3-devel[25902]: Info: Using remote: Samsung_MF59-00291a.
    lircd-0.10.3-devel[25902]: Info: Using remote: Sony_RMT-VB201U.
    lircd-0.10.3-devel[25902]: Notice: lircd(default) ready, using /var/run/lirc/lircd
    ^Clircd-0.10.3-devel[25902]: Notice: caught signal
    
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ sudo /usr/local/sbin/lircd --nodaemon -U /usr/lib/lir^C
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ ls /usr/l
    lib/     libexec/ local/
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ ls /usr/lib/l
    ld-linux-armhf.so.3   libsigc-1.2.so.5      locale/
    ld-linux.so.3         libsigc-1.2.so.5.0.7  lsb/
    libident.so.0         libsupp.a
    libident.so.0.22      llvm-11/
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ man lircd
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ sudo /usr/local/sbin/lircd --nodaemon -U /usr/local/lib/lirc/plugins
    Driver `default' not found or not loadable (wrong or missing -U/--plugindir?).
    
    Available drivers:
    accent           asusdh           atwf83           bte
    bw6130           creative         creative_infracd devinput
    dsp              dvico            ea65             file
    girs             i2cuser          irlink           irtoy
    livedrive_midi   livedrive_seq    logitech         macmini
    mouseremote      mouseremote_ps2  mp3anywhere      mplay
    mplay2           pcmak            pinsys           pixelview
    samsung          sb0540           silitek          sonyir
    tira             tira_raw         udp              uirt2
    uirt2_raw        usb_uirt_raw     usbx             zotac
    
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ sudo /usr/local/sbin/lircd --nodaemon -U /usr/local/lib/lirc/plugins -H devinput
    lircd-0.10.3-devel[26110]: Info: lircd:  Opening log, level: Info
    lircd-0.10.3-devel[26110]: Warning: Running as root
    lircd-0.10.3-devel[26110]: Info: Using remote: Samsung_MF59-00291a.
    lircd-0.10.3-devel[26110]: Info: Using remote: Sony_RMT-VB201U.
    lircd-0.10.3-devel[26110]: Notice: lircd(devinput) ready, using /var/run/lirc/lircd
    ^Clircd-0.10.3-devel[26110]: Notice: caught signal
    
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ sudo /usr/local/sbin/lircd --nodaemon -U /usr/lib/arm-linux-gnueabihf/lirc/plugins -H default
    lircd-0.10.3-devel[26137]: Info: lircd:  Opening log, level: Info
    lircd-0.10.3-devel[26137]: Warning: Running as root
    lircd-0.10.3-devel[26137]: Info: Using remote: Samsung_MF59-00291a.
    lircd-0.10.3-devel[26137]: Info: Using remote: Sony_RMT-VB201U.
    lircd-0.10.3-devel[26137]: Notice: lircd(default) ready, using /var/run/lirc/lircd
    ^Clircd-0.10.3-devel[26137]: Notice: caught signal
    
    pi@raspberrypi:/usr/local/lib/lirc/plugins $ sudo /usr/local/sbin/lircd --nodaemon -U /usr/local/lib/lirc/plugins -H default
    Driver `default' not found or not loadable (wrong or missing -U/--plugindir?).
    
    Available drivers:
    accent           asusdh           atwf83           bte
    bw6130           creative         creative_infracd devinput
    dsp              dvico            ea65             file
    girs             i2cuser          irlink           irtoy
    livedrive_midi   livedrive_seq    logitech         macmini
    mouseremote      mouseremote_ps2  mp3anywhere      mplay
    mplay2           pcmak            pinsys           pixelview
    samsung          sb0540           silitek          sonyir
    tira             tira_raw         udp              uirt2
    uirt2_raw        usb_uirt_raw     usbx             zotac
    
     
  • Sean Young

    Sean Young - 2023-05-21

    I've tried to reproduce this again. I do not have a pi zero, I have pi model 3b. I have used the 32 bit raspbian (11 bullseye) though (clean image).

    Some observations.

    1. For a git clean use -fdx, you're missing the d which removes directories
    2. Rather than autoreconf --install run ./autoget.sh.
    3. How have you configured the library path to include /usr/local/lib?
    4. Can you provide the entire build output please, so all the output from configure, make, and all the commands.

    Thanks.
    Sean

     
  • Sean Young

    Sean Young - 2025-06-30
    • status: open --> closed
    • Resolution: na --> notabug
     
  • Sean Young

    Sean Young - 2025-06-30

    No update in two years, closing

     

Log in to post a comment.

MongoDB Logo MongoDB