Skip to content
View in the app

A better way to browse. Learn more.

Learn more

GPIO in/output using IR pins on Generic Amlogic S905

Featured Replies

Hi, I always had the desire to understand if it is possible to use the pins of the IR sensor, as general input / output to control sensors and actuators ?!
What would be the steps to allow this?

 

My Board:

TX8 PRO / Amlogic S905W

 

root@arm-64:/sys/class/gpio# cat /sys/kernel/debug/gpio        

gpiochip1: GPIOs 401-500, parent: platform/c8834000.bus:pinctrl@4b0, periphs-banks:
gpio-420 (                    |regulator-hdmi-5v   ) out lo  
gpio-422 (                    |enable              ) out lo  
gpio-436 (                    |reset               ) out hi ACTIVE LOW
gpio-449 (                    |cd                  ) in  lo ACTIVE LOW
gpio-486 (                    |reset               ) out hi ACTIVE LOW
gpio-497 (                    |shutdown            ) out hi

root@arm-64:/sys/class/gpio# uname -a

Linux arm-64 5.6.0-rc6-arm-64 #20.05.0 SMP PREEMPT Fri Apr 3 13:19:09 MSK 2020 aarch64 aarch64 aarch64 GNU/Linux


 

  • Werner locked this topic
Guest
This topic is now closed to further replies.

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.