* [PATCH 1/1] pci: expose SMBus on Asus notebook A6L
@ 2009-05-12 10:05 Mats Erik Andersson
2009-05-12 23:27 ` Robert Hancock
2009-06-11 18:45 ` Jesse Barnes
0 siblings, 2 replies; 4+ messages in thread
From: Mats Erik Andersson @ 2009-05-12 10:05 UTC (permalink / raw)
To: jbarnes; +Cc: linux-kernel, trivial
From: Mats Erik Andersson <mats.andersson@gisladisker.se>
Addition of one unknown subsystem identifier to the
quirks handler for chipset i82855GM_HB on notebook
Asus A6L. This exposes the otherwise hidden SMBus
controller within the south bridge ICH4-M.
Signed-off-by: Mats Erik Andersson <mats.andersson@gisladisker.se>
---
Tried and successfully used on kernel 2.6.29 and 2.6.23.17.
--- drivers/pci/quirks.c.orig 2009-05-09 00:47:21.000000000 +0200
+++ drivers/pci/quirks.c 2009-05-12 11:20:04.000000000 +0200
@@ -1068,8 +1068,9 @@ static void __init asus_hides_smbus_host
else if (dev->device == PCI_DEVICE_ID_INTEL_82855GM_HB)
switch (dev->subsystem_device) {
case 0x1751: /* M2N notebook */
case 0x1821: /* M5N notebook */
+ case 0x1897: /* A6L notebook */
asus_hides_smbus = 1;
}
else if (dev->device == PCI_DEVICE_ID_INTEL_82855PM_HB)
switch (dev->subsystem_device) {
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 1/1] pci: expose SMBus on Asus notebook A6L
2009-05-12 10:05 [PATCH 1/1] pci: expose SMBus on Asus notebook A6L Mats Erik Andersson
@ 2009-05-12 23:27 ` Robert Hancock
2009-05-27 9:59 ` Mats Erik Andersson
2009-06-11 18:45 ` Jesse Barnes
1 sibling, 1 reply; 4+ messages in thread
From: Robert Hancock @ 2009-05-12 23:27 UTC (permalink / raw)
To: Mats Erik Andersson; +Cc: jbarnes, linux-kernel, trivial
Mats Erik Andersson wrote:
> From: Mats Erik Andersson <mats.andersson@gisladisker.se>
>
> Addition of one unknown subsystem identifier to the
> quirks handler for chipset i82855GM_HB on notebook
> Asus A6L. This exposes the otherwise hidden SMBus
> controller within the south bridge ICH4-M.
>
> Signed-off-by: Mats Erik Andersson <mats.andersson@gisladisker.se>
> ---
>
> Tried and successfully used on kernel 2.6.29 and 2.6.23.17.
>
> --- drivers/pci/quirks.c.orig 2009-05-09 00:47:21.000000000 +0200
> +++ drivers/pci/quirks.c 2009-05-12 11:20:04.000000000 +0200
> @@ -1068,8 +1068,9 @@ static void __init asus_hides_smbus_host
> else if (dev->device == PCI_DEVICE_ID_INTEL_82855GM_HB)
> switch (dev->subsystem_device) {
> case 0x1751: /* M2N notebook */
> case 0x1821: /* M5N notebook */
> + case 0x1897: /* A6L notebook */
> asus_hides_smbus = 1;
> }
> else if (dev->device == PCI_DEVICE_ID_INTEL_82855PM_HB)
> switch (dev->subsystem_device) {
This has to be done with caution. If the BIOS accesses the SMBus
controller from ACPI AML code or SMI code, then allowing a Linux driver
to access the controller may cause problems.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH 1/1] pci: expose SMBus on Asus notebook A6L
2009-05-12 23:27 ` Robert Hancock
@ 2009-05-27 9:59 ` Mats Erik Andersson
0 siblings, 0 replies; 4+ messages in thread
From: Mats Erik Andersson @ 2009-05-27 9:59 UTC (permalink / raw)
To: jbarnes; +Cc: linux-kernel, trivial
Some hardware observation on my suggested patch.
tisdag den 12 maj 2009 klockan 17:27 skrev Robert Hancock detta:
> Mats Erik Andersson wrote:
> >From: Mats Erik Andersson <mats.andersson@gisladisker.se>
> >
> >Addition of one unknown subsystem identifier to the
> >quirks handler for chipset i82855GM_HB on notebook
> >Asus A6L. This exposes the otherwise hidden SMBus
> >controller within the south bridge ICH4-M.
> >
> >Signed-off-by: Mats Erik Andersson <mats.andersson@gisladisker.se>
> >---
> >
> >Tried and successfully used on kernel 2.6.29 and 2.6.23.17.
> >
> >--- drivers/pci/quirks.c.orig 2009-05-09 00:47:21.000000000 +0200
> >+++ drivers/pci/quirks.c 2009-05-12 11:20:04.000000000 +0200
> >@@ -1068,8 +1068,9 @@ static void __init asus_hides_smbus_host
> > else if (dev->device == PCI_DEVICE_ID_INTEL_82855GM_HB)
> > switch (dev->subsystem_device) {
> > case 0x1751: /* M2N notebook */
> > case 0x1821: /* M5N notebook */
> >+ case 0x1897: /* A6L notebook */
> > asus_hides_smbus = 1;
> > }
> > else if (dev->device == PCI_DEVICE_ID_INTEL_82855PM_HB)
> > switch (dev->subsystem_device) {
>
> This has to be done with caution. If the BIOS accesses the SMBus
> controller from ACPI AML code or SMI code, then allowing a Linux driver
> to access the controller may cause problems.
My notebook Asus A6L can use the driver it87-isa without any
modification to the vanilla kernel, but that only exposes the
fan sensors and it only claims 0 RPM for all three measurements.
I have been dissatisfies with the fan control for three years now,
since it never completely slows down!
When exposing the hidden SMBus, thus using driver max6657-i2c,
the temperature sensors for motherboard and cpu becomes accessible
for lm-sensors for the first time. However, this cpu temperature
coincides with the claims done by the proc-acpi entry.
I am since some time now using a recompiled kernel with my suggested
patch activated, and I have as of yet not noticed any difference
in system behaviour. On the other hand I still cannot silence
the fan.
Regards
Mats Erik Andersson
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] pci: expose SMBus on Asus notebook A6L
2009-05-12 10:05 [PATCH 1/1] pci: expose SMBus on Asus notebook A6L Mats Erik Andersson
2009-05-12 23:27 ` Robert Hancock
@ 2009-06-11 18:45 ` Jesse Barnes
1 sibling, 0 replies; 4+ messages in thread
From: Jesse Barnes @ 2009-06-11 18:45 UTC (permalink / raw)
To: Mats Erik Andersson; +Cc: linux-kernel, trivial
On Tue, 12 May 2009 12:05:23 +0200
Mats Erik Andersson <mats.andersson@gisladisker.se> wrote:
> From: Mats Erik Andersson <mats.andersson@gisladisker.se>
>
> Addition of one unknown subsystem identifier to the
> quirks handler for chipset i82855GM_HB on notebook
> Asus A6L. This exposes the otherwise hidden SMBus
> controller within the south bridge ICH4-M.
>
> Signed-off-by: Mats Erik Andersson <mats.andersson@gisladisker.se>
> ---
>
> Tried and successfully used on kernel 2.6.29 and 2.6.23.17.
>
> --- drivers/pci/quirks.c.orig 2009-05-09 00:47:21.000000000
> +0200 +++ drivers/pci/quirks.c 2009-05-12 11:20:04.000000000
> +0200 @@ -1068,8 +1068,9 @@ static void __init asus_hides_smbus_host
> else if (dev->device ==
> PCI_DEVICE_ID_INTEL_82855GM_HB) switch (dev->subsystem_device) {
> case 0x1751: /* M2N notebook */
> case 0x1821: /* M5N notebook */
> + case 0x1897: /* A6L notebook */
> asus_hides_smbus = 1;
> }
> else if (dev->device ==
> PCI_DEVICE_ID_INTEL_82855PM_HB) switch (dev->subsystem_device) {
Applied to linux-next, thanks.
--
Jesse Barnes, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-11 18:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-12 10:05 [PATCH 1/1] pci: expose SMBus on Asus notebook A6L Mats Erik Andersson
2009-05-12 23:27 ` Robert Hancock
2009-05-27 9:59 ` Mats Erik Andersson
2009-06-11 18:45 ` Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox