ADB does not work on beagle

Bug #845642 reported by Zach Pfeffer on 2011-09-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Low
vishal
Linaro Linux
Won't Fix
Undecided
John Stultz
linaro-landing-team-ti
Invalid
Undecided
Zach Pfeffer

Bug Description

$cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"

Plugged mini-usb cable into the target’s USB OTG port

Beagle C4

Android Debug Bridge version 1.0.26

Zach Pfeffer (pfefferz) on 2011-09-09
Changed in linaro-android:
assignee: nobody → vishal (vishalbhoj)
importance: Undecided → Critical
Zach Pfeffer (pfefferz) on 2011-09-09
Changed in linux-linaro:
assignee: nobody → John Stultz (jstultz)
Zach Pfeffer (pfefferz) wrote :

Beagle xM rev C is also not working.

Zach Pfeffer (pfefferz) on 2011-09-12
Changed in linaro-landing-team-ti:
assignee: nobody → Zach Pfeffer (pfefferz)
vishal (vishalbhoj) wrote :

Workaround:
adb works on beagle-xM with following steps:
1.Boot the device with usb cable plugged in.
2.unplug and plug the cable.
3.adb kill-server ;adb shell

warmcat (andy-warmcat) on 2011-09-26
Changed in linaro-landing-team-ti:
status: New → Invalid
Zach Pfeffer (pfefferz) wrote :

It doesn't work on Beagle xM rev C or Beagle rev C4 on 11.09 build 4:

https://android-build.linaro.org/builds/~linaro-android/beagle-11.09-release/#build=4

Zach Pfeffer (pfefferz) on 2011-10-04
Changed in linaro-android:
importance: Critical → High
importance: High → Medium
milestone: none → 11.10
vishal (vishalbhoj) wrote :

There was a patch to fix the issue but it looks like its not the right way to fix the issue. Here the mail reply on the patch

Felipe Balbi to Vishalbhoj

show details 4 Oct (7 days ago)

Hi,
- Hide quoted text -

On Mon, Oct 03, 2011 at 08:33:41PM +0400, Vishal Bhoj wrote:
> From: Vishal Bhoj <email address hidden>
>
> This check is needed since, suspend is getting called even after
> resume.This makes sure that its not pushed to suspend in resume
> case
>
> Signed-off-by: Vishal Bhoj <email address hidden>
> ---
> drivers/usb/otg/twl4030-usb.c | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/otg/twl4030-usb.c
> index efeb4d1..7d7606a 100644
> --- a/drivers/usb/otg/twl4030-usb.c
> +++ b/drivers/usb/otg/twl4030-usb.c
> @@ -552,6 +552,12 @@ static int twl4030_set_suspend(struct otg_transceiver *x, int suspend)
> {
> struct twl4030_usb *twl = xceiv_to_twl(x);
>
> + /* FIXME This check is added since suspend is getting
> + * called after resume.return in such case
> + */
> + if (twl->otg.last_event != USB_EVENT_NONE)
> + return 0;

I think you need to check why suspend gets called again.

From now on, send mails to the mailing lists, please.

--
balbi

Zach Pfeffer (pfefferz) wrote :
Changed in linaro-android:
status: New → Confirmed
importance: Medium → Low
vishal (vishalbhoj) wrote :

adb works on beagle-xM on https://android-build.linaro.org/builds/~linaro-android/beagle-11.10-release/#build=4

with following steps:
1.Boot the device with usb cable plugged in.
2.unplug and plug the cable.
3.adb kill-server ;adb shell

vishal (vishalbhoj) on 2011-10-27
tags: added: adb beagle-mainline beaglexm-mainline linaro-android
Changed in linaro-android:
milestone: 11.10 → backlog
Zach Pfeffer (pfefferz) on 2011-11-21
summary: - ADB does not work on beagle-11.09-release build 2
+ ADB does not work on beagle
Amit Pundir (pundiramit) wrote :

Marking Gingerbread open bugs to "Won't fix" state (on Linaro-Android helpdesk) as fixes are done only on ICS track now. Please raise this bug again against latest Linaro-ICS release if it still exist.

Changed in linaro-android:
status: Confirmed → Won't Fix
Linus Walleij (triad) wrote :

Out of date.

Changed in linux-linaro:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints