[opensuse] USB power does not switch off in suspend mode
Hi on my laptop all USB ports remain in a 'power-on' state after having suspended the machine. The laptop's (a Lenovo T440s, with openSUSE 13.1 (x86_64), kernel 3.11.10-11-desktop) BIOS offers a disable/enable switch to allow for a 'power-on' state of USB in low-power and suspend states. For me this switch has no effect. Both, with this switch enabled or disabled, all USB port remain in a 'power-on' state when the lid is closed. (As far as I can see, other hardware of the system does get suspended when I close the laptop's lid) Any idea why this happens and any help to have USB also suspended when suspending the laptop would be most appreciated. wbwb -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 26 Jun 2014 15:46:31 +0200 Zeitlinie <zeitlinie@yahoo.de> wrote:
Hi
on my laptop all USB ports remain in a 'power-on' state after having suspended the machine.
The laptop's (a Lenovo T440s, with openSUSE 13.1 (x86_64), kernel 3.11.10-11-desktop) BIOS offers a disable/enable switch to allow for a 'power-on' state of USB in low-power and suspend states. For me this switch has no effect. Both, with this switch enabled or disabled, all USB port remain in a 'power-on' state when the lid is closed.
(As far as I can see, other hardware of the system does get suspended when I close the laptop's lid)
Any idea why this happens and any help to have USB also suspended when suspending the laptop would be most appreciated.
wbwb
This is basically so people can use it for recharging cell phones and cameras or other battery powered USB devices. If that causes a problem with some device plugged into the USB port while the laptop is in a suspended state then unplug the device. This does not use excess battery power as the power supply is always in use if the power cord is plugged in. That is to supply power for the "on-off or power button or lid closure switch. Tom -- "To be free is not merely to cast off one's chains, but to live in a way that respects and enhances the freedom of others." - Nelson Mandela ^^ --... ...-- / -.- --. --... -.-. ..-. -.-. ^^^^ Tom Taylor KG7CFC openSUSE 13.1 (64-bit), Kernel 3.11.6-4-default, KDE 4.11.2, AMD Phenom X4 955, GeForce GTX 550 Ti (Nvidia 325.15) 16GB RAM -- 3x1.5TB sata2 -- 128GB-SSD FF 27.0, claws-mail 3.10.0 registered linux user 263467 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/26/2014 06:36 PM, Thomas Taylor wrote:
On Thu, 26 Jun 2014 15:46:31 +0200 Zeitlinie <zeitlinie@yahoo.de> wrote:
Hi
on my laptop all USB ports remain in a 'power-on' state after having suspended the machine.
The laptop's (a Lenovo T440s, with openSUSE 13.1 (x86_64), kernel 3.11.10-11-desktop) BIOS offers a disable/enable switch to allow for a 'power-on' state of USB in low-power and suspend states. For me this switch has no effect. Both, with this switch enabled or disabled, all USB port remain in a 'power-on' state when the lid is closed.
(As far as I can see, other hardware of the system does get suspended when I close the laptop's lid)
Any idea why this happens and any help to have USB also suspended when suspending the laptop would be most appreciated.
wbwb
This is basically so people can use it for recharging cell phones and cameras or other battery powered USB devices. If that causes a problem with some device plugged into the USB port while the laptop is in a suspended state then unplug the device. This does not use excess battery power as the power supply is always in use if the power cord is plugged in.
Actually it does not depend on if the cord is plugged in or not: power supply through USB remains 'on' even if I pull the power cord. To me this does not seem proper functioning. In particular since the BIOS does directly say so: namely, that when USB always-power-on is 'disabled' in BIOS there should not be any power on the USB ports in the suspend state.
That is to supply power for the "on-off or power button or lid closure switch.
Tom
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-06-26 19:06, Zeitlinie wrote:
On 06/26/2014 06:36 PM, Thomas Taylor wrote:
This is basically so people can use it for recharging cell phones and cameras or other battery powered USB devices. If that causes a problem with some device plugged into the USB port while the laptop is in a suspended state then unplug the device. This does not use excess battery power as the power supply is always in use if the power cord is plugged in.
Actually it does not depend on if the cord is plugged in or not: power supply through USB remains 'on' even if I pull the power cord.
Yes, I noticed the same thing with my laptop, a Compaq of some years. It is an intentional feature. In my case, what I had connected was a fan, one of those designed to put the laptop on top. It would have drained the battery faster than I expected if I had not noticed it. I did not notice it earlier because I use hibernation more than suspend.
To me this does not seem proper functioning. In particular since the BIOS does directly say so: namely, that when USB always-power-on is 'disabled' in BIOS there should not be any power on the USB ports in the suspend state.
The thing is, they leave them active not for charging phones, but to keep devices such as memory sticks in the same state, for very fast startup. Some of these have internal cache, status variables... all lost on power down. To power them down the computer have to inform them in advance of the fact, power the buses down, then on recovery, locate them, and inform them of the reconnect. Some of them the user has to press a button on the devices (my camera, for instance). It may be configurable, though. If you are using laptop-mode-tools, have a look at the config options. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 06/26/2014 07:39 PM, Carlos E. R. wrote:
On 2014-06-26 19:06, Zeitlinie wrote:
On 06/26/2014 06:36 PM, Thomas Taylor wrote:
This is basically so people can use it for recharging cell phones and cameras or other battery powered USB devices. If that causes a problem with some device plugged into the USB port while the laptop is in a suspended state then unplug the device. This does not use excess battery power as the power supply is always in use if the power cord is plugged in.
Actually it does not depend on if the cord is plugged in or not: power supply through USB remains 'on' even if I pull the power cord.
Yes, I noticed the same thing with my laptop, a Compaq of some years. It is an intentional feature.
In my case, what I had connected was a fan, one of those designed to put the laptop on top. It would have drained the battery faster than I expected if I had not noticed it.
I did not notice it earlier because I use hibernation more than suspend.
To me this does not seem proper functioning. In particular since the BIOS does directly say so: namely, that when USB always-power-on is 'disabled' in BIOS there should not be any power on the USB ports in the suspend state.
The thing is, they leave them active not for charging phones, but to keep devices such as memory sticks in the same state, for very fast startup. Some of these have internal cache, status variables... all lost on power down. To power them down the computer have to inform them in advance of the fact, power the buses down, then on recovery, locate them, and inform them of the reconnect. Some of them the user has to press a button on the devices (my camera, for instance).
my command of English may be utterly broken, but I really don't get this. So next I'm cutting-and-pasting the relevant portion of text from my BIOS setup: ------------------------- "Always On USB [Disabled] Help The USB ports can charge external devices during low power states (standby, hibernate, or power-off). If the system runs on battery mode, this only works in standby state. [Disabled] USB ports are disabled during low power states. [Enabled] USB ports are powered during low power states." ------------------------ I understand from this, that if my system is in standby and, just to be safe, also unplugged from any power outlets, then my USB port should not be able to run fans, or charge phones, or whatever. Yet they do. Actually I'm starting to think it is not related to openSUSE alone. In the meantime I ran linux from two unrelated live-CDs. Both have the same effect: USB just won't shut off. This is really strange.
It may be configurable, though.
If you are using laptop-mode-tools, have a look at the config options.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Zeitlinie wrote:
On 06/26/2014 07:39 PM, Carlos E. R. wrote:
On 2014-06-26 19:06, Zeitlinie wrote:
On 06/26/2014 06:36 PM, Thomas Taylor wrote:
This is basically so people can use it for recharging cell phones and cameras or other battery powered USB devices. If that causes a problem with some device plugged into the USB port while the laptop is in a suspended state then unplug the device. This does not use excess battery power as the power supply is always in use if the power cord is plugged in.
Actually it does not depend on if the cord is plugged in or not: power supply through USB remains 'on' even if I pull the power cord.
Yes, I noticed the same thing with my laptop, a Compaq of some years. It is an intentional feature.
In my case, what I had connected was a fan, one of those designed to put the laptop on top. It would have drained the battery faster than I expected if I had not noticed it.
I did not notice it earlier because I use hibernation more than suspend.
To me this does not seem proper functioning. In particular since the BIOS does directly say so: namely, that when USB always-power-on is 'disabled' in BIOS there should not be any power on the USB ports in the suspend state.
The thing is, they leave them active not for charging phones, but to keep devices such as memory sticks in the same state, for very fast startup. Some of these have internal cache, status variables... all lost on power down. To power them down the computer have to inform them in advance of the fact, power the buses down, then on recovery, locate them, and inform them of the reconnect. Some of them the user has to press a button on the devices (my camera, for instance).
my command of English may be utterly broken, but I really don't get this. So next I'm cutting-and-pasting the relevant portion of text from my BIOS setup:
------------------------- "Always On USB [Disabled]
Help
The USB ports can charge external devices during low power states (standby, hibernate, or power-off). If the system runs on battery mode, this only works in standby state.
[Disabled] USB ports are disabled during low power states. [Enabled] USB ports are powered during low power states." ------------------------
I understand from this, that if my system is in standby and, just to be safe, also unplugged from any power outlets, then my USB port should not be able to run fans, or charge phones, or whatever. Yet they do.
Actually I'm starting to think it is not related to openSUSE alone. In the meantime I ran linux from two unrelated live-CDs. Both have the same effect: USB just won't shut off. This is really strange.
Well, the USB chips will be powered off ONLY if the motherboard was designed for that to be possible. If the hardware to switch off the USB hardware isn't there, then the USB ports will always be powered up.
It may be configurable, though.
If you are using laptop-mode-tools, have a look at the config options.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thursday, June 26, 2014 10:34:10 PM Zeitlinie wrote:
On 06/26/2014 07:39 PM, Carlos E. R. wrote:
On 2014-06-26 19:06, Zeitlinie wrote:
On 06/26/2014 06:36 PM, Thomas Taylor wrote:
This is basically so people can use it for recharging cell phones and cameras or other battery powered USB devices. If that causes a problem with some device plugged into the USB port while the laptop is in a suspended state then unplug the device. This does not use excess battery power as the power supply is always in use if the power cord is plugged in.
Actually it does not depend on if the cord is plugged in or not: power supply through USB remains 'on' even if I pull the power cord.
Yes, I noticed the same thing with my laptop, a Compaq of some years. It is an intentional feature.
In my case, what I had connected was a fan, one of those designed to put the laptop on top. It would have drained the battery faster than I expected if I had not noticed it.
I did not notice it earlier because I use hibernation more than suspend.
To me this does not seem proper functioning. In particular since the BIOS does directly say so: namely, that when USB always-power-on is 'disabled' in BIOS there should not be any power on the USB ports in the suspend state.
The thing is, they leave them active not for charging phones, but to keep devices such as memory sticks in the same state, for very fast startup. Some of these have internal cache, status variables... all lost on power down. To power them down the computer have to inform them in advance of the fact, power the buses down, then on recovery, locate them, and inform them of the reconnect. Some of them the user has to press a button on the devices (my camera, for instance).
my command of English may be utterly broken, but I really don't get this. So next I'm cutting-and-pasting the relevant portion of text from my BIOS setup:
------------------------- "Always On USB [Disabled]
Help
The USB ports can charge external devices during low power states (standby, hibernate, or power-off). If the system runs on battery mode, this only works in standby state.
[Disabled] USB ports are disabled during low power states.
This above is the key. "USB ports are disable during low power states". That way, it is not disabled at all until low power state is reached.
[Enabled] USB ports are powered during low power states." ------------------------
I understand from this, that if my system is in standby and, just to be safe, also unplugged from any power outlets, then my USB port should not be able to run fans, or charge phones, or whatever. Yet they do.
Actually I'm starting to think it is not related to openSUSE alone. In the meantime I ran linux from two unrelated live-CDs. Both have the same effect: USB just won't shut off. This is really strange.
It may be configurable, though.
If you are using laptop-mode-tools, have a look at the config options.
Sure it is a feature on that motherboard + BIOS design. It will not drain significantly your battery if no devices are connected to. Regards, R.Chung -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi,
------------------------- "Always On USB [Disabled]
Help
The USB ports can charge external devices during low power states (standby, hibernate, or power-off). If the system runs on battery mode, this only works in standby state.
[Disabled] USB ports are disabled during low power states.
This above is the key. "USB ports are disable during low power states". That way, it is not disabled at all until low power state is reached.
I fully agree. So then one only needs to clarify what a "low power state" is. But doesn't the BIOS help actually tell me(?): it is defined in the 1st sentence of the help text. Citing this once more: "...low power states (standby, hibernate, or power-off)..." For me this reads, that "standby" *is* a "low power state", meaning that if I close the lid, i.e. when entering standby, the USB-ports should be disabled ... which they are not. And just before kicking off a semantic discussion, here's to the meaning of the various terms "standby", "sleep mode", "suspend" w.r.t. "closing the lid": http://en.wikipedia.org/wiki/Sleep_mode They're all the same. Finally, rather than discussing semantics I'd be more than happy if there would be any way to cut power off the USB-ports, when closing the lid, via some clever configuration, which someone might know on this list?
[Enabled] USB ports are powered during low power states." ------------------------
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Friday, June 27, 2014 08:26:55 PM Zeitlinie wrote:
Hi,
------------------------- "Always On USB [Disabled]
Help
The USB ports can charge external devices during low power states (standby, hibernate, or power-off). If the system runs on battery mode, this only works in standby state.
[Disabled] USB ports are disabled during low power states.
This above is the key. "USB ports are disable during low power states". That way, it is not disabled at all until low power state is reached.
I fully agree.
So then one only needs to clarify what a "low power state" is. But doesn't the BIOS help actually tell me(?): it is defined in the 1st sentence of the help text. Citing this once more:
"...low power states (standby, hibernate, or power-off)..."
For me this reads, that "standby" *is* a "low power state", meaning that if I close the lid, i.e. when entering standby, the USB-ports should be disabled ... which they are not.
And just before kicking off a semantic discussion, here's to the meaning of the various terms "standby", "sleep mode", "suspend" w.r.t. "closing the lid": http://en.wikipedia.org/wiki/Sleep_mode They're all the same.
Finally, rather than discussing semantics I'd be more than happy if there would be any way to cut power off the USB-ports, when closing the lid, via some clever configuration, which someone might know on this list?
[Enabled] USB ports are powered during low power states." ------------------------
Keep posting on the mailing list. Maybe someone reading it could have a better response or approach to this issue. I would not go on semantic because it is an endless road.And obviously, it does not help to understand this issue. Reading about battery maintenance and cares seems lower power states than 3% is low power and critical to battery life. So below this critical level it would disable any devices pulling power from. Following this line of thoughts, the only way to disable the Power on USB port (on your hardware system) is reaching lower than 3% battery power. On other words, it is not possible to cut the power off (absolute) on that hardware. Perhaps, a future BIOS update will consider smarter to cut the power off than let the battery drain into less than 3%. I sincerely wish this happen to give the proper control on users. Conclusion: Sadly.So far I know there is Not a real solution. ATM Regards, R.Chung -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Carlos E. R.
-
Dirk Gently
-
Ricardo Chung
-
Thomas Taylor
-
Zeitlinie