ACPI regression: HP dv4000 / dv4150 laptop

Bug #85838 reported by Christian Convey
2
Affects Status Importance Assigned to Milestone
linux-source-2.6.20 (Ubuntu)
Fix Released
Undecided
Tim Gardner

Bug Description

Binary package hint: linux-source-2.6.20

My HP Pavilion dv4150 (a.k.a. dv4000) worked reasonably well with ACPI stuff under Edgy. Suspend and Hibernate were always available options in the Power Managment dialog, shutdown dialog, etc. Hibernate worked fine, suspend had issues but sort-of worked.

In Feisty (herds 3 and 4, the only herds I've tried) "Suspend" and "Hibernate" are not presented as power control options.

I've attached several dumps below, separated by lines of asterisk characters:

**********************************

ubuntu@ubuntu:/proc/acpi$ uname -a
Linux ubuntu 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux

**********************************

sudo lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, fast devsel, latency 0
        Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) (prog-if 00 [VGA])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, fast devsel, latency 0, IRQ 22
        Memory at b0080000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 1800 [size=8]
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Memory at b0000000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [d0] Power Management version 2

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: fast devsel
        Memory at 34000000 (32-bit, non-prefetchable) [disabled] [size=512K]
        Capabilities: [d0] Power Management version 2

00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: [40] Express Root Port (Slot+) IRQ 0
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+
        Capabilities: [90] Subsystem: Hewlett-Packard Company Unknown device 3081
        Capabilities: [a0] Power Management version 2
        Capabilities: [100] Virtual Channel
        Capabilities: [180] Unknown (5)

00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 0, IRQ 19
        I/O ports at 1820 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 0, IRQ 20
        I/O ports at 1840 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 1860 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) (prog-if 00 [UHCI])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 0, IRQ 22
        I/O ports at 1880 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 0, IRQ 19
        Memory at b0040000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
        Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) (prog-if 01 [Subtractive decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=06, subordinate=0a, sec-latency=128
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: b0100000-b01fffff
        Prefetchable memory behind bridge: 0000000030000000-0000000033ffffff
        Capabilities: [50] Subsystem: Hewlett-Packard Company Unknown device 3081

00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 0, IRQ 16
        I/O ports at 1c00 [size=256]
        I/O ports at 18c0 [size=64]
        Memory at b0040800 (32-bit, non-prefetchable) [size=512]
        Memory at b0040400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04) (prog-if 00 [Generic])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: medium devsel, IRQ 18
        I/O ports at 2400 [size=256]
        I/O ports at 2000 [size=128]
        Capabilities: [50] Power Management version 2

00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04) (prog-if 8a [Master SecP PriP])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 0, IRQ 21
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4 [size=1]
        I/O ports at 0170 [size=8]
        I/O ports at 0374 [size=1]
        I/O ports at 1810 [size=16]

00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: medium devsel, IRQ 10
        I/O ports at 18a0 [size=32]

06:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
        Subsystem: Hewlett-Packard Company Unknown device 12f5
        Flags: bus master, medium devsel, latency 128, IRQ 18
        Memory at b0106000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2

06:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 168, IRQ 17
        Memory at b0107000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=06, secondary=07, subordinate=0a, sec-latency=176
        Memory window 0: 30000000-33fff000 (prefetchable)
        Memory window 1: 38000000-3bfff000
        I/O window 0: 00003400-000034ff
        I/O window 1: 00003800-000038ff
        16-bit legacy interface ports at 0001

06:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 128, IRQ 23
        Memory at b0108000 (32-bit, non-prefetchable) [size=2K]
        Memory at b0100000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2

06:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 128, IRQ 17
        Memory at b0104000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [44] Power Management version 2

06:06.4 Generic system peripheral [0805]: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 128, IRQ 17
        Memory at b0109000 (32-bit, non-prefetchable) [size=256]
        Memory at b0108c00 (32-bit, non-prefetchable) [size=256]
        Memory at b0108800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Hewlett-Packard Company Unknown device 3081
        Flags: bus master, medium devsel, latency 128, IRQ 18
        I/O ports at 3000 [size=256]
        Memory at b0109400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

**********************************

ubuntu@ubuntu:/proc/acpi$ cat /proc/acpi/info
version: 20060707

**********************************

ubuntu@ubuntu:/proc/acpi$ cat /proc/acpi/sleep
S0 S3 S4 S5

**********************************

ubuntu@ubuntu:/proc/acpi$ cat /proc/acpi/processor/CPU0/power
active state: C4
max_cstate: C8
bus master activity: 00000000
maximum allowed latency: 8000 usec
states:
    C1: type[C1] promotion[C2] demotion[--] latency[001] usage[00000010] duration[00000000000000000000]
    C2: type[C2] promotion[C3] demotion[C1] latency[001] usage[00058744] duration[00000000000621794228]
    C3: type[C3] promotion[C4] demotion[C2] latency[085] usage[00026994] duration[00000000000185988451]
   *C4: type[C3] promotion[--] demotion[C3] latency[185] usage[00270699] duration[00000000003030611609]

**********************************

Revision history for this message
Christian Convey (christian-convey) wrote :

Is this bug maybe a dupe of:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/83088
which I believe was errantly closed?

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description didn't include enough information.

Please include the following additional information, if you have not already done so (please pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available here: <http://wiki.ubuntu.com/DebuggingKernelProblems> Thanks!

Revision history for this message
Christian Convey (christian-convey) wrote : Re: [Bug 85838] Re: ACPI regression: HP dv4000 / dv4150 laptop

OK, here's the missing info:

`uname -a` :
Linux ubuntu 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux

I've attached lspc-vvnn.log and dmesg.log to this email.

Revision history for this message
Christian Convey (christian-convey) wrote :

OK, since it looks like attached files may not get through, I'm attaching those lspci-vvnn.log and dmesg.log now.

Revision history for this message
Christian Convey (christian-convey) wrote :

And dmesg.log...

Revision history for this message
Christian Convey (christian-convey) wrote :
Download full text (40.4 KiB)

OK, I'm not getting any visual confirmation that I've successfully attached those two files to this bug report, so I'm just going to include their content below...

******************
sudo lspci -vvnn :
******************

00:00.0 Host bridge [0600]: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller [8086:2590] (rev 04)
 Subsystem: Hewlett-Packard Company Unknown device [103c:3081]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
 Latency: 0
 Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2592] (rev 04) (prog-if 00 [VGA])
 Subsystem: Hewlett-Packard Company Unknown device [103c:3081]
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0
 Interrupt: pin A routed to IRQ 22
 Region 0: Memory at b0080000 (32-bit, non-prefetchable) [size=512K]
 Region 1: I/O ports at 1800 [size=8]
 Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
 Region 3: Memory at b0000000 (32-bit, non-prefetchable) [size=256K]
 Capabilities: [d0] Power Management version 2
  Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.1 Display controller [0380]: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller [8086:2792] (rev 04)
 Subsystem: Hewlett-Packard Company Unknown device [103c:3081]
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Region 0: Memory at 34000000 (32-bit, non-prefetchable) [disabled] [size=512K]
 Capabilities: [d0] Power Management version 2
  Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1c.0 PCI bridge [0604]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 [8086:2660] (rev 04) (prog-if 00 [Normal decode])
 Control: I/O- Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0, Cache Line Size: 32 bytes
 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
 Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
 BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-
 Capabilities: [40] Express Root Port (Slot+) IRQ 0
  Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
  Device: Latency L0s unlimited, L1 unlimited
  Device: Errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
  Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
  Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
  Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 1
  Link: Latency L0s <1us, L1 <4us
  Link: A...

Changed in linux-source-2.6.20:
status: Unconfirmed → Confirmed
Tim Gardner (timg-tpi)
Changed in linux-source-2.6.20:
assignee: nobody → timg-tpi
Revision history for this message
Christian Convey (christian-convey) wrote :

Tim, I'll be happy to work with you as much as I have time for in
order to get this fixed. If you have a candidate fix you want me to
try, just let me know.

Thanks,
Christian

On 2/21/07, Tim Gardner <email address hidden> wrote:
> ** Changed in: linux-source-2.6.20 (Ubuntu)
> Assignee: (unassigned) => Tim Gardner
>
> --
> ACPI regression: HP dv4000 / dv4150 laptop
> https://launchpad.net/bugs/85838
>

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Can you tell me if the /sys/power entries exist? Particularly 'pm_trace' and 'state'. I'm not sure why you are not getting options for Suspend or Hibernate. Is this a recently updated Feisty Herd4?

