[Bug 205107] No HDD spindown/parking on shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=205107

Li Jiajun (wlmqljj@xxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wlmqljj@xxxxxx

--- Comment #22 from Li Jiajun (wlmqljj@xxxxxx) ---
Inspired by #21, we could solve this by add a new udev rule.
/etc/udev/rules.d/01-manage_start_stop.rules:
For kernel 6.1 and after:
ACTION=="add|change", DRIVERS=="usb-storage|uas", SUBSYSTEM=="scsi_disk",
ATTR{manage_runtime_start_stop}="1", ATTR{manage_shutdown}="1"

For kernel 6.1 before:
ACTION=="add|change", DRIVERS=="usb-storage|uas", SUBSYSTEM=="scsi_disk",
ATTR{manage_start_stop}="1"

I think this is a common issue for those people using usb2sata adapter.
To sovle this issue on kernel side, We need add some quirk configurations for
- drivers/usb/storage/scsiglue.c
-- function device_configure()
and
-drivers/usb/storage/uas.c
-- function uas_device_configure()
to perform better.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux