Resume from suspend - USB ports don't turn on!?

Using applications, configuring, problems
Post Reply
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

Resume from suspend - USB ports don't turn on!?

#1 Post by disciple »

Sometimes when I wake Puppy up from being suspended, my USB ports (on a PCI card) don't get switched back on (Regardless of whether anything was plugged into them). This means I have to reboot if I need to plug in a camera or a USB drive or anything.
Once, my onboard USB ports didn't get switched back on either, so I also had no mouse.

Does anyone know if it is possible to manually switch USB ports on?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#2 Post by HairyWill »

Did you ever solve this?
I wonder if reloading the usb modules would help.
I suppose this would not be an option if they were in use.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#3 Post by Dougal »

Suspend scripts usually try and unload as many modules as possible, then re-load them on resume.
As for USB, when you resume the controller is reset, so the devices are all scanned again and given new numbers, thus they need to be "re-detected" to be used.
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

Could restart of X be of help here?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#5 Post by Dougal »

Béèm wrote:Could restart of X be of help here?
I doubt it.
What exactly is your problem: drives missing? Network connection not working? The solution is generally to have the suspend script unload the module and the resume script load them again.
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#6 Post by Béèm »

Dougal, my comment was destinate for disciple.
I thought that when restarting X USB was scanned again and made available. So that's not the case.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

gmdfunk
Posts: 14
Joined: Fri 26 Dec 2008, 05:57

#7 Post by gmdfunk »

Could anyone point me to the location of the suspend and resume scripts in puppy linux? If they dont exist how do I create them and have puppy linux call them when I shut/open my laptop lid

Post Reply