Code
		
					
				Last login: Sat Jun 25 17:28:28 on ttys000
You have mail.
MacBook-Pro:~ Username$ ssh [email protected]
[email protected]'s password:
##############################################
#                 LibreELEC                  #
#            http://libreelec.tv             #
##############################################
LibreELEC (official) Version: 7.0.1
LibreELEC:~ # hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
    Model Number:       ST5000DM000-1FK178                      
    Serial Number:      W4J170FS
    Firmware Revision:  CC49    
    Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
    Used: unknown (minor revision code 0x001f)
    Supported: 9 8 7 6 5
    Likely used: 9
Configuration:
    Logical        max    current
    cylinders    16383    16383
    heads        16    16
    sectors/track    63    63
    --
    CHS current addressable sectors:   16514064
    LBA    user addressable sectors:  268435455
    LBA48  user addressable sectors: 9767541168
    Logical  Sector size:                   512 bytes
    Physical Sector size:                  4096 bytes
    Logical Sector-0 offset:                  0 bytes
    device size with M = 1024*1024:     4769307 MBytes
    device size with M = 1000*1000:     5000981 MBytes (5000 GB)
    cache/buffer size  = 16384 KBytes
    Nominal Media Rotation Rate: 5980
Capabilities:
    LBA, IORDY(can be disabled)
    Queue depth: 32
    Standby timer values: spec'd by Standard, no device specific minimum
    R/W multiple sector transfer: Max = 16    Current = ?
    Advanced power management level: 128
    Recommended acoustic management value: 208, current value: 208
    DMA: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4 udma5 udma6
         Cycle time: min=120ns recommended=120ns
    PIO: pio0 pio1 pio2 pio3 pio4
         Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
    Enabled    Supported:
       *    SMART feature set
            Security Mode feature set
       *    Power Management feature set
       *    Write cache
       *    Look-ahead
       *    Host Protected Area feature set
       *    WRITE_BUFFER command
       *    READ_BUFFER command
       *    DOWNLOAD_MICROCODE
       *    Advanced Power Management feature set
            Power-Up In Standby feature set
       *    SET_FEATURES required to spinup after power up
            SET_MAX security extension
       *    48-bit Address feature set
       *    Device Configuration Overlay feature set
       *    Mandatory FLUSH_CACHE
       *    FLUSH_CACHE_EXT
       *    SMART error logging
       *    SMART self-test
       *    General Purpose Logging feature set
       *    WRITE_{DMA|MULTIPLE}_FUA_EXT
       *    64-bit World wide name
       *    IDLE_IMMEDIATE with UNLOAD
       *    WRITE_UNCORRECTABLE_EXT command
       *    {READ,WRITE}_DMA_EXT_GPL commands
       *    Segmented DOWNLOAD_MICROCODE
            unknown 119[6]
       *    Gen1 signaling speed (1.5Gb/s)
       *    Gen2 signaling speed (3.0Gb/s)
       *    Gen3 signaling speed (6.0Gb/s)
       *    Native Command Queueing (NCQ)
       *    Phy event counters
       *    Idle-Unload when NCQ is active
       *    READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
            DMA Setup Auto-Activate optimization
            Device-initiated interface power management
            Software settings preservation
            unknown 78[7]
       *    SMART Command Transport (SCT) feature set
       *    SCT Write Same (AC2)
       *    SCT Features Control (AC4)
       *    SCT Data Tables (AC5)
            unknown 206[12] (vendor specific)
            unknown 206[13] (vendor specific)
Security:
    Master password revision code = 65534
        supported
    not    enabled
    not    locked
    not    frozen
    not    expired: security count
        supported: enhanced erase
Logical Unit WWN Device Identifier: 5000c5008a990db1
    NAA        : 5
    IEEE OUI    : 000c50
    Unique ID    : 08a990db1
Checksum: correct
LibreELEC:~ # hdparm -B /dev/sda
/dev/sda:
 APM_level    = 128
LibreELEC:~ # hdparm -B 127 /dev/sda
/dev/sda:
 setting Advanced Power Management level to 0x7f (127)
 APM_level    = 127
LibreELEC:~ # hdparm -B /dev/sda
/dev/sda:
 APM_level    = 127
LibreELEC:~ #I get no errors, or I'm duing it completely wrong.
This have worked before, it would spin down after a few min. But it wouldn't be persistent, everytime the device rebooted, I would have to do it all over again. Now nothing happens.
The only changes I've made is that I've formatted the external hard drive from exFAT to ext4 and switch from OpenELEC to LibreELEC 7.0.1, which shouldn't matter... I think...
 
		 
		
		
	