General NAS-Central Forums

Welcome to the NAS community
It is currently Tue Dec 12, 2017 9:52 pm

All times are UTC




Post new topic Reply to topic  [ 39 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Thu Feb 07, 2013 8:12 am 
Offline
User avatar

Joined: Tue Feb 05, 2013 6:46 am
Posts: 44
Location: Germany
hello mijzelf

many thanks for your great help.

how do I get the information from i2cget
RPM and C values​​?

_________________
FR32K | LINUX | EigenHosting | NAS Hacking | NAS im Eigenbau | ALARM


Top
 Profile  
 
PostPosted: Thu Feb 07, 2013 9:50 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6087
I think the output of cpu temperature is just the temperature in °C. About the fan speed I don't know. Yet.


Top
 Profile  
 
PostPosted: Thu Feb 07, 2013 11:11 am 
Offline
User avatar

Joined: Tue Feb 05, 2013 6:46 am
Posts: 44
Location: Germany
Mijzelf wrote:
I think the output of cpu temperature is just the temperature in °C.


i didn't think so
Code:
i2cget -y 0x0 0x0a 0x07
0x27

but the webadmin show me 39C

_________________
FR32K | LINUX | EigenHosting | NAS Hacking | NAS im Eigenbau | ALARM


Top
 Profile  
 
PostPosted: Thu Feb 07, 2013 11:19 am 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6087
Numbers starting with 0x are hexadecimal. And 27 hex happens to equal 39 decimal (2*16+7*1)


Top
 Profile  
 
PostPosted: Thu Feb 07, 2013 7:56 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6087
More on NSA325 fan speed and cpu temperature: Wiki.


Top
 Profile  
 
PostPosted: Fri Feb 08, 2013 9:33 am 
Offline
User avatar

Joined: Tue Feb 05, 2013 6:46 am
Posts: 44
Location: Germany
thank you :P

_________________
FR32K | LINUX | EigenHosting | NAS Hacking | NAS im Eigenbau | ALARM


Top
 Profile  
 
PostPosted: Wed Feb 27, 2013 6:53 pm 
Offline
User avatar

Joined: Tue Feb 26, 2013 6:20 am
Posts: 4
Hello, I try to join this interesting topic (I hate my NSA320 fan noise)
We know how to query NSA 310, 320, 325 fan and tempareture values.

Just a step, how to control fan's RPM.


Code:
#!/bin/sh
for line in `cat /proc/mcu` ; do
    case $line in
            'MagicNumber:'*)
            if [ ${line#MagicNumber:} != 85 ] ; then
                exit
            fi
            ;;
            'Rpss:'*)
                fan1=${line#Rpss:}
                let fan=1000/$fan1*60
                echo fan1=$fan rpm
            ;;
            'Temperature:'*)
                temp1=${line#Temperature:}
                temp=${temp1:0:2}.${temp1:2:1}
                echo temp1=$temp *C
            ;;
    esac
done


I'll try to find how to control the fan speed... As I see, the fanctrld do nothing. at least for me.

_________________
-=< life is shit, core was dumped >=-


Top
 Profile  
 
PostPosted: Thu Mar 07, 2013 8:30 am 
Offline

Joined: Thu Mar 07, 2013 8:20 am
Posts: 3
Hi,

Wonder if anyone can help, I recently purchased the NSA310 about a week ago and im looking
to find a solution regarding the slightly loud idle fan noise, before looking down the path of
replacing the fan itself. :( .

I have installed the FFP tools using the built in packages method on the nsa310 (FW 4.40),
im able to get SSH/root access to the NAS without a problem. I have copied the script and
created an .sh file, copied it to the admin share and then moved it to the appropriate
location according to this thread, however im having issues with the script not running
as the fan still seems to be on idle and I cant run the script manually.

I am a little new to linux commands so any help would be appreciated.

Thanks


Top
 Profile  
 
PostPosted: Thu Mar 07, 2013 10:14 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Have you set execute permissions for script file?:
Code:
chmod a+x /ffp/start/your_script_name.sh


Top
 Profile  
 
PostPosted: Thu Mar 07, 2013 11:02 am 
Offline

Joined: Thu Mar 07, 2013 8:20 am
Posts: 3
Hi Barmalej2,

I did follow that step in a similar topic viewtopic.php?f=249&t=5785 which I have also tried but then noticed you
just took the fan out of your NSA310. Even the other script in the topic mentioned there I have tried
but no luck. I have copied that script and managed to copy the file to the /ffp/start
location as I can see the file using dir function. Even if I try to execute the script manually
using "./fan.sh" I get an error "/bin/sh^m bad interpreter"

Just trying to work out where I have gone wrong.

Thanks


Top
 Profile  
 
PostPosted: Thu Mar 07, 2013 1:34 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6087
Rymaan wrote:
"/bin/sh^m bad interpreter"
You created the script with some Windows editor. The script doesn't have Linux line endings.


Top
 Profile  
 
PostPosted: Thu Apr 04, 2013 5:48 am 
Offline

Joined: Thu Apr 04, 2013 5:45 am
Posts: 1
"How to install
Very simple. First, you need Go language (golang). Please note Go 1.0 WILL NOT compile on ARM5, you either need some development snapshot or you can checkout master (called "default") branch. Then install and set GOROOT and PATH variables."

I'm a newbee. Could you please write a bit more detailed tutorial? I'd appreciate it...

Thanks!


Top
 Profile  
 
PostPosted: Mon Apr 08, 2013 1:50 am 
Offline

Joined: Sat Apr 06, 2013 5:43 am
Posts: 42
kefealo wrote:
Hello, I try to join this interesting topic (I hate my NSA320 fan noise)
We know how to query NSA 310, 320, 325 fan and tempareture values.

Just a step, how to control fan's RPM.


Code:
#!/bin/sh
for line in `cat /proc/mcu` ; do
    case $line in
            'MagicNumber:'*)
            if [ ${line#MagicNumber:} != 85 ] ; then
                exit
            fi
            ;;
            'Rpss:'*)
                fan1=${line#Rpss:}
                let fan=1000/$fan1*60
                echo fan1=$fan rpm
            ;;
            'Temperature:'*)
                temp1=${line#Temperature:}
                temp=${temp1:0:2}.${temp1:2:1}
                echo temp1=$temp *C
            ;;
    esac
done


I'll try to find how to control the fan speed... As I see, the fanctrld do nothing. at least for me.


Hi kefealo
Any luck on finding how to control fan on NSA320? I just got one a couple of days ago, and the noise drives me nuts too :)


Top
 Profile  
 
PostPosted: Tue Apr 09, 2013 4:38 am 
Offline

Joined: Sat Apr 06, 2013 5:43 am
Posts: 42
Umm, Zyxel site states the fan for NSA-320 can be controlled.
http://www.zyxel.com/us/en/products_services/nsa320.shtml?t=p

Power and Thermal Management
Power control:
    Internal disk hibernation support
    Scheduled power on/off/reboot
    Wake-on-LAN support
    System automatically resume after power outage
    APC USB UPS monitoring and auto shutdown
Thermal management:
    Smart fan speed control
    High temperature alert/buzzer
    Auto shutdown while high temperature

What are we missing here.


Top
 Profile  
 
PostPosted: Fri May 03, 2013 8:35 pm 
Offline
User avatar

Joined: Tue Feb 26, 2013 6:20 am
Posts: 4
Legolas2 wrote:
Umm, Zyxel site states the fan for NSA-320 can be controlled.
http://www.zyxel.com/us/en/products_services/nsa320.shtml?t=p

Power and Thermal Management
Power control:
    Internal disk hibernation support
    Scheduled power on/off/reboot
    Wake-on-LAN support
    System automatically resume after power outage
    APC USB UPS monitoring and auto shutdown
Thermal management:
    Smart fan speed control
    High temperature alert/buzzer
    Auto shutdown while high temperature


Heh... don't joke me please... go to system on your nsa320
have you see any interesting stuffs in your "real" config?

What are we missing here.

_________________
-=< life is shit, core was dumped >=-


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 39 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 99 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group