root/lm-sensors/trunk/prog/hotplug/README.p4b @ 1404

Revision 1404, 2.1 KB (checked in by mds, 11 years ago)

add support for ICH4; patch from

Klaus Woltereck <kw42@…>

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1What is it?
2-----------
3
4This is just a quick and dirty hack to get the hardware monitoring working
5on the ASUS P4B board under Linux.
6It works by turning on the SMBus PCI device.
7It is implemented as a module, p4b_smbus.o.
8It only works with the ICH2 (82801BA) and ICH4 (82801DB).
9
10ASUS switches off the SMBus PCI Device
11in the i801 ICH2/4 chip. I spoke two times
12with the German support and learned that: "We do not want the users to be
13irritated by just another PCI Device in the Win98 device manager."
14Really funny :-).
15
16What does the module do?
17------------------------
18(Note: the following instructions assume the ICH2. For the ICH4,
19the PCI IDs are 24C0 and 24C3)
20
21It turnes off (!) the bits number 8 and 3 in the LPC register of the ICH2.
22This you can also try as root with setpci and pcitweak.
23First do a:
24
25setpci -d 8086:2440 f2.w
26
27You will get an hex number VAL - in my case 148 (Hex)-, where you have to
28erase the two bits - in my case you get 40 (Hex).
29Then do a:
30
31setpci -d 8086:2440 f2.w=VAL
32
33Running "lspci -n" you will not see any new device, but with "pcitweak -l" you
34should get a line similar to this in the output:
35
36PCI: 00:1f:3: chip 8086,2443 card 1043,8028 rev 12 class 0c,05,00 hdr 00
37
38The important thing is the "8086,2443" here.
39The device is activated, but not included in /proc/pci and
40/proc/bus/pci/devices. This is the reason for running the module.
41
42What are the system requirements?
43---------------------------------
44
45- Obviously a board with Intel i801BA/DB ICH2/4 with broken bios.
46- A linux working with a 2.4 kernel AND hotplug support in it!
47- A installed kernel tree and gcc.
48- i2c and sensor modules installed.
49
50How to install?
51---------------
52
53Simply do a:
54
55make -f Makefile.p4b
56insmod p4b_smbus.o
57modprobe  i2c-core
58modprobe  i2c-i801
59modprobe  i2c-dev
60modprobe  i2c-proc
61
62Then run your sensor:
63
64modprobe  w83781d
65
66What should i never do?
67-----------------------
68
69Do not try to do a "rmmod p4b_smbus" before a "rmmod i2c-i801".
70The other way around should be okay. Otherwise you remove the PCI device
71without notifying the i2c driver.
72
73
74-------------------------------
75Ilja Rauhut <IljaRauhut@web.de>
76 
Note: See TracBrowser for help on using the browser.