Ticket #184 (closed task)

Opened 7 years ago

Tekram P6B40D-A5: SMBUS: Error: Host SMBus controller not enabled (Examined/Solved - lm_sensors-2.4.3 Linux 2.2.13)

Reported by: contact Owned by: somebody
Priority: minor Milestone:
Component: kernel Version:
Keywords: Cc:

Description

lm_sensors are compiled into the kernel; here is part of dmesg file: i2c-core.o: i2c core module i2c-dev.o: i2c /dev entries driver module i2c-core.o: driver i2c-dev dummy driver registered. piix4.o version 2.4.3 (19991007) SMBUS: Error: Host SMBus controller not enabled! i2c-piix4.o: PIIX4 not detected, module not inserted. sensors.o version 2.4.3 (19991007) lm78.o version 2.4.3 (19991007) i2c-core.o: driver LM78(-J) and LM79 sensor driver registered. here is a log of sensors-detect (on system with lm_sensors already built into the kernel):

This program will help you to determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have done a 'make install', issued a 'depmod -a' and made sure '/etc/conf.modules' (or '/etc/modules.conf') contains the appropriate module path before you can use some functions of this utility. Read doc/modules for more information. Also, you need to be 'root', or at least have access to the /dev/i2c-* files for some things. You can use prog/mkdev/mkdev.sh to create these /dev files if you do not have them already. If you have patched your kernel and have some drivers built-in you can safely answer NO if asked to load some modules. In this case, things may seem a bit confusing, but they will still work. We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this. Do you want to probe now? (YES/no):

Probing for PCI bus adapters... Use driver 'i2c-piix4' for device 00:07.3: Intel 82371AB PIIX4 ACPI Probe succesfully concluded.

We will now try to load each adapter module in turn.

Load 'i2c-piix4' (say NO if built into your kernel)? (YES/no): no

Do you now want to be prompted for non-detectable adapters? (yes/NO): To continue, we need module 'i2c-dev' to be loaded. If it is built-in into your kernel, you can safely skip this. i2c-dev is not loaded. Do you want to load it now? (YES/no): no Well, you will know best. We will just hope you edited '/etc/conf.modules' (or '/etc/modules.conf') for automatic loading of this module. If not, you won't be able to open any /dev/i2c-* file (unless youhave it built-in into your kernel) We are now going to do the adapter probings. Some adapters may hang halfway through; we can't really help that. Also, some chips will be double detected; we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you can specify that address to remain unprobed. If you have a PIIX4, that often includes addresses 0x69 and/or 0x6a. Some chips are also accessible through the ISA bus. ISA probes are typically a bit more dangerous, as we have to write to I/O ports to do this. Do you want to scan the ISA bus? (YES/no):

Probing for 'National Semiconductor LM78'

Trying address 0x0290... Failed!

Probing for 'National Semiconductor LM78-J'

Trying address 0x0290... Success!

(confidence 7, driver 'lm78')

Probing for 'National Semiconductor LM79'

Trying address 0x0290... Failed!

Probing for 'Winbond W83781D'

Trying address 0x0290... Failed!

Probing for 'Winbond W83782D'

Trying address 0x0290... Failed!

Probing for 'Winbond W83627HF'

Trying address 0x0290... Failed!

Probing for 'Silicon Integrated Systems SIS5595'

Trying general detect... Failed!

Now follows a summary of the probes I have just done. Just press ENTER to continue:

Driver 'lm78' (should be inserted):

Detects correctly:

  • ISA bus address 0x0290 (Busdriver 'i2c-isa') Chip 'National Semiconductor LM78-J' (confidence: 7)

I will now generate the commands needed to load the I2C modules. Sometimes, a chip is available both through the ISA bus and an I2C bus. ISA bus access is faster, but you need to load an additional driver module for it. If you have the choice, do you want to use the ISA bus or the I2C/SMBus (ISA/smbus)?

WARNING! If you have some things built into your kernel, the below list will contain too many modules. Skip the appropriate ones! To load everything that is needed, add this to some /etc/rc* file: #----cut here---- # I2C adapter drivers modprobe i2c-isa # I2C chip drivers modprobe lm78 #----cut here---- To make the sensors modules behave correctly, add these lines to either /etc/modules.conf or /etc/conf.modules: #----cut here---- # I2C module options alias char-major-89 i2c-dev #----cut here---- Any ideas why i2c-piix4 won't work and what should I do to make it work? --- I think you will have to go back to modules for the PIIX4 driver. You need to use one of the 'force' parameters (see doc/busses/piix4 for more information). At this moment, it is not possible to do this through a boot parameter.

Frodo

Note: See TracTickets for help on using tickets.