public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.0-test2: Lost USB mouse after resuming from S3
@ 2003-08-06 16:37 Michael Frank
       [not found] ` <200308070037.31630.mflt1-DTdK3Ks6N5kHTnRCetW4+N0b+6lKrnBL@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Frank @ 2003-08-06 16:37 UTC (permalink / raw)
  To: linux-kernel
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	usb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Causes are that usb-host controller does no handle S3 yet _plus_ possibly (depending on your hardware) 
loss of PCI interrupt links as current ACPI does not resume those.

Regards
Michael


-- 
Powered by linux-2.6-test2-mm4. Compiled with gcc-2.95-3 - mature and rock solid

2.4/2.6 kernel testing: ACPI PCI interrupt routing, PCI IRQ sharing, swsusp
2.6 kernel testing:     PCMCIA yenta_socket, Suspend to RAM with ACPI S1-S3

More info on swsusp: http://sourceforge.net/projects/swsusp/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.0-test2: Lost USB mouse after resuming from S3
       [not found] ` <200308070037.31630.mflt1-DTdK3Ks6N5kHTnRCetW4+N0b+6lKrnBL@public.gmane.org>
@ 2003-08-06 21:39   ` Greg KH
       [not found]     ` <20030806213941.GA7618-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2003-08-06 21:39 UTC (permalink / raw)
  To: Michael Frank
  Cc: linux-kernel, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	usb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Thu, Aug 07, 2003 at 12:37:31AM +0800, Michael Frank wrote:
> Causes are that usb-host controller does no handle S3 yet _plus_
> possibly (depending on your hardware) loss of PCI interrupt links as
> current ACPI does not resume those.

Known issue, please unload the usb modules before suspending them.

The upcoming suspend patches will allow us to fix this "properly",
please give us a few weeks :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.0-test2: Lost USB mouse after resuming from S3
       [not found] ` <E19kbYw-0001pW-00-ek0oC1U1TqqnvZpeIfgr/KQD96bmaF075NbjCUgZEJk@public.gmane.org>
@ 2003-08-07 10:56   ` Rob Miller
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Miller @ 2003-08-07 10:56 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	usb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> Date: Wed, 6 Aug 2003 14:39:41 -0700
> From: Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
> To: Michael Frank <mflt1-DTdK3Ks6N5kHTnRCetW4+N0b+6lKrnBL@public.gmane.org>
> Cc: linux-kernel <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
>    
> Subject: [ACPI] Re: 2.6.0-test2: Lost USB mouse after resuming from S3
> 
> On Thu, Aug 07, 2003 at 12:37:31AM +0800, Michael Frank wrote:
> > Causes are that usb-host controller does no handle S3 yet _plus_
> > possibly (depending on your hardware) loss of PCI interrupt links as
> > current ACPI does not resume those.
> 
> Known issue, please unload the usb modules before suspending them.
> 
> The upcoming suspend patches will allow us to fix this "properly",
> please give us a few weeks :)

I hope you have a chance to look at a uhci/usbnet problem I have found.  
If I connect and disconnect my Zaurus 5500 ...

kernel: usb0: register usbnet usb-00:1d.0-1, Sharp Zaurus SL-5x00
... [ping a few packets] ...
vista kernel: usb0: unregister usbnet usb-00:1d.0-1, Sharp Zaurus SL-5x00

I can unload uhci (kind of):

vista kernel: usb.c: USB disconnect on device 00:1d.2-0 address 1
vista kernel: usb.c: USB bus 3 deregistered
vista kernel: kmem_cache_destroy: Can't free all objects c158acd0
vista kernel: uhci: not all urb_priv's were freed
vista kernel: usb.c: deregistering driver usbdevfs
vista kernel: usb.c: deregistering driver hub
vista kernel: Swsusp 1.1-rc1: Initiating a software_suspend cycle.

and then on the resume uhci crashes on the load attempt:

vista kernel: usb.c: registered new driver usbdevfs
vista kernel: usb.c: registered new driver hub
vista kernel: uhci.c: USB Universal Host Controller Interface driver v1.1
vista kernel: kernel BUG at slab.c:815!
vista kernel: invalid operand: 0000
vista kernel: CPU:    0
vista kernel: EIP:    0010:[kmem_cache_create+761/836] Tainted: G Z
vista kernel: EFLAGS: 00010246
vista kernel: eax: 00000000   ebx: c158ad40 ecx: c158ada8   edx: c158ad38 
vista kernel: esi: c158ad32   edi: e0d7a99a ebp: 0000003c   esp: dc26def0
vista kernel: ds: 0018   es: 0018   ss: 0018
vista kernel: Process modprobe.moduti (pid: 3354, stackpage=dc26d000)
vista kernel: Stack: fffffff4 00000001 00000001 ffffffea dc26df0c c158ad60 00000004 00000034 
vista kernel:        e0d796a0 e0d7a98c 0000003c 00000080 00020000 00000000 00000000 e0d75000 
vista kernel:        c0117b0d dc26c000 0000057a 08075f30 bfffc168 000059c8 dc280000 00000060 
vista kernel: Call
Trace:    [hid:__insmod_hid_O/lib/modules/2.4.22-rc1/kernel/drivers/usb/hi+-690528/96]
[hid:__insmod_hid_O/lib/modules/2.4.22-rc1/kernel/drivers/usb/hi+-685684/96]
[sys_init_module+1365/1536]
[hid:__insmod_hid_O/lib/modules/2.4.22-rc1/kernel/drivers/usb/hi+-708512/96]
[system_call+51/56]
vista kernel: 
vista kernel: Code: 0f 0b 2f 03 c0 bf 24 c0 8b 12 8b 02 0f 18 00 81 fa e8 c3 28 

This does -not- happen using usb-uhci as enabled by the (0619) acpi patch:

vista kernel: usb.c: USB bus 3 deregistered
vista kernel: usb.c: deregistering driver usbdevfs
vista kernel: usb.c: deregistering driver hub
vista kernel: Swsusp 1.1-rc1: Initiating a software_suspend cycle.

...

vista kernel: usb.c: registered new driver usbdevfs
vista kernel: usb.c: registered new driver hub
vista kernel: usb-uhci.c: $Revision: 1.275 $ time 23:16:36 Aug  6 2003
vista kernel: usb-uhci.c: High bandwidth mode enabled
vista kernel: PCI: Setting latency timer of device 00:1d.0 to 64
vista kernel: usb-uhci.c: USB UHCI at I/O 0xefe0, IRQ 11
vista kernel: usb-uhci.c: Detected 2 ports

the above syslog excerpts are from 2.4.22rc1 (no acpi patch) and 2.4.21
(acpi 20030619).  Any suggestions, or hope for a fix?

thanks,

rob.







-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.0-test2: Lost USB mouse after resuming from S3
       [not found]     ` <20030806213941.GA7618-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
@ 2003-08-07 12:51       ` Michael Frank
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Frank @ 2003-08-07 12:51 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-kernel, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	usb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Thursday 07 August 2003 05:39, Greg KH wrote:
> On Thu, Aug 07, 2003 at 12:37:31AM +0800, Michael Frank wrote:
> > Causes are that usb-host controller does no handle S3 yet _plus_
> > possibly (depending on your hardware) loss of PCI interrupt links as
> > current ACPI does not resume those.
>
> Known issue, please unload the usb modules before suspending them.
>
> The upcoming suspend patches will allow us to fix this "properly",
> please give us a few weeks :)
>

And mind the _plus_ issue - On my hardware you could debug dead interrupts 
in the host controller code forever...

Have posted a patch to fix ACPI, but no feedback as of yet ;)

Regards
Michael

-- 
Powered by linux-2.6-test2-mm4. Compiled with gcc-2.95-3 - mature and rock solid

2.4/2.6 kernel testing: ACPI PCI interrupt routing, PCI IRQ sharing, swsusp
2.6 kernel testing:     PCMCIA yenta_socket, Suspend to RAM with ACPI S1-S3

More info on swsusp: http://sourceforge.net/projects/swsusp/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* 2.6.0-test2: Lost USB mouse after resuming from S3
@ 2003-08-12 14:24 Michael Frank
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Frank @ 2003-08-12 14:24 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: usb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Causes are that usb-host controller does no handle S3 yet _plus_ possibly (depending on your hardware) 
loss of PCI interrupt links as current ACPI does not resume those.

Regards
Michael


-- 
Powered by linux-2.6-test2-mm4. Compiled with gcc-2.95-3 - mature and rock solid

2.4/2.6 kernel testing: ACPI PCI interrupt routing, PCI IRQ sharing, swsusp
2.6 kernel testing:     PCMCIA yenta_socket, Suspend to RAM with ACPI S1-S3

More info on swsusp: http://sourceforge.net/projects/swsusp/




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: 2.6.0-test2: Lost USB mouse after resuming from S3
@ 2003-08-13  3:52 Yu, Luming
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401720AD8-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Yu, Luming @ 2003-08-13  3:52 UTC (permalink / raw)
  To: Michael Frank, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: usb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>>Causes are that usb-host controller does no handle S3 yet 
What does it refer to?  ( Driver doesn't support S3? or hardware doesn't support S3?)

ps. file any acpi issue on bugme.osdl.org

Thanks,
Luming







-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: 2.6.0-test2: Lost USB mouse after resuming from S3
       [not found] ` <3ACA40606221794F80A5670F0AF15F8401720AD8-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2003-08-13  5:12   ` Michael Frank
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Frank @ 2003-08-13  5:12 UTC (permalink / raw)
  To: Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: usb-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Wednesday 13 August 2003 11:52, Yu, Luming wrote:
> >>Causes are that usb-host controller does no handle S3 yet
>
> What does it refer to?  ( Driver doesn't support S3? or hardware doesn't
> support S3?)

Driver ;)

>
> ps. file any acpi issue on bugme.osdl.org

Is being addressed by USB developers

Regards
Michael

-- 
Powered by linux-2.6. Compiled with gcc-2.95-3 - mature and rock solid

2.4/2.6 kernel testing: ACPI PCI interrupt routing, PCI IRQ sharing, swsusp
2.6 kernel testing:     PCMCIA yenta_socket, Suspend to RAM with ACPI S1-S3

More info on swsusp: http://sourceforge.net/projects/swsusp/



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-08-13  5:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-12 14:24 2.6.0-test2: Lost USB mouse after resuming from S3 Michael Frank
  -- strict thread matches above, loose matches on Subject: below --
2003-08-13  3:52 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401720AD8-4yWAQGcml64gGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2003-08-13  5:12   ` Michael Frank
     [not found] <E19kbYw-0001pW-00@sc8-sf-list2.sourceforge.net>
     [not found] ` <E19kbYw-0001pW-00-ek0oC1U1TqqnvZpeIfgr/KQD96bmaF075NbjCUgZEJk@public.gmane.org>
2003-08-07 10:56   ` Rob Miller
2003-08-06 16:37 Michael Frank
     [not found] ` <200308070037.31630.mflt1-DTdK3Ks6N5kHTnRCetW4+N0b+6lKrnBL@public.gmane.org>
2003-08-06 21:39   ` Greg KH
     [not found]     ` <20030806213941.GA7618-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2003-08-07 12:51       ` Michael Frank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox