Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OPI PC with lirc ( IR transmit )

Featured Replies

  • Author

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?

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.
 
 
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.
 

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?

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?

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.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.