Jump to content

Recommended Posts

Posted (edited)

Hi, 

 

i tried to get an infrared transmitter working, but without success. 

An /dev/lircX device is never created. I'm using an NanoPi Neo and want to use lirc.

The pwm_ir_tx/gpio_ir_tx modules are loaded but i can't see a device.

 

Can anyone help me?

 

Best regards

Joachim

Edited by Jop
Posted

When i enable CIR in armbian-config. A /dev/lirc0 is created, but ir-ctrl reports the following:
Receive features /dev/lirc0:
 - Device can receive raw IR
 - Can report decoded scancodes and protocol
 - Resolution 8 microseconds
Send features /dev/lirc0:
 - Device cannot send

 

Has anyone a working guide to enable transmitting IR codes via lirc on armbian ?

Posted

Many days, not only in this forum. Sorry, but your reply does not help.

Posted

The best option to have an IR Transmitter would be to use something like a BluePill STM32F103 board connected to the NanoPi, and having both IR RX and TX managed by this board, with proper firmware to also been able to "learn" IR codes that need to be emulated...

Posted

Thank you for your replies. IR is not direclty supported, but like on Rasperry Pi, transmitt may work via GPIO.
I think, this should be handled by the pwm_ir_tx/gpio_ir_tx modules?

Posted

Do like this:    so easy! on 5.8 kernel

1:  exec: armbian-config --->system--->hardware, open irc

2: dmesg while found ir device, and build device file on /dev/lirc0

3: install lirc application

4: configure , move /etc/lirc/lircd.conf.d/devinput.lircd.conf to /etc/lirc/lircd.conf.d/devinput.lircd.conf-dist

5: use irrecord to build a remote contrel coding file, and put it to dir: /etc/lir/lircd.conf.d, do: systemctl restart lircd

6: irw try to use it.(If press key no output, do step 5 agaen. may be you need "ir-keytable -p xxx" set your protocol) 

7: configure irexec , and exex it on daemon mode!  OK!   

 

I used lirc for "mpc command", and write a simplay script control music play!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines