Hello,
About 5/8 years ago, I was using Lirc USB dongle on my RPi2 to control LibreElec.
See the old video here
I still have this USB device and want to use it again. Unfortunately, I can't find the small Linux application to record the remote codes nether in my archives nether in Internet. All links I found are broken (404).
If you have Lirc software Generation1 for Linux and maybe lirc_util, I would be very grateful to get it.
Many thanks
Lirc USB dongle Gen1, setup application search
-
MrNice -
May 26, 2025 at 10:47 AM -
Thread is Unresolved
-
-
I assume you mean "flirc_util" and the flirc USB IR receiever device?
If yes, there's a flirc_uril add-on in the LE add-on repo (install then reboot to use it). If for some reason that doesn't work with the flirc USB hardware that you have, contact flirc support and get them to investigate and fix that, and then we can update the add-on.
There are also Windows/macOS/Linux (Debian based distros) installers downloadable from the flirc.tv website.
-
Thank you!
Could you tell me the name of this add-on?
After connecting the USB dongle, I need to record the IR codes in it sent by my Universal Remote Control and associate them to a keyboard key. Is that the add-on is used to? Is it for the generation1, the old one transparent plastic?I was thinking the app is flirc to record and there is another flirc_util to export the data. Am I right?
Edit:
The only add-on regarding Flirc I see in the LibreElec web site is the Generation2 (V2).
Is the V2 working for Gen1 Hardware? Is it possible to record codes with it? -
The "flirc_util" add-on (complete with flirc logo) is in our repo under 'Program Add-ons' and testing it against your flirc hardware will take 2 minutes. If your flirc hardware shows an error or is flagged as unsupported by flirc software you need to contact flirc, because it's their software. All LE did was compile code from https://github.com/flirc/sdk and package it as an installable add-on.
I only have v2 flirc hardware and "it works for me" so
-
testing it against your flirc hardware will take 2 minutes.
Unfortunately not.
RPi3 is my old system, now I run an Odroid N2.
Anyway, I installed LE in my RPi3 and added flirc_util. It says it can only run on terminal.
So, I ssh it but the commands flirc_util, flirc or Flirc return "not found"Could you help me?
Edit: I found it; Path not set, I have to enter "/storage/.kodi/addons/tools.flirc_util/bin/flirc_util"
Now how to make it detect the dongle?
Edit2: I understand Fliirc command doesn't exist, only flirc_util, not easy to record IR codes. Am I right?
-
there's a flirc_uril add-on in the LE add-on repo (install then reboot to use it)
The same flirc_util add-on is available for RPi3 and our Amlogic image (AMLGX) running on an N2 board. In both cases you install the add-on and reboot (until reboot ^ the binary is not in $PATH and will not be found) and then run "flirc_util" and the binary will output a bunch of info, for example:
CodeRPi5:~ # flirc_util flirc_util version 11d52588b5a4b3e5c88825888e18ef03ce8658ac [11d5258+] Firmware Detected FW Version: v4.6.3v4.6.3 SKU: Flirc 2.0 [dori] Branch: master Config: release Hash: 0x93A109D3
^ hardware detected.
I understand Fliirc command doesn't exist, only flirc_util, not easy to record IR codes. Am I right?
I'm using a macOS laptop and there's a simple macOS (and Windows) app for updating the firmware and configuring flirc dongles (easily downloaded from the flirc website) and for that reason I've never bothered or needed to use flirc_util and cannot speak for how easy or complicated it is to use.
If you are sat behind a computer with macOS or Windows and a USB port. Are you using the right tool for the job?
-
Thank you chewitt.
This is the output Iget
##############################################
# LibreELEC #
# https://libreelec.tv #
##############################################LibreELEC (official): 12.0.2 (RPi2.arm)
LibreELEC:~ # flirc_util
[W] lib/cmds.c handle_longopt(180): `version' doesn not take '--pretty' option
flirc_util version 8fa330dc8741f2014de7af7f0761abb35ddadb65 [8fa330d+]
Commands:
delete Delete next remote button flirc sees from saved database
delete_index Delete button at index displayed in `flirc_util settings`
device_log Displays the log on the device
dfu Kick in or out of Device Firmware Upgrade mode...LibreELEC:~ # flirc_util version
device disconnected, can't run commandDevice is not detected, I think due to Flirc new version.
I only have Linux Opensuse 15.6, Odroid N2 and RPi3.
I'll search more in the net.Anyway, thank you for your help
-
Device is not detected, I think due to Flirc new version.
The owner of flirc says flirc_util should support all their hardware. If your device is not detected you need to get in contact with flirc support and let them investigate.
-
I tried the both software version Flirc-3.20.0 linux and win with WIne but as the device is acknowledged by the system, Flirc and flirc_util see it as unconnected.
[ 7158.975320] usb 1-7.4: new low-speed USB device number 16 using xhci_hcd
[ 7159.233417] usb 1-7.4: New USB device found, idVendor=20a0, idProduct=0001, bcdDevice= 1.00
[ 7159.233428] usb 1-7.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 7159.233434] usb 1-7.4: Product: flirc
[ 7159.233439] usb 1-7.4: Manufacturer: flirc.tv
[ 7159.298916] input: flirc.tv flirc Keyboard as /devices/pci0000:00/0000:00:02.1/0000:01:00.0/usb1/1-7/1-7.4/1-7.4:1.0/0003:20A0:0001.000E/input/input31
[ 7159.355470] hid-generic 0003:20A0:0001.000E: input,hidraw4: USB HID v1.01 Keyboard [flirc.tv flirc] on usb-0000:01:00.0-7.4/input0I just have read here that the last Flirc software version for Flirc USB Gen1 is v3.12.00
So this is that I a looking for.