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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,806 次查看
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 项奖励
7 回复数

1,795 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励

1,778 次查看
Ruban1
Contributor II

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

0 项奖励

1,766 次查看
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 项奖励

1,762 次查看
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 项奖励

1,753 次查看
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 项奖励

1,640 次查看
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 项奖励

1,655 次查看
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 项奖励