All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur <timur.mehrvarz-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: ehci-tegra issue with deep sleep
Date: Tue, 11 Dec 2012 23:23:12 +0100	[thread overview]
Message-ID: <50C7B250.7020409@riseup.net> (raw)

Hi. I discovered a problem with USB host mode on a Nexus 7 running 
Android 4.2.x: USB slave devices will become undetectable ("not 
accepting address xx, error -71") after the host goes through a deep 
sleep cycle (60+ seconds loss of external power; running on battery). In 
this situation the methods tegra_ehci_suspend() and tegra_ehci_resume() 
are being called. I am _not_ experiencing this issue at all, when the 
host only goes through a light sleep cycle (less than 20 seconds of 
power loss). During light sleep, the methods tegra_ehci_suspend() and 
tegra_ehci_resume() are _not_ being called.

The slave device (a USB DAC; many different products have been tested) 
is loosing power in both cases. But this does not seem to be the 
problem, because slave devices stays accessible, when the host (N7) only 
goes through light sleep.

Is anyone aware of this problem? Has it been fixed since 3.1.10?
Thank you.

Timur

Project on github:
http://mehrvarz.github.com/usb-host-mode-power-management-nexus7

Discussion: "Can you charge & USB Host mode simultaneously?"
http://rootzwiki.com/forum/512-nexus-7

             reply	other threads:[~2012-12-11 22:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11 22:23 Timur [this message]
     [not found] ` <50C7B250.7020409-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2012-12-12 17:52   ` ehci-tegra issue with deep sleep Stephen Warren
     [not found]     ` <50C8C47A.1080809-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-01-03 11:52       ` Timur
     [not found]         ` <50E570F1.4030706-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2013-01-04 17:33           ` Stephen Warren
     [not found]             ` <50E71272.5090107-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-01-07 17:19               ` Timur Mehrvarz
     [not found]                 ` <50EB03A6.9040509-sGOZH3hwPm2sTnJN9+BGXg@public.gmane.org>
2013-01-08 22:19                   ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C7B250.7020409@riseup.net \
    --to=timur.mehrvarz-sgozh3hwpm2stnjn9+bgxg@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.