| 1 | Installed version of lm-sensors 1.2.10.1-2 |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | uname -a |
|---|
| 5 | |
|---|
| 6 | uname -a |
|---|
| 7 | Linux Kubuntu-2 2.6.17-10-generic #2 SMP Tue Dec 5 21:16:35 UTC 2006 x86_64 GNU/Linux |
|---|
| 8 | |
|---|
| 9 | sensors-detect |
|---|
| 10 | |
|---|
| 11 | # sensors-detect revision 4171 (2006-09-24 03:37:01 -0700) |
|---|
| 12 | |
|---|
| 13 | This program will help you determine which kernel modules you need |
|---|
| 14 | to load to use lm_sensors most effectively. It is generally safe |
|---|
| 15 | and recommended to accept the default answers to all questions, |
|---|
| 16 | unless you know what you're doing. |
|---|
| 17 | |
|---|
| 18 | We can start with probing for (PCI) I2C or SMBus adapters. |
|---|
| 19 | Do you want to probe now? (YES/no): y |
|---|
| 20 | Probing for PCI bus adapters... |
|---|
| 21 | Use driver `i2c-i801' for device 0000:00:1f.3: Intel ICH8 |
|---|
| 22 | |
|---|
| 23 | We will now try to load each adapter module in turn. |
|---|
| 24 | Module `i2c-i801' already loaded. |
|---|
| 25 | If you have undetectable or unsupported adapters, you can have them |
|---|
| 26 | scanned by manually loading the modules before running this script. |
|---|
| 27 | |
|---|
| 28 | To continue, we need module `i2c-dev' to be loaded. |
|---|
| 29 | Do you want to load `i2c-dev' now? (YES/no): y |
|---|
| 30 | Module loaded successfully. |
|---|
| 31 | |
|---|
| 32 | We are now going to do the I2C/SMBus adapter probings. Some chips may |
|---|
| 33 | be double detected; we choose the one with the highest confidence |
|---|
| 34 | value in that case. |
|---|
| 35 | If you found that the adapter hung after probing a certain address, |
|---|
| 36 | you can specify that address to remain unprobed. |
|---|
| 37 | |
|---|
| 38 | Next adapter: SMBus I801 adapter at 0500 |
|---|
| 39 | Do you want to scan it? (YES/no/selectively): y |
|---|
| 40 | Client found at address 0x08 |
|---|
| 41 | Client found at address 0x50 |
|---|
| 42 | Handled by driver `eeprom' (already loaded), chip type `eeprom' |
|---|
| 43 | Client found at address 0x52 |
|---|
| 44 | Handled by driver `eeprom' (already loaded), chip type `eeprom' |
|---|
| 45 | Client found at address 0x69 |
|---|
| 46 | |
|---|
| 47 | Some chips are also accessible through the ISA I/O ports. We have to |
|---|
| 48 | write to arbitrary I/O ports to probe them. This is usually safe though. |
|---|
| 49 | Yes, you do have ISA I/O ports even if you do not have any ISA slots! |
|---|
| 50 | Do you want to scan the ISA I/O ports? (YES/no): y |
|---|
| 51 | Probing for `National Semiconductor LM78' at 0x290... No |
|---|
| 52 | Probing for `National Semiconductor LM78-J' at 0x290... No |
|---|
| 53 | Probing for `National Semiconductor LM79' at 0x290... No |
|---|
| 54 | Probing for `Winbond W83781D' at 0x290... No |
|---|
| 55 | Probing for `Winbond W83782D' at 0x290... No |
|---|
| 56 | Probing for `Winbond W83627HF' at 0x290... No |
|---|
| 57 | Probing for `Silicon Integrated Systems SIS5595'... No |
|---|
| 58 | Probing for `VIA VT82C686 Integrated Sensors'... No |
|---|
| 59 | Probing for `VIA VT8231 Integrated Sensors'... No |
|---|
| 60 | Probing for `AMD K8 thermal sensors'... No |
|---|
| 61 | Probing for `IPMI BMC KCS' at 0xca0... No |
|---|
| 62 | Probing for `IPMI BMC SMIC' at 0xca8... No |
|---|
| 63 | |
|---|
| 64 | Some Super I/O chips may also contain sensors. We have to write to |
|---|
| 65 | standard I/O ports to probe them. This is usually safe. |
|---|
| 66 | Do you want to scan for Super I/O sensors? (YES/no): y |
|---|
| 67 | Probing for Super-I/O at 0x2e/0x2f |
|---|
| 68 | Trying family `ITE'... Yes |
|---|
| 69 | Found `ITE IT8718F Super IO Sensors' Success! |
|---|
| 70 | (address 0x290, driver `it87') |
|---|
| 71 | Trying family `National Semiconductor'... No |
|---|
| 72 | Trying family `SMSC'... No |
|---|
| 73 | Trying family `VIA/Winbond/Fintek'... No |
|---|
| 74 | Probing for Super-I/O at 0x4e/0x4f |
|---|
| 75 | Trying family `ITE'... No |
|---|
| 76 | Trying family `National Semiconductor'... No |
|---|
| 77 | Trying family `SMSC'... No |
|---|
| 78 | Trying family `VIA/Winbond/Fintek'... No |
|---|
| 79 | |
|---|
| 80 | Now follows a summary of the probes I have just done. |
|---|
| 81 | Just press ENTER to continue: |
|---|
| 82 | |
|---|
| 83 | Driver `eeprom' (should be inserted): |
|---|
| 84 | Detects correctly: |
|---|
| 85 | * Bus `SMBus I801 adapter at 0500' |
|---|
| 86 | Busdriver `i2c-i801', I2C address 0x50 |
|---|
| 87 | Chip `eeprom' (confidence: 6) |
|---|
| 88 | * Bus `SMBus I801 adapter at 0500' |
|---|
| 89 | Busdriver `i2c-i801', I2C address 0x52 |
|---|
| 90 | Chip `eeprom' (confidence: 6) |
|---|
| 91 | |
|---|
| 92 | EEPROMs are *NOT* sensors! They are data storage chips commonly |
|---|
| 93 | found on memory modules (SPD), in monitors (EDID), or in some |
|---|
| 94 | laptops, for example. |
|---|
| 95 | |
|---|
| 96 | Driver `it87' (should be inserted): |
|---|
| 97 | Detects correctly: |
|---|
| 98 | * ISA bus address 0x0290 (Busdriver `i2c-isa') |
|---|
| 99 | Chip `ITE IT8718F Super IO Sensors' (confidence: 9) |
|---|
| 100 | |
|---|
| 101 | I will now generate the commands needed to load the required modules. |
|---|
| 102 | Just press ENTER to continue: |
|---|
| 103 | |
|---|
| 104 | To make the sensors modules behave correctly, add these lines to |
|---|
| 105 | /etc/modules: |
|---|
| 106 | |
|---|
| 107 | #----cut here---- |
|---|
| 108 | # I2C adapter drivers |
|---|
| 109 | i2c-i801 |
|---|
| 110 | i2c-isa |
|---|
| 111 | # Chip drivers |
|---|
| 112 | eeprom |
|---|
| 113 | it87 |
|---|
| 114 | #----cut here---- |
|---|
| 115 | |
|---|
| 116 | sensors |
|---|
| 117 | |
|---|
| 118 | ~$ sensors |
|---|
| 119 | No sensors found! |
|---|
| 120 | Make sure you loaded all the kernel drivers you need. |
|---|
| 121 | Try sensors-detect to find out which these are. |
|---|
| 122 | |
|---|
| 123 | |
|---|
| 124 | |
|---|
| 125 | |
|---|
| 126 | lsmod |
|---|
| 127 | |
|---|
| 128 | Module Size Used by |
|---|
| 129 | i2c_dev 14216 0 |
|---|
| 130 | rfcomm 51360 0 |
|---|
| 131 | l2cap 31744 5 rfcomm |
|---|
| 132 | bluetooth 64644 4 rfcomm,l2cap |
|---|
| 133 | ipv6 334432 14 |
|---|
| 134 | video 22920 0 |
|---|
| 135 | tc1100_wmi 10632 0 |
|---|
| 136 | sbs 20928 0 |
|---|
| 137 | sony_acpi 7704 0 |
|---|
| 138 | pcc_acpi 19968 0 |
|---|
| 139 | i2c_ec 7808 1 sbs |
|---|
| 140 | hotkey 14536 0 |
|---|
| 141 | dev_acpi 17540 0 |
|---|
| 142 | button 9888 0 |
|---|
| 143 | battery 14088 0 |
|---|
| 144 | container 6656 0 |
|---|
| 145 | ac 8328 0 |
|---|
| 146 | asus_acpi 21924 0 |
|---|
| 147 | af_packet 29452 2 |
|---|
| 148 | it87 29476 0 |
|---|
| 149 | hwmon_vid 4992 1 it87 |
|---|
| 150 | eeprom 10000 0 |
|---|
| 151 | i2c_isa 7808 1 it87 |
|---|
| 152 | i2c_i801 11668 0 |
|---|
| 153 | i2c_core 29312 6 i2c_dev,i2c_ec,it87,eeprom,i2c_isa,i2c_i801 |
|---|
| 154 | parport_pc 43560 0 |
|---|
| 155 | lp 16584 0 |
|---|
| 156 | parport 49932 2 parport_pc,lp |
|---|
| 157 | tsdev 11136 0 |
|---|
| 158 | snd_hda_intel 23452 1 |
|---|
| 159 | snd_hda_codec 219392 1 snd_hda_intel |
|---|
| 160 | snd_pcm_oss 57344 0 |
|---|
| 161 | snd_mixer_oss 22784 1 snd_pcm_oss |
|---|
| 162 | usbhid 51360 0 |
|---|
| 163 | sk98lin 212572 0 |
|---|
| 164 | sg 44584 0 |
|---|
| 165 | sky2 50436 0 |
|---|
| 166 | snd_pcm 108168 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss |
|---|
| 167 | snd_timer 31112 1 snd_pcm |
|---|
| 168 | snd 79016 8 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer |
|---|
| 169 | soundcore 14112 1 snd |
|---|
| 170 | psmouse 51088 0 |
|---|
| 171 | shpchp 49068 0 |
|---|
| 172 | snd_page_alloc 13200 2 snd_hda_intel,snd_pcm |
|---|
| 173 | intel_agp 32704 1 |
|---|
| 174 | serio_raw 10244 0 |
|---|
| 175 | evdev 14592 2 |
|---|
| 176 | pci_hotplug 38912 1 shpchp |
|---|
| 177 | pcspkr 5248 0 |
|---|
| 178 | floppy 76648 0 |
|---|
| 179 | ext3 164624 1 |
|---|
| 180 | jbd 74024 1 ext3 |
|---|
| 181 | ehci_hcd 40456 0 |
|---|
| 182 | uhci_hcd 30096 0 |
|---|
| 183 | usbcore 167840 4 usbhid,ehci_hcd,uhci_hcd |
|---|
| 184 | ide_generic 2944 0 |
|---|
| 185 | ide_cd 39584 1 |
|---|
| 186 | cdrom 43816 1 ide_cd |
|---|
| 187 | jmicron 6912 0 [permanent] |
|---|
| 188 | ahci 24452 0 |
|---|
| 189 | sd_mod 25728 3 |
|---|
| 190 | generic 7940 0 |
|---|
| 191 | ata_piix 13828 2 |
|---|
| 192 | libata 88984 2 ahci,ata_piix |
|---|
| 193 | scsi_mod 181424 4 sg,ahci,sd_mod,libata |
|---|
| 194 | thermal 19472 0 |
|---|
| 195 | processor 38280 1 thermal |
|---|
| 196 | fan 7432 0 |
|---|
| 197 | vesafb 11048 0 |
|---|
| 198 | capability 7304 0 |
|---|
| 199 | commoncap 10752 1 capability |
|---|
| 200 | vga16fb 16656 1 |
|---|
| 201 | cfbcopyarea 5376 2 vesafb,vga16fb |
|---|
| 202 | vgastate 10368 1 vga16fb |
|---|
| 203 | cfbimgblt 4352 2 vesafb,vga16fb |
|---|
| 204 | cfbfillrect 6272 2 vesafb,vga16fb |
|---|
| 205 | fbcon 45824 72 |
|---|
| 206 | tileblit 4736 1 fbcon |
|---|
| 207 | font 10240 1 fbcon |
|---|
| 208 | bitblit 8064 1 fbcon |
|---|
| 209 | softcursor 3968 1 bitblit |
|---|
| 210 | |
|---|
| 211 | |
|---|
| 212 | mount |
|---|
| 213 | |
|---|
| 214 | /dev/sda1 on / type ext3 (rw,errors=remount-ro) |
|---|
| 215 | proc on /proc type proc (rw,noexec,nosuid,nodev) |
|---|
| 216 | /sys on /sys type sysfs (rw,noexec,nosuid,nodev) |
|---|
| 217 | varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755) |
|---|
| 218 | varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777) |
|---|
| 219 | procbususb on /proc/bus/usb type usbfs (rw) |
|---|
| 220 | udev on /dev type tmpfs (rw,mode=0755) |
|---|
| 221 | devshm on /dev/shm type tmpfs (rw) |
|---|
| 222 | devpts on /dev/pts type devpts (rw,gid=5,mode=620) |
|---|
| 223 | |
|---|
| 224 | /etc/fstab |
|---|
| 225 | |
|---|
| 226 | # /etc/fstab: static file system information. |
|---|
| 227 | # |
|---|
| 228 | # <file system> <mount point> <type> <options> <dump> <pass> |
|---|
| 229 | proc /proc proc defaults 0 0 |
|---|
| 230 | # /dev/sda1 |
|---|
| 231 | UUID=f91e0113-975c-41fd-8ff6-012dc31624ec / ext3 defaults,errors=remount-ro 0 1 |
|---|
| 232 | # /dev/sda5 |
|---|
| 233 | UUID=528f5657-52f0-4764-bb20-cad0558da24b none swap sw 0 0 |
|---|
| 234 | /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0 |
|---|
| 235 | /dev/ /media/floppy0 auto rw,user,noauto 0 0 |
|---|
| 236 | sys /sys sysfs default 0 |
|---|
| 237 | |
|---|
| 238 | ls -l /dev/i2c* |
|---|
| 239 | |
|---|
| 240 | crw-rw---- 1 root root 89, 0 2006-12-31 15:35 /dev/i2c-0 |
|---|
| 241 | |
|---|
| 242 | /etc/modules |
|---|
| 243 | |
|---|
| 244 | # /etc/modules: kernel modules to load at boot time. |
|---|
| 245 | # |
|---|
| 246 | # This file contains the names of kernel modules that should be loaded |
|---|
| 247 | # at boot time, one per line. Lines beginning with "#" are ignored. |
|---|
| 248 | |
|---|
| 249 | lp |
|---|
| 250 | rtc |
|---|
| 251 | |
|---|
| 252 | # Generated by sensors-detect on Sun Dec 31 11:03:49 2006 |
|---|
| 253 | # I2C adapter drivers |
|---|
| 254 | i2c-i801 |
|---|
| 255 | i2c-isa |
|---|
| 256 | # Chip drivers |
|---|
| 257 | eeprom |
|---|
| 258 | it87 |
|---|
| 259 | |
|---|
| 260 | |
|---|
| 261 | ls -al /sys/class/hwmon |
|---|
| 262 | total 0 |
|---|
| 263 | drwxr-xr-x 2 root root 0 2006-12-31 14:45 . |
|---|
| 264 | drwxr-xr-x 26 root root 0 2006-12-31 15:35 .. |
|---|
| 265 | |
|---|
| 266 | /etc/sysconfig/lm_sensors |
|---|
| 267 | |
|---|
| 268 | # /etc/sysconfig/lm_sensors - Defines modules loaded by |
|---|
| 269 | # /etc/init.d/lm_sensors |
|---|
| 270 | # Copyright (c) 1998 - 2001 Frodo Looijaard <frodol@dds.nl> |
|---|
| 271 | # |
|---|
| 272 | # This program is free software; you can redistribute it and/or modify |
|---|
| 273 | # it under the terms of the GNU General Public License as published by |
|---|
| 274 | # the Free Software Foundation; either version 2 of the License, or |
|---|
| 275 | # (at your option) any later version. |
|---|
| 276 | # |
|---|
| 277 | # This program is distributed in the hope that it will be useful, |
|---|
| 278 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 279 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 280 | # GNU General Public License for more details. |
|---|
| 281 | # |
|---|
| 282 | # You should have received a copy of the GNU General Public License |
|---|
| 283 | # along with this program; if not, write to the Free Software |
|---|
| 284 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|---|
| 285 | # |
|---|
| 286 | # |
|---|
| 287 | # See also the lm_sensors homepage at: |
|---|
| 288 | # http://www.lm-sensors.org/ |
|---|
| 289 | # |
|---|
| 290 | # This file is used by /etc/init.d/lm_sensors and defines the modules to |
|---|
| 291 | # be loaded/unloaded. This file is sourced into /etc/init.d/lm_sensors. |
|---|
| 292 | # |
|---|
| 293 | # The format of this file is a shell script that simply defines the modules |
|---|
| 294 | # in order as normal variables with the special names: |
|---|
| 295 | # MODULE_0, MODULE_1, MODULE_2, etc. |
|---|
| 296 | # |
|---|
| 297 | # List the modules that are to be loaded for your system |
|---|
| 298 | # |
|---|
| 299 | # Generated by sensors-detect on Sun Dec 31 15:41:20 2006 |
|---|
| 300 | MODULE_0=i2c-i801 |
|---|
| 301 | MODULE_1=i2c-isa |
|---|
| 302 | MODULE_2=eeprom |
|---|
| 303 | MODULE_3=it87 |
|---|
| 304 | MODULE_4=coretemp |
|---|
| 305 | |
|---|
| 306 | /etc/init.d/lm_sensors |
|---|
| 307 | |
|---|
| 308 | #!/bin/sh |
|---|
| 309 | |
|---|
| 310 | PATH=/bin:/usr/bin:/sbin:/usr/sbin |
|---|
| 311 | PROGRAM=/usr/bin/sensors |
|---|
| 312 | |
|---|
| 313 | test -x $PROGRAM || exit 0 |
|---|
| 314 | |
|---|
| 315 | case "$1" in |
|---|
| 316 | start) |
|---|
| 317 | echo -n "Setting sensors limits:" |
|---|
| 318 | /usr/bin/sensors -s 1> /dev/null 2> /dev/null |
|---|
| 319 | /usr/bin/sensors 1> /dev/null 2> /dev/null |
|---|
| 320 | echo " done." |
|---|
| 321 | ;; |
|---|
| 322 | stop) |
|---|
| 323 | ;; |
|---|
| 324 | force-reload|restart) |
|---|
| 325 | $0 stop |
|---|
| 326 | $0 start |
|---|
| 327 | ;; |
|---|
| 328 | *) |
|---|
| 329 | echo "Usage: /etc/init.d/sensors {start|stop|restart|force-reload}" |
|---|
| 330 | exit 1 |
|---|
| 331 | esac |
|---|
| 332 | |
|---|
| 333 | exit 0 |
|---|
| 334 | |
|---|
| 335 | modprobe folowed by seensors |
|---|
| 336 | |
|---|
| 337 | shad@Kubuntu-2:~$ modprobe i2c-i801 |
|---|
| 338 | shad@Kubuntu-2:~$ modprobe i2c-isa |
|---|
| 339 | shad@Kubuntu-2:~$ modprobe eeprom |
|---|
| 340 | shad@Kubuntu-2:~$ modprobe it87 |
|---|
| 341 | shad@Kubuntu-2:~$ modprobe coretemp |
|---|
| 342 | FATAL: Module coretemp not found. |
|---|
| 343 | shad@Kubuntu-2:~$ sensors |
|---|
| 344 | No sensors found! |
|---|
| 345 | Make sure you loaded all the kernel drivers you need. |
|---|
| 346 | Try sensors-detect to find out which these are. |
|---|
| 347 | |
|---|
| 348 | |
|---|