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

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

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

2,224 次查看
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

标签 (3)
标记 (2)
0 项奖励
回复
2 回复数

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

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