What does your /default.prop say ?
Usually, the usb.config property will be configured to something like below:

persist.sys.usb.config=adb,mtp

Thanks,
Durga

On Wed, Apr 6, 2016 at 4:42 AM, <biks...@gmail.com> wrote:

> we are doing stability test for android device. It means we are just
> pinging device ip address. After test has passed, when we connected device
> with usb to the host  "adb devices" not working.
>
> When I checked the logs,I found below lines
>
> [161528.696960, 1] android_usb: Cannot enable 'none'
> [161528.709930, 1] musb-hdrc musb-hdrc: gadget android_usb D+ pullup on
> [161528.732116, 1] init: Service 'adbd' is being killed...
> [161528.739898, 0] adb_release
> [161528.748718, 0] musb-hdrc musb-hdrc: gadget android_usb D+ pullup off
> [161528.757568, 0] init: Service 'adbd' (pid 240) killed by signal 9
> [161528.765197, 0] init: Service 'adbd' (pid 240) killing any children in
> process group
> [161528.776000, 1] android_usb: already disabled
> [161528.783142, 0] android_usb: already disabled
> [161528.788879, 0] mtp_bind_config
> [161528.793121, 0] musb-hdrc musb-hdrc: gadget android_usb D+ pullup on
> [161534.863800, 1] musb-hdrc musb-hdrc: gadget android_usb D+ pullup off
> [161534.883087, 1] android_usb: Cannot enable 'none'
> [161534.888763, 1] musb-hdrc musb-hdrc: gadget android_usb D+ pullup on
> [161534.899749, 1] init: Starting service 'adbd'...
> [161534.905914, 1] init: Service 'adbd' is being killed...
> [161534.916534, 1] musb-hdrc musb-hdrc: gadget android_usb D+ pullup off
> [161534.927246, 1] init: Service 'adbd' (pid 17491) killed by signal 9
> [161534.934539, 1] init: Service 'adbd' (pid 17491) killing any children
> in process group
> -------------
> My analyzation is
>
> In "init.catalina.usb.rc" file, we can see that "on
> property:sys.usb.config=none" has been set.
> The above property has triggered means "It has disabled USB when switching
> states".
> so we are getting "android_usb: Cannot enable 'none' ".
>
> Incase of device connected to ethernet, it is in "none" state. And then
> when device is connected to host with usb it is not detecting.
>
> I donno where I have to reset the status or something.
>
> Please give me some hints.
>
> --
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Linux Kernel Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-kernel+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards
Durgadoss

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

Reply via email to