Revision history for this message
Christian Convey (christian-convey) wrote :

Yes it was Herd 4 (I also had this problem in Herd 3. I didn't try Herds 1, 2).

It looks like I'm going to have to re-burn a Feisty CD to answer your
questions. Would you like me to grab Herd 4, or the daily build?

On 2/26/07, Tim Gardner <email address hidden> wrote:
> Can you tell me if the /sys/power entries exist? Particularly 'pm_trace'
> and 'state'. I'm not sure why you are not getting options for Suspend or
> Hibernate. Is this a recently updated Feisty Herd4?
>
> --
> ACPI regression: HP dv4000 / dv4150 laptop
> https://launchpad.net/bugs/85838
>

Revision history for this message
Tim Gardner (timg-tpi) wrote :

I think either will work. If you use Herd4 you can always run an update to pull the latest kernel.

Revision history for this message
Christian Convey (christian-convey) wrote :

I'm really trying to not install any Feisty builds until it's
released. I cant take any risk of hosing my laptop during the
academic semester. So updates aren't a possibility for me right now.

But I'll burn today's daily and answer your questions about the
content of /sys/power/

BTW, I only see the "alternate" CDs on
   http://cdimage.ubuntu.com/daily/current/
Do you know if those images support running live from the CD, rather
than having to install?

On 2/26/07, Tim Gardner <email address hidden> wrote:
> I think either will work. If you use Herd4 you can always run an update
> to pull the latest kernel.
>
> --
> ACPI regression: HP dv4000 / dv4150 laptop
> https://launchpad.net/bugs/85838
>

Revision history for this message
Tim Gardner (timg-tpi) wrote :

It doesn't look like Suspend or Hibernate are supported on the Live CD as menu options. See https://blueprints.launchpad.net/ubuntu/+spec/live-cd-suspend-to-disk.

The daily image is http://cdimage.ubuntu.com/daily-live/current/feisty-desktop-i386.iso which should at least allow you to manipulate your power settings from a console. See https://wiki.ubuntu.com/KernelSuspendDebugging. Capturing dmesg info will be difficult. I suggest piping dmesg output via ssh into a machine with volatile storage.

Revision history for this message
Christian Convey (christian-convey) wrote :

I sucked it up and fully installed Fiesty's daily build. I now have
the suspend / hibernate options, just as hoped for.

(One thing I should mention: on the Gnome power management control
panel, I don't see the familiar checkbox that says basically, "check
here if, when the laptop is unplugged, you prefer power savings over
performance.")

Suspending and hibernating the laptop via laptop's power button (and
then click on the appropriate dialog button) work great. Resuming
from suspend seems free of problems (unlike in Edgy). Resuming from
hibernate did pretty well, although when I entered my password to
unlock the laptop and my desktop came back up, I was still confronted
with the shutdown options dialog. (Hitting escape made it go away
without any problem.)

The real problem I'm getting, as I have with all older versions of
Ubuntu, is that when I close my laptop lid, the action I've specified
(in this case, suspend) just doesn't get triggered. When I press down
the "lid is closed" button with my finger (which the lid would
normally press), he backlight goes off as expected, but I can still
tell that the display is active and that software continues to run.

Is this something you can help me with? It's basically the last
barrier to this laptop being perfectly usable.

Thanks,
Christian

On 2/26/07, Tim Gardner <email address hidden> wrote:
> It doesn't look like Suspend or Hibernate are supported on the Live CD
> as menu options. See https://blueprints.launchpad.net/ubuntu/+spec/live-
> cd-suspend-to-disk.
>
> The daily image is http://cdimage.ubuntu.com/daily-live/current/feisty-
> desktop-i386.iso which should at least allow you to manipulate your
> power settings from a console. See
> https://wiki.ubuntu.com/KernelSuspendDebugging. Capturing dmesg info
> will be difficult. I suggest piping dmesg output via ssh into a machine
> with volatile storage.
>
> --
> ACPI regression: HP dv4000 / dv4150 laptop
> https://launchpad.net/bugs/85838
>

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Please start a new bug report for the laptop lid problem. One problem per bug report.

Thank you for taking the time to verify that suspend/resume now work on your platform. I'm closing this issue.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Don't know the actual fix. Probably some misbehaving driver.

Changed in linux-source-2.6.20:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.