Re: [lm-sensors] 2.6.24-rc4 hwmon it87 probe fails

From: Mike Houston
Date: Sun Dec 09 2007 - 23:02:32 EST


On Mon, 10 Dec 2007 10:31:27 +0800
Shaohua Li <shaohua.li@xxxxxxxxx> wrote:
> This should exist in previous kernel (before we remove acpi
> motherboard driver) too. Basically it's a broken BIOS. Could below
> patch work around it?
>
> Thanks,
> Shaohua
>
> Index: linux/drivers/pnp/system.c
> ===================================================================
> --- linux.orig/drivers/pnp/system.c 2007-12-10
> 10:17:46.000000000 +0800 +++ linux/drivers/pnp/system.c

Thanks Shaohua, I tested this as well and it appears to have worked
around the issue for me.

Now, in dmesg, I get:

system 00:01: ioport range 0x290-0x29f has been reserved
(...)
system 00:01: ioport range 0x290-0x294 could not be reserved

In /proc/ioports I see:

0290-029f : pnp 00:01
0290-0297 : it87
0290-0297 : it87

The it87 sensor now works without disabling acpipnp

Mike Houston
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/