DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-03-14 18:49:45

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Fan control

Fan control setup is probably first thing you will need to worry right after you get your custom firmware or hdd-boot working. It is  because of by default your NSA-220 fan is not running.

Needed files and modules are located @ http://dns323.kood.org/downloads/?dir=. … NSA220/fan
Save hwmon-vid.ko and lm85.ko to kernel modules directory
i2cset, i2cget and fanctrld to /sbin
conf_ADT7463A.sh to some random location.

Code:

insmod hwmon-vid.ko
insmod lm85.ko
conf_ADT7463A.sh

If fanctrld is not started by conf_ADT7463A.sh then start it manually.

Code:

/sbin/fanctrld 0x0 0x2e

In Gentoo you can use following init script:

Code:

#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

description="NSA-220 fan controller daemon"

depend() {
    need localmount
    use logger
}

start() {
    ebegin "Starting ${description}"
    insmod /lib/modules/2.6.18.6/kernel/drivers/hwmon/hwmon-vid.ko
    insmod /lib/modules/2.6.18.6/kernel/drivers/hwmon/lm85.ko
    /usr/local/bin/conf_ADT7463A.sh
    eend $?
}

stop() {
    ebegin "Stopping ${description}"
    start-stop-daemon --stop --exec /sbin/fanctrld
    rmmod lm85
    rmmod hwmon-vid
    eend $?
}

DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB