mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Corrado Zoccolo <czoccolo@gmail.com>
To: Oliver Neukum <oliver@neukum.org>
Cc: linux-usb@vger.kernel.org, Jiri Kosina <jkosina@suse.cz>,
	oliver@neukum.name, Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: linux-2.6.30rc1 mouse stuck with usb autosuspend enabled
Date: Sun, 19 Apr 2009 15:29:28 +0200	[thread overview]
Message-ID: <4e5e476b0904190629s356a23bdw510f97510717d6b9@mail.gmail.com> (raw)
In-Reply-To: <200904161543.06238.oliver@neukum.org>

On Thu, Apr 16, 2009 at 3:43 PM, Oliver Neukum <oliver@neukum.org> wrote:
> Am Donnerstag 16 April 2009 14:45:12 schrieb Corrado Zoccolo:
> This is not the reliable way to check this. Please compile 2.6.29 with
> CONFIG_USB_DEBUG and post dmesg for a period of inactivity.

Oliver, you were right: 2.6.29 did not attempt at all to suspend the
mouse and its attached hum (2-x):
[   13.587023] uhci_hcd 0000:00:1d.0: reserve dev 2 ep81-INT, period
8, phase 4, 118 us
[   13.590044] uhci_hcd 0000:00:1d.0: release dev 2 ep81-INT, period
8, phase 4, 118 us
[   13.647022] uhci_hcd 0000:00:1d.0: reserve dev 2 ep81-INT, period
8, phase 4, 118 us
[   23.350008] eth0: no IPv6 routers present
[   47.177896] usb usb1: usb resume
[   47.177903] ehci_hcd 0000:00:1d.7: resume root hub
[   47.219020] hub 1-0:1.0: hub_resume
[   47.219368] usb usb3: usb resume
[   47.219375] usb usb3: wakeup_rh
[   47.219390] hub 1-0:1.0: state 7 ports 8 chg 0000 evt 0000
[   47.251011] hub 3-0:1.0: hub_resume
[   47.251162] usb usb4: usb resume
[   47.251165] usb usb4: wakeup_rh
[   47.251174] hub 3-0:1.0: state 7 ports 2 chg 0000 evt 0000
[   47.283014] hub 4-0:1.0: hub_resume
[   47.283155] usb usb5: usb resume
[   47.283159] usb usb5: wakeup_rh
[   47.283250] hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0000
[   47.315013] hub 5-0:1.0: hub_resume
[   47.315273] hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0000
[   48.454020] usb usb3: suspend_rh (auto-stop)
[   48.454039] usb usb4: suspend_rh (auto-stop)
[   48.454055] usb usb5: suspend_rh (auto-stop)
[   49.704028] hub 1-0:1.0: hub_suspend
[   49.704039] usb usb1: bus auto-suspend
[   49.704043] ehci_hcd 0000:00:1d.7: suspend root hub
[   49.704069] hub 3-0:1.0: hub_suspend
[   49.704073] usb usb3: bus auto-suspend
[   49.704076] usb usb3: suspend_rh
[   49.704090] hub 4-0:1.0: hub_suspend
[   49.704093] usb usb4: bus auto-suspend
[   49.704095] usb usb4: suspend_rh
[   49.704108] hub 5-0:1.0: hub_suspend
[   49.704111] usb usb5: bus auto-suspend
[   49.704114] usb usb5: suspend_rh

2.6.30-rc2, instead:
[  189.705618] uhci_hcd 0000:00:1d.0: release dev 2 ep81-INT, period
8, phase 4, 118 us
[  189.708622] usb 2-1: usb auto-suspend
[  192.704031] hub 2-0:1.0: hub_suspend
[  192.704042] usb usb2: bus auto-suspend
[  192.704046] usb usb2: suspend_rh
* mouse click *
[  197.057083] usb usb2: usb resume
[  197.057088] usb usb2: wakeup_rh
[  197.089011] hub 2-0:1.0: hub_resume
[  197.089022] uhci_hcd 0000:00:1d.0: port 1 portsc 01a5,01
[  197.089028] hub 2-0:1.0: port 1: status 0303 change 0004
[  197.089043] hub 2-0:1.0: state 7 ports 2 chg 0002 evt 0000
[  197.089050] uhci_hcd 0000:00:1d.0: port 1 portsc 01a5,01
[  197.089056] usb 2-1: usb wakeup-resume
[  197.089063] usb 2-1: finish resume
[  197.096035] uhci_hcd 0000:00:1d.0: reserve dev 2 ep81-INT, period
8, phase 4, 118 us
[  197.096042] hub 2-0:1.0: resume on port 1, status 0
[  197.096046] hub 2-0:1.0: port 1, status 0303, change 0004, 1.5 Mb/s

Thanks,
Corrado

>
>        Regards
>                Oliver
>
>



-- 
__________________________________________________________________________

dott. Corrado Zoccolo                          mailto:czoccolo@gmail.com
PhD - Department of Computer Science - University of Pisa, Italy
--------------------------------------------------------------------------

  reply	other threads:[~2009-04-19 13:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-09 21:53 Corrado Zoccolo
2009-04-16 10:15 ` Jiri Kosina
2009-04-16 12:45   ` Corrado Zoccolo
2009-04-16 13:43     ` Oliver Neukum
2009-04-19 13:29       ` Corrado Zoccolo [this message]
2009-04-19 15:50         ` Oliver Neukum

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=4e5e476b0904190629s356a23bdw510f97510717d6b9@mail.gmail.com \
    --to=czoccolo@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=oliver@neukum.name \
    --cc=oliver@neukum.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®