Questions tagged [lirc]

LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls.

LIRC (Linux Infra-red Remote Control), is a software package that provides a full suite of tools relating to IR remote controls. It is possible to record signals created by remote controls and replay them. Many remote controls have been mapped, and their configurations have been uploaded and shared on the LIRC Remotes Database, making it possible to download and use many common remote controls.

LIRC can also act as an IR signal receiver and can be configured to make user-defined actions when specific signals are received.

LIRC is compatible with a wide range of IR related hardware, including custom built hardware plugged into to serial ports and GPIO pins.

75 questions
1
vote
1 answer

LIRC irexec behaviour for top command without login

I have successfully configured LIRC on an Odroid XU4 with Cloudshell TFT display. IR keys are seen. I configured lircrc to send the top output to the TFT on a certain key. The TFT screen is actually waked and cleaned, but the top output is not…
1
vote
3 answers

python lirc keyup function?

I a using lirc for python. This is working pretty good, but I miss one function: In my tests only a code was sent, when a button was pressed. Now, I want to print a code, while the key is pressed. In other words, a function should be started by "key…
vtni
  • 950
  • 3
  • 14
  • 43
1
vote
0 answers

LIRCsharp in Visual Studio 2015

I have been trying to find example code for the LIRC sharp package on Visual Studio and am unable to find anything of use. I am trying to code a Raspberry Pi running Windows core 10 (IoT, so C#) for use as both a remote receiver and emitter, but…
mdubois
  • 11
  • 1
1
vote
0 answers

Raspberry Pi- using LIRC for reverse engineering drone controller Infrared Signal

So I have a Raspberry Pi which has a Iguanaworks Infrared Transceiver connected to it. I am trying to use this in first phase to be able to reverse engineer what signals my drone controller sends so that I can use Leap Motion to control the drone.…
123123d
  • 195
  • 2
  • 14
1
vote
3 answers

compile MAKE LIRC on OSX 10.10 fails

I am trying to compile lirc latest (0.9.3.a) on osx 10.10, configure is successful, however make fails several times: lircd.cpp:748:6: error: no matching function for call to 'getgrouplist' r = getgrouplist(user, pw->pw_gid, groups,…
crankshaft
  • 2,607
  • 4
  • 45
  • 77
1
vote
1 answer

cgo: use typedef struct in preamble

I'm trying to make Go bindings for lirc: https://github.com/inando/go-lirc Simple functions like lirc_init() and lirc_deinit() work fine. For the function 'lirc_command_init()' I need to use a struct…
roeland
  • 6,058
  • 7
  • 50
  • 67
1
vote
0 answers

Decoding long Air Conditioner ir code

I am using Lirc software in Rpi to record raw ir codes, analyse it and save it as conf file. I am further using this conf file in Android App to generate raw code and send it to the ir blaster. This is working perfectly fine in case of TV or music…
Ritika
  • 73
  • 1
  • 9
1
vote
2 answers

Lircd.conf: My remote sends pre_data without key code when button is released

I want to "fake" a remote control to do some home automation and turn my tv STB on. This is not about "receiving" but "transmitting" to a receiver. I figured out the code for the relevant remote control and it kind of works. However, my tv set top…
1
vote
1 answer

Where is LIRC 36 kHz modulation function?

I'd like to modify LIRC to output non-modulated signal (without 36-39 kHz modulation). I'm looking at irsend.c, but fail to see the hardware control code. It must have been somewhere in lirc main files. Any hints?
dccharacter
  • 421
  • 1
  • 4
  • 14
1
vote
2 answers

LIRC - How to use as keyboard command?

i have a question about LIRC in Debian. I searched now for some days and could not find any solution for my problem. Is it possible to use an IR-Remote to send keyboard commads? I will explain: I use the "read" function in a shell script. So i.e. i…
Thomas
  • 53
  • 2
  • 9
1
vote
1 answer

mode2 command not found

I was trying to load LIRC GPIO on raspberry pi. When trying this mode2 -d /dev/lirc0 it gives -bash: mode2: command not found Do I need to install something to support it?
Jason
  • 53
  • 8
1
vote
1 answer

How do I pass an Extension type from cython to an imported C library

I'm creating a cython wrapper around the lirc library. I've had to wrap up the lirc_config struct as described by the tutorial but I need to pass a struct lirc_config * to a function in the library. So, the struct in question is (from…
tompreston
  • 630
  • 7
  • 24
0
votes
1 answer

Raspberry pi LIRC will not allow IR receiving

I Have connected both IR receiver and transmitter to my system. I followed a certain tutorial which enabled the system to use the IR receiver. But, when I connected my transmitter and Installed LIRC on my system, it stopped being able to receive…
Someone
  • 85
  • 4
0
votes
4 answers

I cannot redirect output to file

I use specific program named lirc_monitor is used to monitoring pressed keys on the embedded ARM device. I wanna redirect all output to file but I'm stuck I spended ~2 hours to check every option what I found and... nothing! file all the time…
jasko887
  • 29
  • 4
0
votes
0 answers

Buildroot python3-lirc is not working "cannot import name 'get_default_lircrc_path'

I have set up a RaspberryPi 3 with Buildroot including python3 and also python-lirc using utils/scanpypi python-lirc which also worked fine, included this in my main config.in tho show in make menuconfig and compiled without errors. But when trying…
karlo922
  • 141
  • 8