USB SATA adapter
Dimitrij 28 Oct 2022
HDD not sleep
/sys/block/sda : /sys/devices/platform/rdb/f0471000.xhci_v2/usb2/2-2/2-2.4/2-2.4:1.0/host2/target2:0:0/2:0:0:0
opkg install hdparm(this is a more extended version) is ok
root@gbquad4k:~# hdparm -C /dev/sda /dev/sda: drive state is: active/idle root@gbquad4k:~# hdparm -y /dev/sda /dev/sda: issuing standby command root@gbquad4k:~# hdparm -C /dev/sda /dev/sda: drive state is: standby
maybe add xhci_v2 as internal hdd?
root@gbquad4k:~# opkg remove hdparm Removing hdparm (9.60) from root... update-alternatives: Linking /sbin/hdparm to /bin/busybox.nosuid root@gbquad4k:~# hdparm -C /dev/sda /dev/sda: hdparm: HDIO_DRIVE_CMD: Invalid argument drive state is: unknown root@gbquad4k:~# hdparm -y /dev/sda /dev/sda: issuing standby command hdparm: HDIO_DRIVE_CMD: Invalid argument
Edited by Dimitrij, 28 October 2022 - 17:25.
Dimitrij 1 Nov 2022
Simple
add /etc/rcS.d/S99hdparm120.sh
chmod 755 /etc/rcS.d/S99hdparm120.sh
#!/bin/sh [ ! -e /sbin/hdparm.hdparm ] && opkg install hdparm [ -e /sbin/hdparm.hdparm ] && hdparm -S 120 /dev/sda exit 0
Attached Files
Edited by Dimitrij, 1 November 2022 - 17:32.
Erik Slagter 6 Nov 2022
Often these USB to SATA bridges don't support setting the platter spinning timeout.
WanWizard 6 Nov 2022
Same is true for those built into an enclosure. I have several here that completely ignore any spinning setting, they just always spin.
Dimitrij 11 Nov 2022
Same is true for those built into an enclosure. I have several here that completely ignore any spinning setting, they just always spin.
opkg install hdparm for test.
WanWizard 11 Nov 2022
Yes, I know, doesn't make any difference, the USB to SATA chipset used simply ignores it.
Erik Slagter 27 Nov 2022
Which is common practice.
Edited by Erik Slagter, 27 November 2022 - 13:30.
Dimitrij 24 Jan 2023
For info...
Add this option in plugin enigma2-plugin-systemplugins-mountmanager