public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Ionescu <i_p_a_u_l@yahoo.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: USB development list <linux-usb-devel@lists.sourceforge.net>,
	acpi-devel@lists.sourceforge.net
Subject: Re: [ACPI] Re: kernel 2.6.10 , uhci-hcd problem after ACPI S3 suspend.
Date: Thu, 6 Jan 2005 10:07:40 -0800 (PST)	[thread overview]
Message-ID: <20050106180740.40359.qmail@web50203.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0501061044410.1024-100000@ida.rowland.org>

Hi Alan,

Now after a suspend/resume cycle, I see the devices
with lsusb, but they are not working (I tried a
mouse), and I get in logs a lot of:
Jan  6 20:04:14 r50p kernel:
drivers/usb/input/hid-core.c: input irq status -84
received
Jan  6 20:04:14 r50p kernel:
drivers/usb/input/hid-core.c: input irq status -84
received
Jan  6 20:04:14 r50p kernel: uhci_hcd 0000:00:1d.1:
suspend_hc
Jan  6 20:04:14 r50p kernel: uhci_hcd 0000:00:1d.1:
wakeup_hc
Jan  6 20:04:14 r50p kernel:
drivers/usb/input/hid-core.c: input irq status -84
received
Jan  6 20:04:16 r50p last message repeated 87 times
Jan  6 20:04:16 r50p kernel: uhci_hcd 0000:00:1d.1:
suspend_hc
Jan  6 20:04:16 r50p kernel: uhci_hcd 0000:00:1d.1:
wakeup_hc
Jan  6 20:04:17 r50p kernel:
drivers/usb/input/hid-core.c: input irq status -84
received
Jan  6 20:04:19 r50p last message repeated 86 times
Jan  6 20:04:19 r50p kernel: uhci_hcd 0000:00:1d.1:
suspend_hc
Jan  6 20:04:19 r50p kernel: uhci_hcd 0000:00:1d.1:
wakeup_hc
Jan  6 20:04:19 r50p kernel:
drivers/usb/input/hid-core.c: input irq status -84
received
Jan  6 20:04:21 r50p last message repeated 87 times

Now, even a rmmod/insmod after resume does not help
any more.
Tested with both ehci and uhci loaded when suspending.

Thanks,
Paul

--- Alan Stern <stern@rowland.harvard.edu> wrote:
> I think you've run across another indication that
> the suspend/resume 
> support in the USB drivers is not yet ready for
> prime time.  Does the 
> patch below help?  (Note: this is meant for use with
> CONFIG_USB_SUSPEND 
> not set.)
> 
> Alan Stern
> 
> 
> 
> --- 2.6.10-orig/drivers/usb/core/hcd.c	Mon Jan  3
> 09:39:35 2005
> +++ 2.6.10/drivers/usb/core/hcd.c	Thu Jan  6
> 10:43:16 2005
> @@ -534,7 +534,8 @@
>  
>  	/* complete the status urb, or retrigger the timer
> */
>  	spin_lock (&hcd_data_lock);
> -	if (urb->dev->state == USB_STATE_CONFIGURED) {
> +	if (urb->dev->state == USB_STATE_CONFIGURED &&
> +			hcd->state == USB_STATE_RUNNING) {
>  		length = hcd->driver->hub_status_data (
>  					hcd, urb->transfer_buffer);
>  		if (length > 0) {
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

  parent reply	other threads:[~2005-01-06 18:07 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-28 12:28 kernel 2.6.10 , uhci-hcd problem after ACPI S3 suspend Paul Ionescu
2004-12-29  3:11 ` Alan Stern
     [not found]   ` <Pine.LNX.4.44L0.0412282208440.19400-100000-pYrvlCTfrz9XsRXLowluHWD2FQJk+8+b@public.gmane.org>
2004-12-29 20:53     ` [linux-usb-devel] " Paul Ionescu
2004-12-31 16:32       ` Alan Stern
2005-01-01 16:20       ` Alan Stern
2005-01-02  4:37         ` Paul Ionescu
2005-01-04 18:15   ` [ACPI] " Bjorn Helgaas
2005-01-05 16:46     ` Paul Ionescu
     [not found]       ` <20050105164655.45860.qmail-zX69vREatC6A/QwVtaZbd3CJp6faPEW9@public.gmane.org>
2005-01-05 16:57         ` Re: [linux-usb-devel] " Stefan Dösinger
2005-01-05 19:07           ` [ACPI] " Paul Ionescu
2005-01-05 17:56         ` Re: [linux-usb-devel] " Alan Stern
     [not found]           ` <Pine.LNX.4.44L0.0501051254530.635-100000-3WpdWqXrU/qjv4eRiOYp3g@public.gmane.org>
2005-01-05 19:04             ` Paul Ionescu
2005-01-05 21:27               ` [ACPI] " Alan Stern
     [not found]                 ` <Pine.LNX.4.44L0.0501051555230.1001-100000-3WpdWqXrU/qjv4eRiOYp3g@public.gmane.org>
2005-01-05 21:59                   ` Re: [linux-usb-devel] " Paul Ionescu
2005-01-05 22:27                     ` [ACPI] " Alan Stern
2005-01-05 22:58                       ` Paul Ionescu
2005-01-06 15:40                         ` Alan Stern
2005-01-06 16:55                           ` Oliver Neukum
2005-01-06 18:28                             ` Paul Ionescu
2005-01-06 18:48                               ` Oliver Neukum
     [not found]                                 ` <200501061948.57848.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2005-01-06 19:13                                   ` Re: [linux-usb-devel] " Paul Ionescu
     [not found]                           ` <Pine.LNX.4.44L0.0501061038540.1024-100000-3WpdWqXrU/qjv4eRiOYp3g@public.gmane.org>
2005-01-06 17:40                             ` Paul Ionescu
2005-01-05 23:09                       ` [ACPI] " Paul Ionescu
2005-01-06 15:48                         ` Alan Stern
2005-01-06 17:31                           ` David Brownell
2005-01-06 18:07                           ` Paul Ionescu [this message]
2005-01-06 18:36                           ` Paul Ionescu
2005-01-06 17:37         ` Re: [linux-usb-devel] " David Brownell
2005-01-01 17:57 ` [ACPI] " Pavel Machek
     [not found]   ` <20050101175715.GA1345-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-01-02  4:36     ` Paul Ionescu
2005-01-02 19:02       ` [ACPI] " Pavel Machek

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=20050106180740.40359.qmail@web50203.mail.yahoo.com \
    --to=i_p_a_u_l@yahoo.com \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=stern@rowland.harvard.edu \
    /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