That's still a BIOS/UEFI issue, not an OS issue. Windows Fast Startup remains in control of hardware during its apparent shutdown in order to have a more rapid startup. Linux uses power management to turnoff hardware power during its actual shutdown. The BIOS/UEFI overrides each OS by retaining power control on certain hardware, even after the OS bails out.
That's why I asked about Windows Fast Startup to determine the actual hardware impact in the Windows environment. So not saying your conclusion is wrong, and it would be interesting to see given the BIOS/UEFI requirements, but the actual question is still open.
Announcement
Collapse
No announcement yet.
shutdown issue
Collapse
This topic is closed.
X
This topic has been answered.
X
X
-
Originally posted by lednyk View Post
It seems like a BIOS setting problem on Asus motherboards. I found this guide on Asus page.
Asus Motherboard - How to disable standby power of the USB connected device
After following the instructions you suggested, USB devices are now completely closed. It just seems strange to me that Windows shuts down the computer by closing the USB devices without any problems or adjustments, but in Linux, it is necessary to change a setting to achieve this. thank you for helping me!
- Top
- Bottom
Leave a comment:
-
I noticed that when I issue the shutdown command in Linux, the USB connected devices continue to work. However, when I do the same in Windows, all the USB devices are shut down. What could be the reason for this?
Asus Motherboard - How to disable standby power of the USB connected device
- Top
- Bottom
- Selected Answer
Leave a comment:
-
So....what about the eRp settings in the bios, or maybe Windows Fast Restart/fast reboot?
https://www.reddit.com/r/pcmasterrac..._if_the_pc_is/
- Top
- Bottom
Leave a comment:
-
I think I didn't explain the problem exactly. This problem is not only about the external hard drive continuing to work even though the computer is turned off. It is about the USB ports having power even though the computer is turned off. I exemplified the problem with the external drive, but other devices also work because the USB ports have power.
- Top
- Bottom
Leave a comment:
-
I don't know what's going on, sorry.
You may find out something by looking at the shutdown messages. You can see some of them using, in a konsole,Code:journalctl -b-1
Another approach is to edit /etc/default/grub and remove the words "quiet splash" where they appear:Code:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Code:GRUB_CMDLINE_LINUX_DEFAULT=""
Code:sudo update-grub
Another thing... you've got the removable drive in /etc/fstab. This can cause problems, such as delaying startup, if the drive is not plugged in. There at least these ways to avoid problems:- I prefer to mount removable drives by clicking on them in dolphin, but if you don't like where they get mounted, under /media somewhere, I suggest leaving them in /etc/fstab and adding "noauto,user" to the options (so that it reads "defaults,noauto,user"). Then, if you click on a drive in dolphin it will mount according to the fstab.
- One can add "nofail" to the options.
- Don't use /etc/fstab, rather use system settings, removable storage, removable devices.
- Top
- Bottom
Leave a comment:
-
Originally posted by maximan View Post
As you said, I turned off the "fast boot" feature, but it's still the same. I even turned off the xHCI feature in the bios. the result is still the same. What I don't understand is this: While Windows can shut down the PC completely, why linux can't (on my pc). I think many Linux users actually have this problem, but no one may be fully aware of it.
But I have never seen a USB attached drive (of any kind) remain powered in Linux after a successful shutdown. Not doubting what you are observing, just leveling the conversation and trying to get to the root cause.
- Top
- Bottom
Leave a comment:
-
Originally posted by jlittle View Post
Weird. Is the drive mounted via /etc/fstab, or as a removable device? I tend to think the latter is better, using system settings, removable storage, removable devices.
If the drive is seen as a removable drive, does it spin down if you "safely remove" mounted file systems on the drive, using the "Disks and Devices" item in the system tray? (IME, it's sometimes been annoyingly difficult to avoid the devices turning off, which can be inconvenient, because they have to be physically unplugged and plugged back in to access them.)
Does the drive spin down if you tell it to? To do this, determine the device name in Linux, something like /dev/sda, perhaps using the "Info Centre", or findmnt --real in a konsole. Then, in a konsole,Code:sudo hdparm -y /dev/sda
/dev/sde:
issuing standby command
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sharing files from external drive, I had to make the following settings on fstab. The disk named "harici" is an external portable HDD. Other hard drives are not included in fstab
#UUID=8D9E-7EC2 /boot/efi vfat defaults 0 2
UUID=e4b15030-06ca-4235-bec0-8bbe28c362ba / ext4 defaults 0 1
UUID=a41973ae-55da-4168-b102-4b299b57a8c7 /home ext4 defaults 0 2
/swapfile swap swap defaults 0 0
tmpfs /tmp tmpfs noatime,mode=1777 0 0
UUID=8D9E-7EC2 /boot/efi vfat defaults 0 1
UUID=0aa7a3b9-1dc4-49a6-84b9-c6e4c5d08ee3 /mnt/viext4 ext4 defaults 0 0
UUID=584686B61B0543EF /mnt/st1000 ntfs defaults 0 0
UUID=4AD80D16D80D0245 /mnt/harici ntfs defaults 0 0
Last edited by maximan; Aug 10, 2024, 08:47 AM.
- Top
- Bottom
Leave a comment:
-
Originally posted by jglen490 View PostI've not seen that behavior in Linux for as long as I've been using Linux. So, this may sound weird, but if you are dual booting with Windows 10, is Fast Startup enabled in your Windows? If it is, disable that (I believe it's in the Power menu) and see if the behavior continues. Just try to eliminate one possibility.
- Top
- Bottom
Leave a comment:
-
Originally posted by maximan View Posti have usb external harddrive. when pc shutdown it's still spinning. but only when linux shutdown to pc.
If the drive is seen as a removable drive, does it spin down if you "safely remove" mounted file systems on the drive, using the "Disks and Devices" item in the system tray? (IME, it's sometimes been annoyingly difficult to avoid the devices turning off, which can be inconvenient, because they have to be physically unplugged and plugged back in to access them.)
Does the drive spin down if you tell it to? To do this, determine the device name in Linux, something like /dev/sda, perhaps using the "Info Centre", or findmnt --real in a konsole. Then, in a konsole,Code:sudo hdparm -y /dev/sda
- Top
- Bottom
Leave a comment:
-
I've not seen that behavior in Linux for as long as I've been using Linux. So, this may sound weird, but if you are dual booting with Windows 10, is Fast Startup enabled in your Windows? If it is, disable that (I believe it's in the Power menu) and see if the behavior continues. Just try to eliminate one possibility.
- Top
- Bottom
Leave a comment:
-
Originally posted by jlittle View Post
Sorry, curiosity burns sometimes...
How can you tell, if the PC is off? Are they drives, with lights still on? Or maybe RGB mice or keyboards?
- Top
- Bottom
Leave a comment:
-
Originally posted by Snowhog View PostNot working as in it doesn't do anything, or not working as in it does power off and shutdown your PC, but the attached USB devices are still, what, powered on?
- Top
- Bottom
Leave a comment:
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: