* problem in swsusp with usb-serial convertor attached
@ 2006-01-20 7:00 rasmit.ranjan
2006-01-20 18:01 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: rasmit.ranjan @ 2006-01-20 7:00 UTC (permalink / raw)
To: linux-pm
[-- Attachment #1.1: Type: text/plain, Size: 956 bytes --]
hi,
In my system Linux-2.6.13.3 swsusp works properly.
Now one usb-serial convertor device is attached to my system. I manually
loaded the driver for the device and attached the device to my system.At
this stage swsusp works properly. But my device is not in use. So resume
works properly.
Now i opened minicom terminal for ttyUSB0 and ttyS0 ( now my device is
in use ) and suspend my system. My system got suspended but did not get
resumed and showed the follwing messages on screen.
usb 1-1: USB disconnect,address 4
usb 1-1: usb_disable_device nuking all URBs
usb 1-1: unregistering interface 1-1:1.0
rasmit 1-1:1.0 device disconnected
usb 1-1:1.0 : hot plug
My device was connected to 1-1:1.0
The driver for usb-serial convertor does not have suspend/resume
functions.
Is it happening because of the driver does not handle suspend/resume or
for any other reason ?
Please suggest.
Thanks and regards,
Rasmit.
[-- Attachment #1.2: Type: text/html, Size: 3070 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problem in swsusp with usb-serial convertor attached
2006-01-20 7:00 problem in swsusp with usb-serial convertor attached rasmit.ranjan
@ 2006-01-20 18:01 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2006-01-20 18:01 UTC (permalink / raw)
To: rasmit.ranjan; +Cc: linux-pm
[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]
On Fri, Jan 20, 2006 at 12:30:36PM +0530, rasmit.ranjan@wipro.com wrote:
> hi,
> In my system Linux-2.6.13.3 swsusp works properly.
Have you tried 2.6.15? And enabled CONFIG_USB_SUSPEND?
> Now one usb-serial convertor device is attached to my system. I manually
> loaded the driver for the device and attached the device to my system.At
> this stage swsusp works properly. But my device is not in use. So resume
> works properly.
> Now i opened minicom terminal for ttyUSB0 and ttyS0 ( now my device is
> in use ) and suspend my system. My system got suspended but did not get
> resumed and showed the follwing messages on screen.
>
> usb 1-1: USB disconnect,address 4
> usb 1-1: usb_disable_device nuking all URBs
> usb 1-1: unregistering interface 1-1:1.0
> rasmit 1-1:1.0 device disconnected
> usb 1-1:1.0 : hot plug
>
> My device was connected to 1-1:1.0
> The driver for usb-serial convertor does not have suspend/resume
> functions.
Which usb-serial driver are you using for this device?
> Is it happening because of the driver does not handle suspend/resume or
> for any other reason ?
None of the usb-serial drivers handle suspend/resume natively, they rely
on the usb core to do a disconnect and reconnect, which will probably
cause your terminal to be disconnected, like you see.
So, I guess everything is working properly :)
thanks,
greg k-h
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-20 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-20 7:00 problem in swsusp with usb-serial convertor attached rasmit.ranjan
2006-01-20 18:01 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox