[android-porting] Launching a shell script when ethernet link changes

2016-12-13 Thread Sriram V
Hello,

I am using android kitkat on a custom board.

How can i launch a shell script/a series of commands when the status
of ethernet link changes?

Can this be done.

Regards,
Sriram

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-porting] How to disable synchronization between audio and video when using openmax al api

2016-12-13 Thread Ashutosh Pandey
Hi, 

I am playing Mpeg2ts data streaming over udp network in android. I am using 
openmax al apis exposed in NDK.
I am facing high latency around 800-900 ms. I am suspecting because of 
audio and video synchronization overhead latency is very high.
I searched for api to disable audio and video synchronization but didn't 
find one. 

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-porting] Android 6.0.1 cannot detect external SD card on iMX6Q board

2016-12-13 Thread Phi Nguyen


Hi all,

i have problem with mount external SD card on my iMX6q board. When i insert 
or remove SD card, it can be detected and on debug console shows as:

when inserted:

mmc1: mmc_rescan_try_freq: trying to init card at 30 Hz
mmc1: host does not support reading read-only switch, assuming write-enable
mmc1: new high speed SDHC card at address 0007
mmcblk1: mmc1:0007 SL32G 28.9 GiB 
mmcblk1: p1 p2

 

BUT on android 6, nothing happens! i don't see any message inform new sd 
card inserted, i go to Settings -> Storage & USB and it only shows Internal 
Storage, NOT exist SD card. I try to use "File Manager" app and it only 
shows internal storage also!

 

in /device/fsl/sabresd_6dq/fstab.freescale i'm using this command:

devices/soc0/soc/210.aips-bus/2194000.usdhc/mmc_host/mmc1* auto auto 
defaults voldmanaged=sdcard1:auto,encryptable=userdata

 

Can any one give me some advices, where can i edit in android AOSP to 
mount/enable external sd card and can detect it? 

My device running on Android Mashmallow 6.0.1 and Kernel 4.1.15

 

Thanks!

 

Regards,

Nguyen

-- 
-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-porting+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.