root/lm-sensors/trunk/prog/hotplug/README

Revision 4283, 3.8 kB (checked in by ruik, 1 year ago)

Add the unhide_ICH_SMBus script

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 Files in this directory:
2
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.
14
15 --------------------------------------------------------
16 Quick Start (2.4 kernels only):
17
18         Verify that hotplug is enabled in your kernel (general setup)
19                 and reconfigure/rebuild/reinstall kernel if not
20         "lspci" to verify that 7101 device is not present
21         "make"
22         (as root) "make install"
23         (as root) "insmod m7101"
24         "lspci" to verify that 7101 device is present
25
26 --------------------------------------------------------
27 --------------------------------------------------------
28
29 Version 0.2 for 2.4.0-testx kernels.
30 Mark D. Studebaker <mdsxyz123@yahoo.com>
31
32 *** You must have 'Support for hot-pluggable devices' enabled
33 *** in your kernel (under 'general setup') for this module to work!!
34
35 For 2.2 and early 2.3 kernels you must use version 0.1;
36 version 0.2 will not work.
37 Version 0.1 does not use the kernel hotplug facility.
38
39 --------------------------------------------------------
40 Notes below for the 0.2 version, MDS.
41 --------------------------------------------------------
42 Default I/O addresses are 0xe800 for SMBus and 0xec00 for ACPI.
43
44 These can be changed at module insertion.
45 For example:
46         insmod m7101 smb_io=0x5000 acpi_io=0x4000
47
48
49 --------------------------------------------------------
50 Notes below from the 0.1 version, B. Kohl.
51 --------------------------------------------------------
52
53 This module was written to enable SMBus support on ALi M15x3 chipset based
54 motherboards. Although it was written for and tested on Gigabytes GA-5AX
55 it should work on any M15x3 chipset based board.
56
57 Probably most people trying this software on a GA-5AX will be utterly
58 disappointed. We have seen no sensor chips on this board - only DIMMs
59 were connected to the SMBus. If you are trying to make lm_sensors read
60 temperature and voltage values you will be pretty lost.
61
62 CAVEAT: To perform it's task this module needs to manipulate PCI-config
63 data and device structures on a very low level. This bears the risk of
64 causing havoc to your system in case anything goes wrong. Use this soft-
65 ware absolutely at your own risk.
66
67
68 Installation:
69 Untar the m7101.tgz file into an appropriate location and cd into the
70 m7101 subdirectory. Then type "make" to build the module file 'm7101.o'.
71 To insert it type
72         $ insmod m7101.o
73 as root.
74
75 If everything goes well (no error messages) you will see a description like
76 the following when doing 'lspci -v':
77
78 00:03.0 Non-VGA unclassified device: Acer Laboratories Inc. [ALi] M7101 PMU
79         Flags: medium devsel
80         I/O ports at 4000
81         I/O ports at 5000
82
83 and find an entry in the proc filesystem under /proc/bus/pci/00/03.0.
84
85
86 Removing the module removes the M7101 device from the proc file system
87 and switches the SMBus support off.
88
89 The lm_sensors software now should be able to access devices on the
90 motherboard's SMBus through the M7101.
91
92 Values for the ACPI-IO port (normally 0x4000) and the SMBus-IO port
93 (normally 0x5000) can be specified using the parameters acpi_io and
94 smbus_io respectively on the insmod command line.
95 The module defaults to ports 0xec00 and 0xe800.
96
97 In case the module does not load you might want to switch on debugging
98 by uncommenting the second CFLAGS-line (with the -DM7101_DEBUG switch)
99 in the Makefile.
100
101 This module was written to activate SMBus support. I don't know neither
102 have I tested wether it works with the software from the ACPI project.
103
104 Note: Egcs compilers with versions below 2.95.2 do not compile properly.
105 Use either 2.95.2 or gcc 2.7.2.x.
106
107 I have tested this module with 2.2 kernels up to version 2.2.14.
108
109
110 I wish to thank Frank Bauer for his help with this module.
111
112 Burkhard Kohl (burkhard.kohl@gmx.de)
Note: See TracBrowser for help on using the browser.