Nikolai Asparuhov Posted May 28, 2016 Posted May 28, 2016 We try to set up lirc on opi pc, but only receive works fine, any idea how to set it up to work in both modes - transmit and receive?
Igor Posted May 28, 2016 Posted May 28, 2016 I am not sure we have a driver for send in kernel. It exists in A20 kernel for gpio based IR transmitter. I did few tests and it works, but I am not aware of limitations ...
Nikolai Asparuhov Posted May 29, 2016 Author Posted May 29, 2016 Can it be rebuild for H3, because we really need it, in A20 is ok yeah we also tested it, but here is a little bit more complicated. We can't find a way to recomplile it for H3, some help?
nopnop2002 Posted June 25, 2016 Posted June 25, 2016 Can it be rebuild for H3, because we really need it, in A20 is ok yeah we also tested it, but here is a little bit more complicated. We can't find a way to recomplile it for H3, some help? It's a Japanese page, but a method IR Send which doesn't use lirc is introduced here. http://feijoa.jp/laboratory/raspberrypi/infrared/ When using GoogleChrome, it's possible to translate into English. scanir Remote is received, and a scan code is preserved in a file. orangepi@orangepipc:~/lirc$ sudo ./scanir tv_on.ir write file: tv_on.ir scaning pin: 7 (wiringpi) max keep time: 40(ms) Infrared LED scanning start. Pressed Ctrl+C, this program will exit. Scanning has been done. orangepi@orangepipc:~/lirc$ ls -l tv_on.ir -rw-r--r-- 1 root root 476 Jun 26 07:56 tv_on.ir sendir The remote cord preserved by a file is sent to a television. orangepi@orangepipc:~/lirc$ sudo ./sendir tv_on.ir 1 14 read file: tv_on.ir output pin: 14 (wiringpi) unit: 26ms duty:9-17 send infrared signal. send data. done It's work fine with my OPI-PC, My television was turned on.
1pratham Posted August 6, 2016 Posted August 6, 2016 Can it be rebuild for H3, because we really need it, in A20 is ok yeah we also tested it, but here is a little bit more complicated. We can't find a way to recomplile it for H3, some help? Could you make it work in H3?
samsmith25 Posted January 28, 2017 Posted January 28, 2017 I too am trying to setup ir transmit on Allwinner (in my case H2+ OP zero). I have receive working with lirc but would like to use lirc gpio for transmit. I see in the Armbian release notes the following: v5.00 / 12.2.2016 ..... added LIRC GPIO receive and send driver for legacy Allwinner But I don't see it in my image. I'm running: Linux orangepizero 3.4.113-sun8i #50 SMP PREEMPT Mon Nov 14 08:41:55 CET 2016 armv7l GNU/Linux Is it not in the OP zero build, and if not, can I build it from git and install it?
Igor Posted January 29, 2017 Posted January 29, 2017 In the time of writing that log entry, we had only A10 & A20 legacy kernel. For H3 (sun8i) there is yet another source tree, where there is no such driver. You can try to help with this patch, but it won't just work out of the box. https://github.com/igorpecovnik/lib/blob/master/patch/kernel/sun7i-default/0050-lircgpio_and_raw.patch It need to be adjusted -> you need to know what you are doing.
yigido Posted July 14, 2017 Posted July 14, 2017 @nopnop2002 Can you tell me how the tv_on.ir locks like?
Recommended Posts