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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,812 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

1,801 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos

1,784 Views
Ruban1
Contributor II

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

0 Kudos

1,772 Views
igorpadykov
NXP Employee
NXP Employee

>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

1,768 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

1,759 Views
igorpadykov
NXP Employee
NXP Employee

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

1,646 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

1,661 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