AnsweredAssumed Answered

iMX6 AOA protocol not working

Question asked by Mihailo Milenkovic on Jul 17, 2015
Latest reply on Aug 14, 2015 by Mihailo Milenkovic
Branched to a new discussion



I`m working on iMX6 dual and on a board based on SabreSD. I have JB4.3 with BSP 1.1.0 & 1.1.1, kernel version 3.0.35 and I`m trying to start accessory mode to uses AOA. I have traced down the problem that the device is never presenting it self as an accessory USB PID: 0x2D00 or 0x2D01.


When I look the kernel logs I can see some errors while trying to switch device to accesory mode:


<3>acc_complete_set_string, err -108

<3>acc_complete_set_string, err -108

<3>acc_complete_set_string, err -108











I have found that error -108 is -ESHUTDOWN error code from kernel/include/asm-generic/errno.h.


When I try this on Samsung Galaxu Nexus or Note4 where it works I can see in kernel log:

<6>[24186.401763] acc_open

<6>[24186.401977] acc_release

<6>[24186.402099] acc_open

<6>[24186.402191] acc_release

<6>[24186.404663] mtp_release

<6>[24186.404907] adb_release

<3>[24186.406127] android_usb: already disabled

<6>[24186.411895] adb_open

<6>[24186.412078] acc_bind_config

<6>[24186.412628] adb_bind_config


On my device it never reaches acc_bind_config and shows errors while trying to switch to accessory mode.


Did anybody encountered this problem, or have any idea where to look??