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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-11-2022, 02:46 PM
|
#1
|
Member
Registered: Nov 2001
Posts: 183
Rep:
|
What is needed to disable USB ports when sleeping?
I am testing a Lattepanda Delta 3 and one of the primary reasons I got it was because it advertises the ability to power down the USB ports when asleep. Computers with this option are all over the place, some have the option, some do not.
I have turned on EUP support in the BIOS which is what I think should have done it. There is also a section under USB which has a setting for keeping USB ports turned on and that is disabled also. USB does not power down when asleep with Windows or Linux unfortunately.
This is very important to me to power down connected devices when the device is being transported around. As it is, I have to make a custom USB cord with a power switch and I hate making that and I hate using it. I am still stuck in USB debug mode with no promised land in sight.
I have also sent an email to Lattepanda support and it will be interesting to hear what they have to say.
|
|
|
10-11-2022, 03:14 PM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
|
|
|
10-11-2022, 03:58 PM
|
#3
|
Moderator
Registered: Mar 2008
Posts: 22,291
|
I forget what the different states of sleep might be available. Not all bios's allow all the choices.
Think I then you go to apm acpi. Since this is new it might be a uefi deal.
Last edited by jefro; 10-11-2022 at 04:06 PM.
|
|
|
10-11-2022, 05:26 PM
|
#4
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
Quote:
Originally Posted by Jason_25
This is very important to me to power down connected devices when the device is being transported around. As it is, I have to make a custom USB cord with a power switch and I hate making that and I hate using it. I am still stuck in USB debug mode with no promised land in sight.
I have also sent an email to Lattepanda support and it will be interesting to hear what they have to say.
|
I wonder at the need to leave usb devices plugged in when the laptop is powered down and being moved.
1. Unplugging the device powers it down regardless.
2. Leaving the device plugged in risks bumping the USB device or cord which can damage that device as well as potentially also damaging the laptop connector.
|
|
|
10-11-2022, 05:37 PM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,541
|
http://docs.lattepanda.com/content/3...#auto-power-on
Code:
Disabled Run: Enabled; Sleep: Enabled; Hibernate: Disabled; Shut Down: Disabled
Enabled means the USB port can output power; Disabled means the USB port can't output power.
If I understand the documentation with the Always On USB power BIOS setting, it is still enabled for run and sleep modes but disabled for hibernate and shutdown.
Last edited by michaelk; 10-11-2022 at 05:38 PM.
|
|
1 members found this post helpful.
|
10-13-2022, 02:07 PM
|
#6
|
Member
Registered: Nov 2001
Posts: 183
Original Poster
Rep:
|
I just heard back from Lattepanda support but needed to email them again about the sleep situation. I suggested adding the ability to power down USB ports when asleep. The Lattepanda does power down USB when in hibernate and shutdown. Thanks michaelk.
I just finished testing hibernate mode. This is the first time I have ever (intentionally) used it on a computer. It was painful to set up with all the conflicting tutorials. Here is a hint: do not put .. after swap offset numbers. Anyway it resumed fairly quickly in about 30 seconds. Turning on fast boot in BIOS might help. I was playing with fire and set the swap size to 2 GB even though the system has 8 GB RAM and it works! This is hibernation without systemd by the way.
References:
https://wiki.archlinux.org/title/Pow...te#Hibernation
https://unix.stackexchange.com/quest...-line-s4-state
https://www.linuxuprising.com/2021/0...on-ubuntu.html
|
|
|
All times are GMT -5. The time now is 04:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|