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

Revision 2973, 4.2 KB (checked in by mds, 8 years ago)

add advice for 2.6 kernels, from Rudolf's mail

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