DM800SE: external HDD never goes stand-by

  • DM800SE flashed with http://dreamboxupdate.com/open…mage-dm800se-20130424.nfi
    I have an external PATA hard disk 250 Gb and I bought a PATA TO USB case/enclosure, the case is connected to USB port and mounted as /media/hdd
    The case has his own power source.
    In "Harddisk setup" menù I set up "1 minute" the stand-by time and then restarted the decoder
    But I noticed the hard disk never goes in stand-by mode.
    On the HDD nothing is stored, neither picon or EPG, neither Timeshift; only a folder "movies" with movies inside


    With Opendremabox 1.6 images, the HDD goes stand-by after the time I set up without problem


    Any help?


    Thank You.

  • UPDATE


    Stand-by time is set up to 1 minute in Device Manager->Config
    but the hard disk is still active since XX minutes,


    If I am NOT wrong, hdparm is used to manage hard disk device


    telnet



    Code
    hdparm -I /dev/sdb1




    I read all the info about my 250 GB PATA hard disk, perfetct!


    telnet



    Code
    hdparm -S 12 /dev/sdb1



    response



    Code
    >HDIO_DRIVE_CMD(setidle) failed: Invalid argument




    But the hard disk after 1 minute goes finally in stand by


    If I restart ONLY GUI hard disk remains in stand by ->OK
    If I enter device manager, hard disk goes OFF stand by ->OK
    When I exit Device Manager, HDD after 1 minutes goes stand by ->OK


    When I reboot the decoder, HDD DOES NOT go on stand by, but if I telnet


    >hdparm -S 12 /dev/sdb1
    >HDIO_DRIVE_CMD(setidle) failed: Invalid argument


    after 1 minutes HDD goes in stand by


    The wiki about hdparm command says:
    "The settings made from the command line are "forgotten/lost" on every reboot. To make your changes permanent you need to edit the file / etc / hdparm.conf"


    It seems that hdparm is NOT working on OE 2.0 images
    because if I set up as stand by time also 1 hour, hdparm command seems NOT working [from GUI]
    Furthermore when the command is issued an error is raised [HDIO_DRIVE_CMD(setidle) failed: Invalid argument] but the command was succesful because hard disk goes stand by
    I made a script in /usr/script named hdparm_user.sh so every time the decoder reboot hdparm command is issued


    Bash
    #!/bin/sh
    #########################################
    #	Set hard disk time stand by to	#
    #	300 sec. (60 x 5)		#
    #########################################
    hdparm -S 60 /dev/sdb1

    Einmal editiert, zuletzt von CrasHBoneS ()