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

Revision 1046, 3.7 KB (checked in by mds, 12 years ago)

update to quickstart instructions for m7101

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