[19. June 2013] Soundcloud® available now | [7. June 2013] Youporn available now | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 RC1 [13 June 2013] | A-200/A-210 RC1 [13 June 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
[A110] How to change the HDD standby time
02-14-2009, 07:43 PM
Post: #1
[A110] How to change the HDD standby time
Is there anyway to make the hard drive stay on longer before turning off? It seems that whenever I get a phone call for a few minutes, the hard drive shuts off. It seems like it adds a lot of unnecessary wear. Is this possible?
Find all posts by this user
02-15-2009, 07:31 PM
Post: #2
RE: [A110] How to change the HDD standby time
I just received my NMT yesterday and this is the only thing that has been annoying me.

It only seems to last about 5 minutes and then turns off. Annoying if your researching something to test out on the NMT and you have to power the drive up again and then it goes off again and then on again.. you get my point Rolleyes

No simple hack/ix for this?

Something like 30 mins of idle and then standby would be great!
Find all posts by this user
02-15-2009, 09:43 PM
Post: #3
RE: [A110] How to change the HDD standby time
Hi ,

I don't know how familiar are you with linux /Pc's but here is the solution :

1) Using ftp connect to your PCH
2) Download start_app.sh from root
3) Insert new line after: #M_A_R_K_E_R_do_not_remove_me
cd /sbin/ && ./hdparm -S 241 /dev/hda &
4) Save the changes
5) Upload modified start_app.sh using ftp
6) Restart PCH.

The change will be applied every time even if you do a restart or unplug the device.

BTW: -S 241 means = set standby timer to 30min

Regards,
Zsolt
Find all posts by this user
[+] 2 users say Thank You to Jolt82 for this post
02-15-2009, 09:52 PM
Post: #4
RE: [A110] How to change the HDD standby time
(02-15-2009 09:43 PM)Jolt82 Wrote:  Hi ,

I don't know how familiar are you with linux /Pc's but here is the solution :

1) Using ftp connect to your PCH
2) Download start_app.sh from root
3) Insert new line after: #M_A_R_K_E_R_do_not_remove_me
cd /sbin/ && ./hdparm -S 241 /dev/hda &
4) Save the changes
5) Upload modified start_app.sh using ftp
6) Restart PCH.

The change will be applied every time even if you do a restart or unplug the device.

BTW: -S 241 means = set standby timer to 30min

Regards,
Zsolt

Thanks
Find all posts by this user
02-16-2009, 08:44 AM
Post: #5
RE: [A110] How to change the HDD standby time
Thats superb.. I will try this out later today.

Thanks!
Find all posts by this user
02-16-2009, 08:59 PM
Post: #6
RE: [A110] How to change the HDD standby time
Other timeings that can be used:
-S 0 = OFF (No standby)
-S 60 = 5min (Default used by PCH )
-S 120 = 10min
-S 180 = 15min
-S 240 = 20min
-S 241 = 30min
-S 242 = 1hour
-S 250 = 5hours

Regards,
Zsolt
Find all posts by this user
[+] 1 user says Thank You to Jolt82 for this post
02-17-2009, 08:25 PM (This post was last modified: 02-17-2009 08:28 PM by cpbox.)
Post: #7
RE: [A110] How to change the HDD standby time
Jolt82

I use FileZilla to connect to the PCH, ftp connection with user ftpuser and its password, and can't see this file..
I forced FileZilla to show hidden files, I can see some hidden folders (.btpd .nzbget .transmission...) but still nothing like this file.. and I think I looked through the whole structure..

Am I missing something ?

Thanks in advance for your help !

Cris
Find all posts by this user
02-17-2009, 09:13 PM
Post: #8
RE: [A110] How to change the HDD standby time
Should be there somewhere in root. If not, you can create one by yourself:

1. Create a file named : start_app.sh
2. Paste inside :
#!/bin/sh
#

#M_A_R_K_E_R_do_not_remove_me
cd /sbin/ && ./hdparm -S 120 /dev/hda &

exit 0
3. Of course you can change to desired standby time
4. Upload the file to root.
5. Restart PCH and check if new setting are applied or not.

Regards,
Zsolt
Find all posts by this user
02-24-2009, 12:29 PM
Post: #9
RE: [A110] How to change the HDD standby time
Wanted to add a note that just creating a start_app.sh file wont get it executed on boot. To properly create a start_app.sh that does get installed on boot install a software package that uses it(like lundmans telnet, torrentwatch, tvnzb, etc.)

