Re: fan control on thecus n2100

2008-01-09 Thread Frank A. Kingswood

Martin Michlmayr wrote:

* Gaudenz Steinlin [EMAIL PROTECTED] [2008-01-09 11:27]:
  

How can I set the fan speed manually now and how do I enable automatic
fan control (if possible)?



I don't know which tools to use to control it automatically, but here
are instructions for manual use:

   By default, the fan should run at full speed. If you need to regulate the 
speed, you need to
   locate the pwm files in /sys:
find /sys/ | grep pwm
/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2
/sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1

   If you want to stop the fan, you have to write the value zero to these files:
echo 0  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2
echo 0  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1

   You can activate full speed using the following commands:
echo 255  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm1
echo 255  /sys/devices/platform/IOP3xx-I2C.0/i2c-0/0-002e/pwm2

  
See http://www.debonaras.org/wiki/Info/N2100FanControl for a shell 
script that regulates the fan by reading system and disk temperatures. 
Fan control has only a very small control range, and the script needs to 
be tuned for that, but when that is done it works just fine.


Frank


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Almost bricked my N2100

2007-06-14 Thread Frank A. Kingswood

Hallo!

Through no fault of my own (obviously!), my Thecus N2100 no longer has a 
working initrd in flash. On bootup I get:


  RAMDISK: Couldn't find valid RAM disk image starting at 0.
  No filesystem could mount root, tried:  cramfs
  Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(1,0)


I have access to RedBoot and have successfully used TFTP to download 
files into RAM, so to me it looks as if it should be easy to recover from:

  load -r initrd -b 0x0080
  fis load -kernel
  exec -c console=ttyS0,115200 root=/dev/ram0
   initrd=0xa080,42M [EMAIL PROTECTED]
and then force the initrd to be rebuilt and re-flashed.

I have two questions for you, my learned audience:
1. Is there a ready-made initrd in one of the debian packages that is 
more-or-less usable with the standard (and up-to-date) Debian distribution?
2. What do I need to do in terms of dpkg and apt commands to force the 
initrd and kernel to be reflashed?


Many thanks in advance,

Frank


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]