How to check the status of leds in imx8m mini in Android OS

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check the status of leds in imx8m mini in Android OS

440 Views
Ruban1
Contributor II

How to check the status of leds in imx8m mini in Android OS. Can you provide the path where the status of the leds.

Using minicom. to access sys or proc folder in tat gpio and leds.. I am getting permission denied . i am not able to use sudo also how can i resolve these problem in Android 10. 2.3 OS

0 Kudos
7 Replies

429 Views
igorpadykov
NXP TechSupport
NXP TechSupport
0 Kudos

412 Views
Ruban1
Contributor II

Can you provide exact path where i can find the on board led status

0 Kudos

400 Views
igorpadykov
NXP TechSupport
NXP TechSupport

>Can you provide exact path where i can find the on board led status

 

default image has not such "path where i can find the on board led status".

 

Best regards
igor

0 Kudos

396 Views
Ruban1
Contributor II

But in yocto i am able to c the status of on board led. why i am not able to see in Android

0 Kudos

387 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Android have some higher layers for accessing gpios, it is described in more details on

https://developer.android.com/things/sdk/pio/gpio

https://www.digi.com/resources/documentation/digidocs/embedded/android/oreo/cc6/android_r_apix-gpio

 

Best regards
igor

 

0 Kudos

274 Views
Ruban1
Contributor II

both the link is not supported in android studio . Send which will support to create in android app.

i am trying to create an app in Android Studio to directly control of GPIO and I2C and UART. can you kindly provide me recommented document which be used to control the pins through APP and required documents .  

0 Kudos

289 Views
Ruban1
Contributor II

which you sent is for android things. imx8mm is not supporting the app is getting crashed . there  is no package avaliable for getting the avaliable GPIO

 

0 Kudos