The installers for those applications change some files on a part of the hard disk you dont usually see to enable that script to run at boot time.

journey4712
Find all posts by this user
[+] 1 user says Thank You to journey4712 for this post
02-24-2009, 12:42 PM
Post: #10
RE: [A110] How to change the HDD standby time
(02-24-2009 12:29 PM)journey4712 Wrote:  Wanted to add a note that just creating a start_app.sh file wont get it executed on boot. To properly create a start_app.sh that does get installed on boot install a software package that uses it(like lundmans telnet, torrentwatch, tvnzb, etc.)

The installers for those applications change some files on a part of the hard disk you dont usually see to enable that script to run at boot time.

journey4712

I had also found hdparm line to put the hard-disk in a Quiet mode but if the file does not get picked up, not much point Sad

I do not use the PCH for anything else than playing movie files from the hard-disk of via myhome...
What can I do?

Thanks for your help folks !
Find all posts by this user
02-24-2009, 12:57 PM
Post: #11
RE: [A110] How to change the HDD standby time
Download and install telnetd from here. Delete(or move out of the way) any start_app.sh you created yourself before install. After it has been installed you can remove the telnetd line from start_app.sh and you will have no extra software being run on your NMT, and you will be able to insert boot commands like disabling standby

journey4712
Find all posts by this user
02-24-2009, 02:03 PM
Post: #12
RE: [A110] How to change the HDD standby time
How do all the hdparm tie in with the screen saver settings? I've noticed my drive spins down with the screen saver (A100 though)

Oversight: Jukebox | FeedTime: Automatic nzbs
Find all posts by this user
02-24-2009, 02:41 PM (This post was last modified: 02-24-2009 02:42 PM by journey4712.)
Post: #13
RE: [A110] How to change the HDD standby time
The screen saver spindown I believe is done by mono directly calling the hdparm program. When mono starts the screensaver it issues the command 'hdparm -y /dev/hda'. If you want to disable that just remove the hdparm symlink and use '/bin/busybox hdparm' whenever you need to use hdparm in a script

journey4712
Find all posts by this user
02-27-2009, 11:17 AM
Post: #14
RE: [A110] How to change the HDD standby time
This didn't work for me. I added the line in the place suggested and restarted the PCH (proper restart - using the physical power switch at the back of the unit). The hard drive still spins-down after five minutes.

I know that the modified start_app.sh is being called at startup because I've installed Lundman's telnet and that is definitely kicking-in at startup (I've seen the line in start_app.sh, and I've verified that I can telnet to the PCH when it starts-up).

Any idea on how to trouble-shoot this?

Thanks,

Fork.
Find all posts by this user
02-27-2009, 11:19 PM
Post: #15
RE: [A110] How to change the HDD standby time
Check this tread also:
http://www.networkedmediatank.com/showth...?tid=17457

Regards,
Zsolt
Find all posts by this user


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [A110] Tutorial for fan installation hippyharry 343 218,161 10-22-2009 02:59 PM
Last Post: pbusardo
  Can you access A110 internal Hard drive by PC's USB after formatting it via NMT ext3 yellow360f 21 16,903 10-14-2009 10:14 AM
Last Post: BaZZeHH
  A110 Plays in slow motion Manoso 13 8,368 10-12-2009 08:45 PM
Last Post: Hairy Hippy
  USB HDD Compatibility List for A-110 werner 72 67,468 10-07-2009 07:37 PM
Last Post: moncisko
  [A110] Cannot change / delete files on internal disk jjk 76 39,121 10-05-2009 02:33 PM
Last Post: luchazo
  Internal HDD not detected anymore plonker 8 12,014 10-04-2009 06:58 PM
Last Post: hxall
Exclamation A110 m2ts Freezing jdogg707 1 3,798 10-02-2009 12:56 PM
Last Post: spida_singh
  How much time does repair take? grokuik 8 4,481 09-28-2009 11:00 AM
Last Post: dunno
  [A110] Stuttering Locutus1 28 13,802 09-21-2009 05:33 PM
Last Post: nixus
  How to format external HDD to ext3? Gibbo 12 27,918 09-17-2009 01:09 AM
Last Post: entery

Forum Jump: