Need assistance with enabling the SMBus on an Intel 855PM 82801DB

Rudolf Marek r.marek at sh.cvut.cz
Thu Apr 14 23:48:37 CEST 2005


Hello,


Hmm I cant see subsystem ID in host bridge, please can you do
lspci -v -v -v

You might try to edit quirks.c

Find this in the file:

static void __init asus_hides_smbus_hostbridge(struct pci_dev *dev)
{
        if (unlikely(dev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK)) {
                if (dev->device == PCI_DEVICE_ID_INTEL_82845_HB)
                        switch(dev->subsystem_device) {

And add one line there like this:

static void __init asus_hides_smbus_hostbridge(struct pci_dev *dev)
{
asus_hides_smbus = 1;
        if (unlikely(dev->subsystem_vendor == PCI_VENDOR_ID_ASUSTEK)) {
                if (dev->device == PCI_DEVICE_ID_INTEL_82845_HB)
                        switch(dev->subsystem_device) {

Build kernel and reboot. You should now have the smbus enabled.
Run sensors-detect to see if there is something useful.

If so please tell us so, and we will fix the quirk. If there is nothing we are sorry.


Regards

Rudolf

Bradley Chapman wrote:
> Mr. Marek,
> 
> On 4/14/05, Rudolf Marek <r.marek at sh.cvut.cz> wrote:
> 
>>Hello,
>>
>>There is only a little chance that some known chip is there. You can try on your risk to enable it.
>>You need simply to edit drivers/pci/quirks.c
>>Notably the static void __init asus_hides_smbus_hostbridge(struct pci_dev *dev)
>>
>>If you dont know how to do it just provide
>>
>>lspci -v
>>lspci
> 
> 
> I already provided lspci in my original post. Here is lspci -v:
> 
> 0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O
> Controller (rev 21)
>         Flags: bus master, fast devsel, latency 0
>         Memory at a0000000 (32-bit, prefetchable) [size=64M]
>         Capabilities: <available only to root>
> 
> 0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP
> Controller (rev 21) (prog-if 00 [Normal decode])
>         Flags: bus master, 66MHz, fast devsel, latency 128
>         Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
>         I/O behind bridge: 0000c000-0000dfff
>         Memory behind bridge: e0000000-efffffff
>         Prefetchable memory behind bridge: 90000000-9fffffff
> 
> 0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM
> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) (prog-if 00
> [UHCI])
>         Flags: bus master, medium devsel, latency 0, IRQ 10
>         I/O ports at e000 [size=32]
> 
> 0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM
> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) (prog-if 00
> [UHCI])
>         Flags: bus master, medium devsel, latency 0, IRQ 11
>         I/O ports at e120 [size=32]
> 
> 0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM
> (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) (prog-if 00
> [UHCI])
>         Flags: bus master, medium devsel, latency 0, IRQ 10
>         I/O ports at e240 [size=32]
> 
> 0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB
> 2.0 EHCI Controller (rev 03) (prog-if 20 [EHCI])
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, medium devsel, latency 0, IRQ 11
>         Memory at f0000000 (32-bit, non-prefetchable) [size=1K]
>         Capabilities: <available only to root>
> 
> 0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
> (prog-if 00 [Normal decode])
>         Flags: bus master, fast devsel, latency 0
>         Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
>         I/O behind bridge: 0000a000-0000bfff
>         Memory behind bridge: d0000000-dfffffff
>         Prefetchable memory behind bridge: 80000000-8fffffff
> 
> 0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
>         Flags: bus master, medium devsel, latency 0
> 
> 0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA
> Storage Controller (rev 03) (prog-if 8a [Master SecP PriP])
>         Flags: bus master, medium devsel, latency 0, IRQ 10
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at <unassigned>
>         I/O ports at 1100 [size=16]
>         Memory at 20000000 (32-bit, non-prefetchable) [size=1K]
> 
> 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
> (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, medium devsel, latency 0, IRQ 11
>         I/O ports at e400 [size=256]
>         I/O ports at e600 [size=64]
>         Memory at f0000400 (32-bit, non-prefetchable) [size=512]
>         Memory at f0000600 (32-bit, non-prefetchable) [size=256]
>         Capabilities: <available only to root>
> 
> 0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
> AC'97 Modem Controller (rev 03) (prog-if 00 [Generic])
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, medium devsel, latency 0, IRQ 11
>         I/O ports at e800 [size=256]
>         I/O ports at ea00 [size=128]
>         Capabilities: <available only to root>
> 
> 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350
> [Mobility Radeon 9600 M10] (prog-if 00 [VGA])
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, 66MHz, medium devsel, latency 255, IRQ 10
>         Memory at 90000000 (32-bit, prefetchable) [size=128M]
>         I/O ports at c000 [size=256]
>         Memory at e0000000 (32-bit, non-prefetchable) [size=64K]
>         Capabilities: <available only to root>
> 
> 0000:02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
> RTL-8169 Gigabit Ethernet (rev 10)
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, 66MHz, medium devsel, latency 128, IRQ 10
>         I/O ports at a200 [size=256]
>         Memory at d0008000 (32-bit, non-prefetchable) [size=256]
>         Capabilities: <available only to root>
> 
> 0000:02:02.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21
> IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, medium devsel, latency 128, IRQ 11
>         Memory at d0001000 (32-bit, non-prefetchable) [size=2K]
>         Memory at d0004000 (32-bit, non-prefetchable) [size=16K]
>         Capabilities: <available only to root>
> 
> 0000:02:03.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
>         Subsystem: Intel Corp.: Unknown device 2701
>         Flags: bus master, medium devsel, latency 128, IRQ 10
>         Memory at d0000000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: <available only to root>
> 
> 0000:02:09.0 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, medium devsel, latency 168, IRQ 10
>         Memory at 20001000 (32-bit, non-prefetchable) [size=4K]
>         Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
>         Memory window 0: 20400000-207ff000 (prefetchable)
>         Memory window 1: 20800000-20bff000
>         I/O window 0: 00004000-000040ff
>         I/O window 1: 00004400-000044ff
>         16-bit legacy interface ports at 0001
> 
> 0000:02:09.1 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, medium devsel, latency 168, IRQ 11
>         Memory at 20002000 (32-bit, non-prefetchable) [size=4K]
>         Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
>         Memory window 0: 20c00000-20fff000 (prefetchable)
>         Memory window 1: 21000000-213ff000
>         I/O window 0: 00004800-000048ff
>         I/O window 1: 00004c00-00004cff
>         16-bit legacy interface ports at 0001
> 
> 0000:02:09.2 System peripheral: Texas Instruments: Unknown device 8201 (rev 01)
>         Subsystem: CLEVO/KAPOK Computer: Unknown device 0470
>         Flags: bus master, medium devsel, latency 128
>         I/O ports at a000 [size=64]
>         Capabilities: <available only to root>
> 
>>Or boot 2.4 kernel and try the p4b_smbus.c
>>
>>I can try to help you with that.
>>
>>On the other hand if you have ACPI working you can try acpi -V command and if you have thermal zone module loaded
>>you will get temp information. If you do not have acpi working you can try to fix it on your own.
>>
>>http://forums.gentoo.org/viewtopic.php?t=122145
> 
> 
> I already tried this. The DSDT that my BIOS implements doesn't seem to
> contain any AML for the thermal module to work with :-(
> 
> lspci -n:
> 
> 
>>>0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O
>>>Controller (rev 21)
>>>0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP
>>>Controller (rev 21)
>>>0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM
>>>(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
>>>0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM
>>>(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
>>>0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM
>>>(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
>>>0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB
>>>2.0 EHCI Controller (rev 03)
>>>0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
>>>0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
>>>0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA
>>>Storage Controller (rev 03)
>>>0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
>>>(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
>>>0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
>>>AC'97 Modem Controller (rev 03)
>>>0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350
>>>[Mobility Radeon 9600 M10]
>>>0000:02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
>>>RTL-8169 Gigabit Ethernet (rev 10)
>>>0000:02:02.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21
>>>IEEE-1394a-2000 Controller (PHY/Link)
>>>0000:02:03.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
>>>0000:02:09.0 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
>>>0000:02:09.1 CardBus bridge: Texas Instruments: Unknown device ac54 (rev 01)
>>>0000:02:09.2 System peripheral: Texas Instruments: Unknown device 8201 (rev 01)
> 
> 
>>I hope this helps.
>>
>>Regards
>>
>>Rudolf
> 
> 
> Brad



More information about the lm-sensors mailing list