LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-15-2007, 02:42 PM   #1
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Rep: Reputation: 16
How to power off usb devices at shutdown?


Quite simply, windows powers off all my usb devices when it shuts down; linux doesn't.

Is there any way to get linux to do this?

Cheers.
 
Old 02-15-2007, 02:54 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
That doesn't make a whole lot of sense. When the computer is shutdown, there is no power to the USB ports. It doesn't matter what OS you are running, then the computer is off, the USB devices are off.

Unless you are asking about something device-specific, like a USB printer powering off when you initiate the shutdown from Windows.
 
Old 02-15-2007, 03:48 PM   #3
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Original Poster
Rep: Reputation: 16
Both the mouse's optical light and usb hub's power light are left on when linux shuts down. The mouse's optical light still brightens when moved just as it does when the computer is powered on.

So from what you're saying, my motherboard isn't being completely powered off when linux shuts down.

This happens with any linux distro that I've used.

I've attached a video to try and show what I mean. Sorry it's in .3gp format.
http://homepage.ntlworld.com/j.robinson8/MOV1.3gp
 
Old 02-15-2007, 08:29 PM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
That is...very strange.

Does the computer sound like it is actually turning off? Can you hear the HDD and fans spin down, and does the PSU fan stop spinning?

From that video, it doesn't look like the computer is physically powering off; but the screen does go out, which would seem to indicate it has powered down the motherboard.

I assume you have tried just giving it a few minutes to see if they shut off? On my machine, for whatever reason it can take upwards of a minute to actually shutdown the hardware after the OS has stopped running.

Last edited by MS3FGX; 02-15-2007 at 08:32 PM.
 
Old 02-15-2007, 09:31 PM   #5
GamerX
Member
 
Registered: Nov 2006
Location: Vancouver, BC
Distribution: Slackware
Posts: 102

Rep: Reputation: Disabled
When I compiled my kernel, I had the wits to take out power management drivers and shutdown/poweroff commands would not work. All the de-init scripts were executed and the system effectively shut down "System halt." printed on the screen but from there I guess linux just didn't know what to tell the MOBO to make it cut power. Check if your BIOS is up to date maybe? just an idea
 
Old 02-16-2007, 11:59 AM   #6
extrasolar
Member
 
Registered: Feb 2004
Location: Northamptonshire, UK
Distribution: Windows XP, Arch Linux
Posts: 131

Original Poster
Rep: Reputation: 16
My computer completely powers off as far as is usually the case. HDDs spin down; psu and cpu fans, and the case fan which is connected to a spare plug all switch off; computer power light goes out. The usb powered devices lights never go out for as long as the computer is off.

My motherboard's bios is up to date too.

As I say this only happens in linux; windows shuts everything off that is powered through the usb ports.

Last edited by extrasolar; 02-16-2007 at 12:11 PM.
 
Old 03-17-2007, 07:41 PM   #7
Haiyadragon
Member
 
Registered: Sep 2003
Location: Gorredijk, Netherlands
Distribution: Arch Linux
Posts: 400

Rep: Reputation: 30
I have the same problem. Unfortunately there doesn't seem to be a solution and nobody cares.

The weird thing is, even shutting down by pressing the power button during boot shuts down the usb devices correctly. Only Linux leaves the devices on after shutting down.
 
Old 10-09-2007, 11:19 PM   #8
MethylMaus
LQ Newbie
 
Registered: Oct 2007
Posts: 1

Rep: Reputation: 0
I've had the same problem too. When I used to use Windows the USB devices did not receive power after shutdown, now they all stay on regardless of power state. I've tried all the APM and ACPI settings you can imagine and my BIOS does not have any Wake on LAN or wake on keyboard/mouse settings turned on.

I was hoping that the newer versions of the kernel may have some specific setting that I'm missing at compile time that you guys could help me out with. I did notice, though, that as the computer boots and the kernel loads the back-light on my keyboard (and the LED on the mouse) blinks as the USB bus is initialized. This leads me to believe that the kernel is the culprit.

This is an annoyance that I hope is already solved or can be solved soon. Anyone got any suggestions?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 11 : Doesn't detect USB devices & can't shutdown ?? mnemonix Slackware 7 12-17-2006 06:04 AM
Shutdown and power off bwtoh Linux - Newbie 4 11-02-2006 02:48 PM
PC does not power-off after shutdown AndiH Slackware 4 07-18-2006 09:07 AM
Shutdown does not power off Richie55 Mandriva 9 07-03-2006 02:33 AM
Shutdown could not power off satimis Debian 13 02-14-2004 11:05 AM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration