Changeset 4283

Show
Ignore:
Timestamp:
01/06/07 23:18:39 (7 years ago)
Author:
ruik
Message:

Add the unhide_ICH_SMBus script

Location:
lm-sensors/trunk
Files:
1 added
4 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4282 r4283  
    2626  Program i2cdetect: Make the output clearer 
    2727  Program py-smbus: New! Python i2c-dev bindings (prog/py-smbus) 
     28  Program unhide_ICH_SMBus: New! Unhides the ICH SMBus even for 2.6 kernels 
     29                            without need of recompilation. 
    2830  Programs dump/*: More robust handling of user inputs 
    2931  Programs pwmconfig, fancontrol: Handle write errors for bash 3.1 
  • lm-sensors/trunk/doc/progs

    r4175 r4283  
    9191  See prog/hotplug/README.p4b for details. 
    9292 
     93* prog/hotplug/unhide_ICH_SMBus (shell script, not installed) 
     94  It unhides the ICH Intel SMBus for 2.6 kernels 
     95 
    9396* prog/init/lm_sensors.init (shell script, not installed) 
    9497  A SysV init script to be installed in /etc/rc.d/init.d/ 
  • lm-sensors/trunk/prog/hotplug/README

    r4157 r4283  
    1 M7101 - SMBus Support for ALi M15x3 based motherboards. 
    2 For Asus P4B motherboards, use the p4b_smbus module; 
    3 see the file README.p4b. 
     1Files in this directory: 
    42 
    5 NOTE: 
    6 This module is for 2.4 kernels only. For 2.6 kernels, 
    7 activation is handled by the code in drivers/pci/quirks.c 
    8 in the kernel source. If you have the latest 2.6 kernel and 
    9 the quirks code does not activate your SMBus, try adding support 
    10 in quirks.c, recompile and test your new kernel, and then 
    11 submit a patch to us. Contact us if you need assistance. 
     3* m7101.c 
     4  M7101 - SMBus Support for ALi M15x3 based motherboards. 
     5 
     6* README.p4b 
     7  More detailed information for files below. 
     8 
     9* p4b_smbus.c 
     10  2.4 Kernel module which unhides the bus for ASUS boards. 
     11   
     12* unhide_ICH_SMBus 
     13  Script which unhides the bus for 2.6 kernel. 
    1214 
    1315-------------------------------------------------------- 
  • lm-sensors/trunk/prog/hotplug/README.p4b

    r4282 r4283  
    22----------- 
    33 
    4 NOTE: 
    5 This module is for 2.4 kernels only. For 2.6 kernels, 
    6 activation is handled by the code in drivers/pci/quirks.c 
    7 in the kernel source. If you have the latest 2.6 kernel and 
    8 the quirks code does not activate your SMBus, try adding support 
    9 in quirks.c, recompile and test your new kernel, and then 
    10 submit a patch to us. Contact us if you need assistance. 
     4It unhides the SMBus of Intel ICH southbridges hidden 
     5on ASUS P4B series. It is implemented as a module (p4b_smbus.o), 
     6or a shell script for the 2.6 kernel (unhide_ICH_SMBus). 
    117 
    12 This is just a quick and dirty hack to get the hardware monitoring working 
    13 on the ASUS P4B board under Linux. 
    14 It works by turning on the SMBus PCI device. 
    15 It is implemented as a module, p4b_smbus.o. 
    168It works with the following chips: 
    179 * ICH2   (82801BA) 
     
    2618Really funny :-). 
    2719 
     20This module is for 2.4 kernels only. For 2.6 kernels, activation is 
     21handled by the code in drivers/pci/quirks.c in the kernel source. If you 
     22have the 2.6 kernel and the quirks code does not activate your SMBus, 
     23you may: 
     24 
     25 * check if you have kernel version from 2.6.17 to 2.6.19 
     26   If so you, need to disable ACPI sleep support and recompile kernel.  
     27   If you don't use suspend try below instead of recompilation. 
     28 
     29 * run as root the ./unhide_ICH_SMBus script. It will unhide the bus  
     30   and load the i2c-i801 driver. 
     31 
     32 * if above script works and you have latest kernel, you may  
     33   try to fix the quirks.c, recompile and test your new kernel, 
     34   and then submit a patch to us. Contact us if you need assistance. 
     35 
     36Information for 2.4 users continues below. 
     37 
    2838NOTE: As of kernel 2.4.23, the kernel activates the SMBus PCI device 
    2939on the following boards: 
     
    3545So this module is no longer required for these boards. For the other  
    3646affected boards, it still is. 
    37  
    3847 
    3948What does the module do?