Asennus menee näin:
Lisätään Martinin repository /etc/apt/sources.list -tiedostoon
# echo "deb http://people.debian.org/~tbm/orion lenny main" >> /etc/apt/sources.list
Noudetaan Martinin gpg-avain:
# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 29BE5D2268FD549F
# apt-key add /root/.gnupg/pubring.gpg
Ja päivitetään tietokanta:
# apt-get update
Kernelin asennus:
# apt-get install linux-image-orion5x
# reboot
Kun purnukka käynnistyy uudelleen, voi uden kernelin testata
# uname -a
Linux purnukka 2.6.32-2-orion5x #1 Fri Feb 12 18:12:26 UTC 2010 armv5tel GNU/Linux
Asennetaan lm-sensors:
# aptitude install lm-sensors -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
libsensors4{a} lm-sensors
0 packages upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 179kB of archives. After unpacking 754kB will be used.
Writing extended state information... Done
Get:1 http://ftp.fi.debian.org lenny/main libsensors4 1:3.0.2-1+b2 [62.3kB]
Get:2 http://ftp.fi.debian.org lenny/main lm-sensors 1:3.0.2-1+b2 [117kB]
Fetched 179kB in 0s (424kB/s) Selecting previously deselected package libsensors4. (Reading database ... 20731 files and directories currently installed.) Unpacking libsensors4 (from .../libsensors4_1%3a3.0.2-1+b2_armel.deb) ... Selecting previously deselected package lm-sensors. Unpacking lm-sensors (from .../lm-sensors_1%3a3.0.2-1+b2_armel.deb) ... Processing triggers for man-db ... Setting up libsensors4 (1:3.0.2-1+b2) ... Creating config file /etc/sensors3.conf with new version Setting up lm-sensors (1:3.0.2-1+b2) ... Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Writing extended state information... Done Reading task descriptions... Done
# sensors-detect
... << poistettu tauhkaa >>
We can start with probing for (PCI) I2C or SMBus adapters. Do you want to probe now? (YES/no):yes
...
Do you want to scan the ISA I/O ports? (YES/no): no ...
Do you want to scan for Super I/O sensors? (YES/no): no
...
Some south bridges, CPUs or memory controllers may also contain embedded sensors. Do you want to scan for them? (YES/no): Silicon Integrated Systems SIS5595... No VIA VT82C686 Integrated Sensors... No VIA VT8231 Integrated Sensors... No AMD K8 thermal sensors... No AMD K10 thermal sensors... No Intel Core family thermal sensor... No Intel AMB FB-DIMM thermal sensor... No Now follows a summary of the probes I have just done. Just press ENTER to continue: Driver `lm75' (should be inserted): Detects correctly: * Bus `mv64xxx_i2c adapter' Busdriver `UNKNOWN', I2C address 0x48 Chip `lm75' (confidence: 6)
I will now generate the commands needed to load the required modules. Just press ENTER to continue: To load everything that is needed, add this to /etc/modules: #----cut here---- # I2C adapter drivers # modprobe unknown adapter mv64xxx_i2c adapter # Chip drivers lm75 #----cut here---- Do you want to add these lines automatically? (yes/NO)yes # jed /etc/modules # modprobe lm75
# sensors lm75-i2c-0-48 Adapter: mv64xxx_i2c adapter temp1: +48.5°C (high = +80.0°C, hyst = +75.0°C) g760a-i2c-0-3e Adapter: mv64xxx_i2c adapter fan1: 0 RPM # pwmconfig
... << poistettu tauhkaa >>
Select fan output to configure, or other action: 1) hwmon1/device/pwm1 3) Just quit 5) Show configuration 2) Change INTERVAL 4) Save and quit select (1-n): 1
....
Select fan output to configure, or other action: 1) hwmon1/device/pwm1 3) Just quit 5) Show configuration 2) Change INTERVAL 4) Save and quit select (1-n): 4 Saving configuration to /etc/fancontrol... Configuration saved #
# /etc/init.d/fancontrol restart Stopping fan speed regulator: fancontrol. Starting fan speed regulator: fancontrol. #
Uuden kernelin jälkeen prosessorikin tunnistuu aiempaa ytimekkäämmin:
# cat /proc/cpuinfo Processor : Feroceon rev 0 (v5l) BogoMIPS : 332.59 Features : swp half thumb fastmult edsp CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 0 Hardware : D-Link DNS-323 Revision : 0000 Serial : 0000000000000000
#
Ei kommentteja:
Lähetä kommentti
Voit jättää kirjoitukseen liittyvän kommentin.