Jop Posted June 29, 2020 Share Posted June 29, 2020 (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 June 29, 2020 by Jop Link to comment Share on other sites More sharing options...
Igor Posted June 30, 2020 Share Posted June 30, 2020 Did you enable IR in armbian-config -> system -> hardware? Link to comment Share on other sites More sharing options...
Jop Posted July 3, 2020 Author Share Posted July 3, 2020 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 ? Link to comment Share on other sites More sharing options...
Igor Posted July 4, 2020 Share Posted July 4, 2020 13 hours ago, Jop said: Has anyone a working guide I assume you have invested some time into this https://forum.armbian.com/search ? Link to comment Share on other sites More sharing options...
Jop Posted July 5, 2020 Author Share Posted July 5, 2020 Many days, not only in this forum. Sorry, but your reply does not help. Link to comment Share on other sites More sharing options...
Igor Posted July 5, 2020 Share Posted July 5, 2020 3 hours ago, Jop said: Sorry, but your reply does not help. AFAIK transmitting is not supported by hardware, first hit in the search engine: https://forum.armbian.com/search/?q=ir transmitting&fromCSE=1 Link to comment Share on other sites More sharing options...
Technicavolous Posted July 5, 2020 Share Posted July 5, 2020 Certainly looks to me to be a receiver only http://wiki.friendlyarm.com/wiki/index.php/NanoPi_NEO#Test_Infrared_Receiver Link to comment Share on other sites More sharing options...
martinayotte Posted July 5, 2020 Share Posted July 5, 2020 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... Link to comment Share on other sites More sharing options...
Jop Posted July 6, 2020 Author Share Posted July 6, 2020 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? Link to comment Share on other sites More sharing options...
usual user Posted July 6, 2020 Share Posted July 6, 2020 54 minutes ago, Jop said: I think, this should be handled by the pwm_ir_tx/gpio_ir_tx modules For these modules to work, at least the correct Devicetree configuration must be available. This way they know how to operate the tx led and how it is wired up. Link to comment Share on other sites More sharing options...
Jop Posted July 10, 2020 Author Share Posted July 10, 2020 I don't know how to create such configuration. Link to comment Share on other sites More sharing options...
spender Posted October 21, 2020 Share Posted October 21, 2020 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! Link to comment Share on other sites More sharing options...
Recommended Posts