Crash when enabling acm and adb in init.usb.rc

cancel
Showing results for 
Search instead for 
Did you mean: 

Crash when enabling acm and adb in init.usb.rc

1,077 Views
gaun
Contributor II

Hi,

 

 I am using the Android Marshmallow for Sabre SD platform for development and I have run into a critical kernel bug. I have followed the procedure as given in NXP for setup and installation of Marshmallow

 

Description below:

 

I need acm and adb via the usb otg. Hence I have put the following lines in the init.usb.rc file.

on property:sys.usb.config=acm,adb
    write /sys/class/android_usb/android0/enable 0
    write /sys/class/android_usb/android0/functions acm,adb
    write /sys/class/android_usb/android0/f_acm/instances 1
    write /sys/class/android_usb/android0/idVendor 18d1
    write /sys/class/android_usb/android0/idProduct 2d05
    write /sys/class/android_usb/android0/enable 1
    start adbd
    setprop sys.usb.state acm,adb

 

Now when I do a setprop sys.usb.config acm,adb I get a usb crash. Could somebody please help me troubleshoot this issue? I have attached the crash logs.

Original Attachment has been moved to: acm_adb_crash_logs.txt.zip

Labels (3)
Tags (2)
0 Kudos
2 Replies

166 Views
SergioSolis
NXP Employee
NXP Employee

Hello Gautam,

Please take a look at the following thread:

https://community.nxp.com/thread/309730 

Let me know if it helps...

0 Kudos

166 Views
gaun
Contributor II

SergioSolis,

No it does not help. I have tried this earlier and now again. I still see the crash.

Thanks,

Gautam.

0 Kudos