pavva94 / snake-os

Automatically exported from code.google.com/p/snake-os
0 stars 1 forks source link

HD standby #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Features request.

It would save energy and HD life it the sustem could include a feature to 
control the HD standby time, such as hdparm.

Original issue reported on code.google.com by jlribei...@gmail.com on 29 Nov 2010 at 3:25

GoogleCodeExporter commented 9 years ago
Hello everybody!

I managed to have my SNAKE OS V1.3.2 (20101130) box patched with the followings:
1- USB port leds work.
2- Frees up system memory every 20 mins.
2- Checks attached USB hard disk(s)every 20 mins. and spins them down if they 
are idling.

All you need to do is:
1- Download attached etc.tar.gz file to your USB disk.
2- Change your directory to that file.
   cd /usb/<MOUNT_NAME_OF_YOUR_DISK>/
3- tar xvf etc.tar.gz -C /

Good luck!

Original comment by tezcan.f...@gmail.com on 24 Apr 2011 at 8:55

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
If everything goes well do not forget to save your config. So that changes 
remain permanent.

Original comment by tezcan.f...@gmail.com on 24 Apr 2011 at 9:24

GoogleCodeExporter commented 9 years ago
Hi should this work on SNAKE OS V1.2.0 (20100621) too? or only v1.3.2?

thanks.

Original comment by adrielpr...@gmail.com on 2 May 2011 at 12:11

GoogleCodeExporter commented 9 years ago
I have not checked whether or not it works with SNAKE OS V1.2.0 (20100621). If 
it doesn't work you can reset your system to the default. Or the best solution, 
you may upgrade your NAS to SNAKE OS V1.3.2 (20101130). It works nicely with 
the latest firmware.

Original comment by tezcan.f...@gmail.com on 2 May 2011 at 5:46

GoogleCodeExporter commented 9 years ago
ok, I did the upgrade to V1.3.2, but I had to do a little change in the code of 
the usbleds script to make it work with my "All-in-1 Dual HDD Docking Station" 
(DealExtreme SKU31937).
I really appreciated the HDD spindown script! Now it keeps cool all the idle 
time.

With this little change my USB leds wok fine now (removed the second part of 
the if):

if [ -d /sys/bus/usb/devices/1-1 ]
then
 printf "\x51" > /dev/nasleds 
# logger "USB1 led activated"
else
 printf "\x61" > /dev/nasleds 
# logger "USB1 led deactivated"
fi

if [ -d /sys/bus/usb/devices/1-2 ]
then
 printf "\x52" > /dev/nasleds 
# logger "USB2 led activated"
else
 printf "\x62" > /dev/nasleds 
# logger "USB2 led deactivated"

Great job! thank you!
(now just need to improve the wifi hang issue....)

Original comment by adrielpr...@gmail.com on 4 May 2011 at 2:21

GoogleCodeExporter commented 9 years ago
Should be build in :-)

Original comment by mkhom...@googlemail.com on 4 Jan 2012 at 12:40

GoogleCodeExporter commented 9 years ago
Hi, just an update, all my "WiFi hang issues" was solved after I replaced my 
router with the Assus RT-N56U dual band router. This baby is awesome!

regards,

Adriel.

Original comment by adrielpr...@gmail.com on 4 Jan 2012 at 3:28

GoogleCodeExporter commented 9 years ago
Where can I write the "tar xvf etc.tar.gz -C" which can be seen in comment #1
I have cumputers with windows. Can this command run via snake-os?

Original comment by bago...@gmail.com on 27 Apr 2013 at 7:47

GoogleCodeExporter commented 9 years ago
OK! I found the solution in another topic:

http://code.google.com/p/snake-os/issues/detail?id=91&q=putty

Original comment by bago...@gmail.com on 29 Apr 2013 at 10:49