Ticket #2304 (closed enhancement: fixed)

Opened 9 months ago

Last modified 2 months ago

Compaq EVO D510 hidden sensor

Reported by: ticket Assigned to: khali
Priority: minor Milestone:
Component: kernel Version: kernel
Keywords: Cc:

Description

I have a Compaq EVO D510. Running unhide_ICH_SMBus after loading fakephp finds a new device.

Running sensors-detect tells me to load i2c-i801, and lm85. After loading these two modules, sensors produces output and works as expected.

I do not have ACPI enabled in my kernel, ie "CONFIG_ACPI is not set".

I attached output from relevant commands before and after loading the fakephp module.

Attachments

lspci-original (7.5 kB) - added by ticket on 02/29/08 05:22:50.
sensors-detect-original (3.5 kB) - added by ticket on 02/29/08 05:24:01.
sensors-detect-after-fakephp (7.6 kB) - added by ticket on 02/29/08 05:24:34.
lspci-after-fakephp (8.0 kB) - added by ticket on 02/29/08 05:25:05.
sensors-output-after-fakephp (0.9 kB) - added by ticket on 02/29/08 05:25:33.
DSDT (2.9 kB) - added by ticket on 03/03/08 10:52:33.
/proc/acpi/dsdt from Compaq EVO D510
pci-enable-SMBus-on-Compaq-Evo-D510.patch (1.4 kB) - added by khali on 04/17/08 16:44:07.
PCI: Unhide the SMBus on the Compaq Evo D510

Change History

02/29/08 05:22:50 changed by ticket

  • attachment lspci-original added.

02/29/08 05:24:01 changed by ticket

  • attachment sensors-detect-original added.

02/29/08 05:24:34 changed by ticket

  • attachment sensors-detect-after-fakephp added.

02/29/08 05:25:05 changed by ticket

  • attachment lspci-after-fakephp added.

02/29/08 05:25:33 changed by ticket

  • attachment sensors-output-after-fakephp added.

03/02/08 07:56:05 changed by khali

  • owner changed from somebody to khali.
  • status changed from new to assigned.
  • component changed from sensors to kernel.

Can you please enable ACPI support in your kernel, then provide the DSDT table (will be at either /proc/acpi/dsdt or /sys/firmware/acpi/tables/DSDT)? I have a kernel patch to unhide the SMBus at boot time on the Compaq Evo D510, but before I push it upstream, I want to ensure that ACPI doesn't access the SMBus on these machines.

03/03/08 10:52:33 changed by ticket

  • attachment DSDT added.

/proc/acpi/dsdt from Compaq EVO D510

04/17/08 16:42:48 changed by khali

  • version changed from 3.0.1 to kernel.

Sorry for the delay, it seems that I missed your update.

I disassembled the DSDT and couldn't find anything related to SMBus or thermal management in it. So it is probably safe to have a quirk in the kernel. I will attach a patch against kernel 2.6.25, please give it a try and report.

04/17/08 16:44:07 changed by khali

  • attachment pci-enable-SMBus-on-Compaq-Evo-D510.patch added.

PCI: Unhide the SMBus on the Compaq Evo D510

04/19/08 01:07:27 changed by ticket

I tested the patch against 2.6.25 with ACPI enabled, and everything seems to work well. Thanks.

04/19/08 09:51:14 changed by khali

Thanks for testing and reporting. I've sent the patch to the pci subsystem maintainer, hopefully it will make it into kernel 2.6.26.

09/22/08 15:11:24 changed by khali

  • status changed from assigned to closed.
  • resolution set to fixed.

Patch went in kernel 2.6.27-rc1.