HPdv5z

Current Issues

CPU Temperature

The ACPI DSDT table in the BIOS is non-compliant, which prevents the reading of the CPU temperature. In order to read the CPU table, the DSDT table has to be overridden by giving a modified table to the kernel in the initrd image.

CAUTION: Editting and overriding the DSDT table could damage your laptop and the necessary changes may be BIOS version dependent!

The current DSDT from the BIOS needs to be copied from /proc/acpi/dsdt to a location where it can be worked on by

sudo cat /proc/acpi/dsdt > /some-folder/dsdt.aml.old

The copied table is in a compiled form (aml) that is not easy to work with. It can be decompiled into source (dsl) which can be edited and recompiled. The compiler (iasl) can be obtained by installing the the iasl package. Decompile the aml file by

iasl -d dsdt.aml.old

This produces the file dsdt.aml.dsl which is the source code. Edit it at around line 9400 (might be BIOS version dependent) looking for the text

Method (_HOT, 0, Serialized)
{
    If (LEqual (TPOS, 0x40))
    {
        Return (Add (0x0AAC, Multiply (TPC, 0x0A)))
    }
}

Method (_CRT, 0, Serialized)
{
    If (LLess (TPOS, 0x40))
    {
        Return (Add (0x0AAC, Multiply (TPC, 0x0A)))
    }
}

The If statements are checking the TPOS variable. This checks which operating system is being run. Windows is 0x40 or 0x41 while linux is 0x80. The DSDT table from the BIOS essentially tells ACPI that linux cannot read the temperature when it actually can. This can be fixed by commenting out the If statements and their respective brackets. Do not make any other changes unless you know what you are doing! Afterwards, it should look like this:

Method (_HOT, 0, Serialized)
{
//    If (LEqual (TPOS, 0x40))
//    {
        Return (Add (0x0AAC, Multiply (TPC, 0x0A)))
//    }
}

Method (_CRT, 0, Serialized)
{
//    If (LLess (TPOS, 0x40))
//    {
        Return (Add (0x0AAC, Multiply (TPC, 0x0A)))
//    }
}

Now the dsl file needs to be recompiled to aml. This is done by the command

iasl dsdt.aml.dsl

Which outputs the aml file dsdt.aml.aml hopefully as opposed to an error message. This file has to be put into your initrd. First, copy it by the following:

sudo cp dsdt.aml.aml /etc/initramfs-tools/DSDT.aml

where it will be loaded into the initrd when it is updated. It is suggestible to have more than one kernel installed and only update the initrd for the most recent current version so that a fall back kernel using the DSDT from the BIOS is still available. Update the appropriate initrd by

sudo update-initramfs -u -k kernel-version

(if you have no clue about your kernel version, just running

sudo update-initramfs -u -k `uname -r`

should do the job).

Reading the CPU temperature should now be possible the next time the kernel is booted.

System Info

  • HP Pavilion dv5z
  • AMD Turion(TM) X2 Ultra Dual-Core Mobile Processor ZM-80 (2.1 GHz)
  • 15.4" diagonal WXGA High-Definition HP Widescreen Display (1280 x 800)
  • 2GB DDR2 System Memory (2 Dimm)
  • ATI Radeon(TM) HD 3200 Graphics
  • 160GB 5400RPM SATA Hard Drive
  • Webcam
  • 802.11a/b/g/n WLAN and Bluetooth
  • 8X DVD+/-R/RW with Double Layer Support
  • 6 Cell Lithium Ion Battery

Hardware details

Screen & Monitors

Device

Works?

Bug #

in 8.04.1 LTS

in 8.10 Alpha4

in 8.10 Daily Build

Screen

Yes

Untested

Yes

Correct resolution?

Yes

Untested

Yes

Correct refresh rate?

Yes

Untested

Yes

3D Acceleration

Yes

Untested

Yes

External monitor works?

Untested

Untested

Untested

External monitor - mirrors

Untested

Untested

Untested

External monitor - extend desktop

Untested

Untested

Untested

Power Management

Battery detected?

Yes

Untested

Yes

Hibernates?

Untested

Untested

No

Suspend

Untested

Untested

No

Dim monitor on battery

Yes

Untested

Dims:Yes Back:No

Blank monitor on inactivity

Untested

Untested

Yes

Lid Close

Dim:Yes Hibernate:Untested

Untested

Dim:Yes Hibernate:No

Cpu frequency scaling

Yes:difficult

Untested

No

Cpu temperature

Yes:acpi DSDT override

Untested

Untested

Sound

Sound works?

Yes

Untested

Yes

Correct volume?

Yes

Untested

Untested

Hardware volume switch

Yes

Untested

Yes

Headphone jack

Yes

Untested

Plug:Yes Unplug:No

Internal mic

Untested

Untested

Untested

Mic jack

Untested

Untested

Untested

Networking

Wired NIC

Yes

Untested

Yes

Wireless NIC

Untested

Untested

Unstable

PCMCIA NIC

Untested

Untested

Untested

Firewire

Untested

Untested

Untested

Bluetooth

Untested

Untested

Untested

Modem

Untested

Untested

Untested

Infrared

Untested

Untested

Untested

Touchpad & Mice

Touchpad

Yes

Untested

Yes

Touchpad - Doubletap = double click

Yes

Untested

Yes

Touchpad - Scroll down side

Yes

Untested

Yes

External mouse - USB

Yes

Untested

Untested

External mouse - Serial

Untested

Untested

Untested

Docking Station/Port Replicator

AC through replicator

Untested

Untested

Untested

USB

Untested

Untested

Yes

Serial

Untested

Untested

Untested

Parallel

Untested

Untested

Untested

External Monitor - VGA

Untested

Untested

Untested

External Monitor - DVI

Untested

Untested

Untested

Modem

Untested

Untested

Untested

NIC

Untested

Untested

Untested

PS/2

Untested

Untested

Untested

Additional Hardware

Fingerprint reader

Untested

Untested

Untested

CD/DVD drive

Yes

Untested

Yes

PCMCIA cards

Untested

Untested

Untested

Parallel Ports

Untested

Untested

Untested

Card reader(s)

No

Untested

Untested

Webcam

Yes

Untested

Untested

Remote

Yes

Untested

Untested

Function and other keys

Fn key

Operation

Keycode

Works?

Bug #

in 8.04.1 LTS

in 8.10 Alpha4

in 8.10 Daily Build

+ Space

Untested

Untested

Untested

+ Esc

Untested

Untested

Untested

+ F1

Help

Untested

Untested

Untested

+ F2

Print

Untested

Untested

Untested

+ F3

Web Browser

Yes

Untested

Untested

+ F4

Change Video Output

Untested

Untested

Untested

+ F5

Sleep

Yes

Untested

Untested

+ F6

Lock

Untested

Untested

Untested

+ F7

Dim

Yes

Untested

Untested

+ F8

Brighten

Yes

Untested

Untested

+ F9

Play/Pause

Yes

Untested

Untested

+ F10

Stop

Yes

Untested

Untested

+ F11

Rewind/Previous

Yes

Untested

Untested

+ F12

Fast Forward/Next

Yes

Untested

Untested

Other special keys

Key

Operation

Keycode

Works?

Bug #

in 8.04.1 LTS

in 8.10 Alpha4

in 8.10 Daily Build

Windows key + E

open all workspace

Untested

Untested

Untested

Untestedtes


CategoryLaptop

LaptopTestingTeam/Old/HPdv5z (last edited 2010-03-02 10:38:12 by host226-241-dynamic)