LIRC-LSPLUGINS(1)
π lirc-lsplugins β the manual, but make it make sense π
okay bestie, so this is lirc-lsplugins, a User Commands situation, and it's genuinely one of the most useful little gremlins in the whole lirc toolbox. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
lirc-lsplugins β print dynamic modules info. that's the whole vibe. it tells you what's in your plugin dirs and whether they're actually loadable. no cap.
π SYNOPSIS π
lirc-lsplugins [-l] [-q] [-U plugindir] [drivers]
lirc-lsplugins -e [-q] [-U plugindir]
lirc-lsplugins -y [-U plugindir]
three whole moods, pick your fighter π
π¦ DESCRIPTION π¦
so what does it do? it's the tool that writes out a simple lil list with info for every driver it finds. and like, the important part β it also tells you when a plugin can't be loaded, for example because of unresolved references. so it's not just flexing a list at you, it's doing a whole vibe check on your plugins. π©Ίβ¨
the drivers argument is optional, and it's a selector β it narrows the output down to just the drivers that match. the match is a glob-type match, exactly like fnmatch() does it. so tira* energy. π
π OPTIONS π
-U,--plugindir<path>β use<path>to go searching for plugins. it's a':'-separated search path, so basically the same energy as$PATHbut for plugins. slay.-q,--quietβ don't write headers and don't write the trailing legend. just the raw goods. π€«-s,--summaryβ just write a summary over the number of plugins, drivers and errors. the TL;DR option, obsessed.-e,--errorsβ only list plugins that can't be loaded, or that don't contain any drivers. the "who's failing bestie" mode. π-y,--yamlβ make a YAML listing reflecting the drivers' configuration hints, like thedevice_hint. heads up tho: the format is unstable and it's primarily used bylirc-setup(1). so don't go building your whole life on it fr fr.-l,--longβ add info on driver features. the extended director's cut. π₯-p,--default-pathβ print the default search path and exit. that's it, that's the whole job. β¨-h,--helpβ display usage summary. your girl when you're lost.-v,--versionβ display version info. π
π EXAMPLES π
$ lirc-lsplugins -U ../lib/.libs:/usr/local/lib/lirc/plugins tira*
this lists all drivers with a name matching tira* found in plugins living in ../lib/.libs or /usr/local/lib/lirc/plugins. iconic. it's giving "show me every tira driver and nowhere else". πΈ
β RETURN VALUE β
lirc-lsplugins returns a non-zero error code if there's at least one plugin from which no driver can be loaded, or if options and parameters can't be parsed. otherwise? it returns zero. so zero = we're so back, non-zero = it's over. π
π BUGS π
lowkey a real one: some drivers change their capabilities at runtime, after inspecting the underlying hardware. those runtime capabilities can not be listed by lirc-lsplugins. so if something looks different at runtime than it does here, that's why β it's not you, it's the hardware inspection. π«Ά
π SEE ALSO π
that's the whole page bestie, you ate it π version lirc-lsplugins 0.10.2, last changed Oct 2016, and honestly? still serving. periodt. πβ¨
π¦ where this page comes from
- alpine 3.24: lirc-doc 0.10.2-r4 Β· GPL-2.0-only
- debian trixie: lirc 0.10.2-0.10 Β· GPL-2.0-or-later
- fedora 43: lirc-core 0.10.2-4.fc43 Β· GPL-2.0-only AND LicenseRef-Callaway-BSD
- fedora 43: lirc-core 0.10.2-4.fc43 Β· GPL-2.0-only AND LicenseRef-Callaway-BSD
- fedora 44: lirc-core 0.10.2-5.fc44 Β· GPL-2.0-only AND LicenseRef-Callaway-BSD
- fedora 44: lirc-core 0.10.2-5.fc44 Β· GPL-2.0-only AND LicenseRef-Callaway-BSD
- nixos 26.05: lirc 0.10.2
- nixpkgs unstable: lirc 0.10.2
- opensuse-leap 16.0: lirc-core 0.10.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lirc-core 0.10.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lirc-core 0.10.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: lirc-core 0.10.2-160000.2.2 Β· GPL-2.0-or-later
- ubuntu noble: lirc 0.10.2-0.8build1 Β· GPL-2.0-or-later
- ubuntu questing: lirc 0.10.2-0.10build1
- ubuntu resolute: lirc 0.10.2-0.10ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: lirc 0.10.2-0.11 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms