2005-12-06 18:54:39

by Carl-Daniel Hailfinger

[permalink] [raw]
Subject: usblp suspend failure with 2.6.15-rc5

Hi,

since I switched to 2.6.15-rc2-git6, my machine is not able to suspend
anymore if my USB printer is plugged in. The problem is reproducible.

usb 1-2: new full speed USB device using uhci_hcd and address 3
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x3242
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
PM: Preparing system for mem sleep
Stopping tasks: ==================================================|
usblp 1-2:1.0: no suspend?
Could not suspend device 1-2: error -16
Some devices failed to suspend
Restarting tasks... done


Earlier kernels (2.6.14.2 and before) worked just fine.

A first search suggests this problem was introduced between
2.6.14 and 2.6.15-rc2-git6. Should I try to narrow it down further?


Regards,
Carl-Daniel


2005-12-09 21:13:54

by Adrian Bunk

[permalink] [raw]
Subject: Re: usblp suspend failure with 2.6.15-rc5

On Tue, Dec 06, 2005 at 07:54:31PM +0100, Carl-Daniel Hailfinger wrote:

> Hi,

Hi Carl-Daniel,

> since I switched to 2.6.15-rc2-git6, my machine is not able to suspend
> anymore if my USB printer is plugged in. The problem is reproducible.
>
> usb 1-2: new full speed USB device using uhci_hcd and address 3
> drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt
> 0 proto 2 vid 0x04E8 pid 0x3242
> usbcore: registered new driver usblp
> drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
> PM: Preparing system for mem sleep
> Stopping tasks: ==================================================|
> usblp 1-2:1.0: no suspend?
> Could not suspend device 1-2: error -16
> Some devices failed to suspend
> Restarting tasks... done
>
>
> Earlier kernels (2.6.14.2 and before) worked just fine.
>
> A first search suggests this problem was introduced between
> 2.6.14 and 2.6.15-rc2-git6. Should I try to narrow it down further?

yes, that would be good.

In this case, it would also help if you'd open a bug at
bugzilla.kernel.org.

> Regards,
> Carl-Daniel

TIA
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2005-12-09 21:22:09

by Pavel Machek

[permalink] [raw]
Subject: Re: usblp suspend failure with 2.6.15-rc5

Hi!

> > since I switched to 2.6.15-rc2-git6, my machine is not able to suspend
> > anymore if my USB printer is plugged in. The problem is reproducible.
> >
> > usb 1-2: new full speed USB device using uhci_hcd and address 3
> > drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt
> > 0 proto 2 vid 0x04E8 pid 0x3242
> > usbcore: registered new driver usblp
> > drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
> > PM: Preparing system for mem sleep
> > Stopping tasks: ==================================================|
> > usblp 1-2:1.0: no suspend?
> > Could not suspend device 1-2: error -16
> > Some devices failed to suspend
> > Restarting tasks... done
> >
> >
> > Earlier kernels (2.6.14.2 and before) worked just fine.
> >
> > A first search suggests this problem was introduced between
> > 2.6.14 and 2.6.15-rc2-git6. Should I try to narrow it down further?
>
> yes, that would be good.
>
> In this case, it would also help if you'd open a bug at
> bugzilla.kernel.org.

Well, usblp does not have any suspend method, and usb probably just
started checking... There's also CONFIG_USB_SUSPEND option you may
want to play with.
Pavel
--
Thanks, Sharp!