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 One LIRC GPIO

Featured Replies

Hi guys, I've been tring to get an IR LED to work with LIRC for a while now but just cant get it to work. I'm a bit of a noob with linux, so bear with me....
 
(using 5.05 desktop image)
I have been able to get a receiver working thanks to the stickied tutorial. Although only when running lircd manually with driver and device options,
I've setup hardware.conf but i think the /etc/init.d/lirc script overrides that.
 
Anyway its the sending using gpio that i need and the closest i've come is with the LIRC GPIO kernel module from here. As it compiles, loads and shows that the gpio pin has been allocated using:

cat /sys/kernel/debug/gpio

GPIOs 0-383, platform/sunxi-pinctrl, sunxi-pinctrl:
 gpio-15  (red_led             ) out hi
 gpio-16  (?                   ) out lo
 gpio-18  (gpio_remoteIRQ      ) out lo
 gpio-354 (?                   ) out hi
 gpio-362 (green_led           ) out lo

And when I run lircd manually with the new /dev/lirc1 device i can run irsend commands (no error saying it doesn't support it) but it's not activating the led (have tested with ir and white leds)
 
any ideas??
 
Thanks
Jungle

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.