[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2010-05-03 Thread Alex Chiang
*** This bug is a duplicate of bug 516325 ***
https://bugs.launchpad.net/bugs/516325

Hi all,

I plan on closing this bug.

The C2 / fan / thermal zone issues are fixed in:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/516325

The ACPI namespace errors indicate that the Ambient Light Sensor didn't
initialize which is relatively benign. These errors will not be fixed in
Lucid, but will be fixed for Maverick (or if you use any current
upstream kernel).

The windows-P bug is tracked by:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/539477

For other issues, please open a new bug.

Thanks.

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Alex Chiang (achiang)

** This bug has been marked a duplicate of bug 516325
   ACPI: enable C2 and Turbo-mode on Nehalem notebooks on A/C

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2010-01-26 Thread Gabe E. Nydick
using openSuSE 11.2, vanilla 2.6.33-rc5 with trackpad click patch


Status
- Machine seems completely stable if I do the following...

- sleep works just fine

New bugs with 2.6.33-rc3, 4, 5... (on openSuSE 11.2)

- The display switch soft-key now just types a p instead of sending an
acpi event.  Not sure if that's a config thing or a kernel thing.

Other problems...

- Is anyone working on fixing the mute button LED?  I wish I could get that to 
turn off.
- Is there any way to remap a key to sysrq?  I'd really like to be able to sync 
my file system before forcefully rebooting it?

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2010-01-26 Thread Gabe E. Nydick
Sorry, have to re-post, prematurely hit Post


using openSuSE 11.2, vanilla 2.6.33-rc5 with trackpad click patch

Status
- Machine seems completely stable if I do the following.  I add and remove 
external displays, change resolutions, run xbmc, all sorts of taxing display 
tasks.
  - boot runlevel 3
  - pm-suspend (configured with -f -a 3)
  - wake it up
  - telinit 5

- sleep works just fine

New bugs with 2.6.33-rc3, 4, 5...

- The display switch soft-key now just types a p instead of sending an
acpi event. Not sure if that's a config thing or a kernel thing.

Other problems...

- Is anyone working on fixing the mute button LED? I wish I could get that to 
turn off.
- Is there any way to remap a key to sysrq? I'd really like to be able to sync 
my file system before forcefully rebooting it?

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2010-01-21 Thread trosen
** Changed in: linux (Ubuntu)
   Status: Triaged = Fix Released

** Changed in: linux (Ubuntu)
   Status: Fix Released = Confirmed

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2010-01-11 Thread goodhabit
Does this http://marc.info/?l=linux-kernelm=126163681219693w=2 and 
http://bugzilla.kernel.org/show_bug.cgi?id=14824 fixing the bug?

** Bug watch added: Linux Kernel Bug Tracker #14824
   http://bugzilla.kernel.org/show_bug.cgi?id=14824

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2010-01-10 Thread Leann Ogasawara
** Changed in: linux (Ubuntu)
   Importance: Undecided = Medium

** Changed in: linux (Ubuntu)
   Status: New = Triaged

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-22 Thread Gabe E. Nydick
that's exactly it!!  I figured it out this morning.  Thanks for the
quick reply.   BTW, seems like Turbo Boost is only enabled if you boot
without the power supply unplugged.  Otherwise, there's only one C-state
present.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-21 Thread Kern Sibbald
This bug report seems to be the most similar to my problem.

Problem: With latest Karmic (KDE) installed, my fan runs very fast (annoyingly 
loud).
Computer: Dell Studio 1747: Intel i7-720QM chip.
Both /proc/acpi/fan and /proc/acpi/thermal_zone are empty.
Running sensors_detect results in Sorry, no sensors were detected
Booting with acpi_enforce_resources=lax does not help.

Is this the right place to ask for a solution?  If so, what information do you 
need?  (dmesg output, ...). 
If not, I can open a new bug.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-21 Thread Gabe E. Nydick
Alex, I tried the patch, it applied, but failed to compile.  Do you
think you could try the kernel that comes with openSuSE 11.2 and see
what's up?

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-21 Thread Alex Chiang
Gabe,

I don't know anything about openSuSE, but I'm guessing you got a build
error in acpi_walk_namespace. My patch is based on 2.6.33, and
acpi_walk_namespace() grew an extra parameter.

If my guess is right, then fixing the patch should be trivial. Just find
where we're calling acpi_walk_namespace() and remove one of the three
trailing NULL args so you only have 2 of them.

Otherwise, you can post your build error here and I'll try and debug it.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-20 Thread Gabe E. Nydick
FYI and FWIW, I run openSuSE 11.2 and just about everything works.
Here's my summary...

- Thermal zone comes online if I have the thermal module load after boot
finishes, not sure if ubuntu has the 3 different options for module
loading - initrd, boot, and after fs mounted

- no fan detected, but I'm guessing either there isn't a controllable
fan, but even if there is, my fan regulates properly so I don't care

- TurboBoost (I believe) is working, which requires a much longer
explanation, which I'll be happy to post separately

- multiple battery detection works fine

Misc hardware - working w/o tweaks
- fan adjusts with temp changes
- batteries discharge and charge sequentially
- sound card
- web cam
- microphone
- card reader
- HDMI audio and video
- backlight control soft keys
- volume soft keys
- wifi/bluetooth soft keys
- lock screen soft keys
- productivity soft keys (vertically along the left)

Misc hardware - working w/small tweak
- trackpad works just fine, in fact better than with Windows, does require 
small hal policy for auto configuring
- external display soft-key - works, not sure what the 3 different modes 
are that it cycles through though, or how to identify them

Problems
- can't get fglrx to work  Seems as though the video card doesn't get 
reset properly and the /etc/ati/amdpscdb changes everytime the display is 
started and I can't ever get X to work more than once with fglrx installed.  
This seems to possibly be ACPI related.
- can't get the volume mute soft-key LED to turn off

DSDT
- I've corrected the DSDT to compile and optimize, however it doesn't 
alleviate the parse errors.  I believe this is due to the order the kernel goes 
through the DSDT.  I theorize either reordering the DSDT will fix it or a patch 
to the kernel is necessary.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-20 Thread Gabe E. Nydick
OH, btw, if anyone can tell me how to configure fglrx properly, I would
be SO VERY MUCH appreciative.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-20 Thread Alex Chiang
Attached is a patch that should resolve the ACPI namespace issues, at
least on the Envy.

Upstream link is here: http://lkml.org/lkml/2009/12/20/146

Gabe, care to explain more about TurboBoost?

** Attachment added: evaluate _PDC early
   http://launchpadlibrarian.net/36999500/01-early-processor-pdc

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-20 Thread Gabe E. Nydick
The reason is the max Hz in all of the kernel and user space tools is
the max Hz while all cores are active.  Turbo Boost only comes into
effect when running un-parallelized code on only a fraction of the
cores.  So, I've seen my Envy 15 hit 3.0GHz in Windows, using Intel's
Turbo Boost utility, but only during single threaded, heavy activity.
Otherwise, if it's multithreaded, the system won't go above 1.6GHz,
which is the max Hz as far as the Linux system can tell.  So there's
some catch-up to be played there.


Another hint which leads me to this belief is that PowerTOP doesn't understand 
how to parse/represent TurboBoost, but the openSolaris version does, they 
patched it themselves.  Running openSolaris, I saw all of the different speeds 
listed, top to bottom, slowest to fastest, with the last entry changing as 
demand changed.  When I ran the linux version, I see the 931MHz state running 
at the bottom of the list of speeds, even though the speeds get higher going 
down the list.  Therefor, I believe it to be working properly since my speeds 
vary, fans vary, etc..

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-20 Thread Gabe E. Nydick
Oh, and thanks for the patch, Alex.  Do you know anything about the
fglrx issue?  I haven't seen ONE post at all about people's experience
with the ATI driver on the envy.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-20 Thread Alex Chiang
Gabe,

I did some research too, and also think that TurboBoost works just fine
on this machine.

This paper explains why applications like powertop aren't telling the whole 
story. It's also why looking at /proc/cpuinfo is misleading:
http://download.intel.com/design/processor/applnots/320354.pdf

I don't think a kernel patch is the right answer. Making the kernel poll
every second to show the user that TurboBoost is working seems both
wasteful and silly, IMO.

Patching powertop would be simple though, and much more appropriate.

One final piece of confirmation that TurboBoost is enabled is to look at
/proc/cpuinfo:

$ cat /proc/cpuinfo | grep flags | grep ida | uniq

The flag 'ida' tells you that TurboBoost is working. The formal name for
the technology is Intel Dynamic Acceleration, which is what the flag
stands for.

http://www.lesswatts.org/projects/processor-power/dynamic-
acceleration.php

Finally, I don't know anything about fglrx. Xorg on my machine is using
the radeon module. I can post my Xorg.log here if you like...

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-12 Thread Alex Chiang
From comment #40:

* Fans not working (at least on F.04).
* Thermal zone/sensors not working.
* ACPI parsing aborts in several places due to initialization bugs (Linux 
does work around this)
* CPU Powersaving (aka C-State switching) only works if you boot the 
machine without AC adapter attached.
* No critical shutdown temperature returned for anything else but Windows.

I got this message with F.03:
Dec 11 17:20:47 dre kernel: [1.830747] ACPI Exception: AE_OK, No or invalid 
critical threshold 20090521 thermal-384

I've upgraded to F.06, and now get this:
Dec 12 00:56:08 dre kernel: [1.843983] thermal LNXTHERM:01: registered as 
thermal_zone0
Dec 12 00:56:08 dre kernel: [1.843990] ACPI: Thermal Zone [TZ01] (61 C)

Regarding these messages:
Dec 12 12:14:55 dre kernel: [1.439863] ACPI Error (psargs-0359): 
[\_PR_.CPU0._PPC] Namespace lookup failure, AE_NOT_FOUND
Dec 12 12:14:55 dre kernel: [1.439872] ACPI Error (psparse-0537): Method 
parse/execution failed [\CPUT] (Node 880237054880), AE_NOT_FOUND
Dec 12 12:14:55 dre kernel: [1.439918] ACPI Error (psparse-0537): Method 
parse/execution failed [\PSSC] (Node 8802370548a0), AE_NOT_FOUND
Dec 12 12:14:55 dre kernel: [1.439961] ACPI Error (psparse-0537): Method 
parse/execution failed [\_SB_.PCI0.LPCB.EC0_._REG] (Node 880237044300), 
AE_NOT_FOUND

I looked in all the SSDTs and did not see the _PPC method defined
anywhere, so wondering where the theory in comment #43 about loading all
the SSDTs comes from. I also didn't find _REG in any of the SSDTs.

Both CPUT and PSSC are defined in DSDT, so I'm not sure why we can't
parse those. I'll dig into that.

I consider the current outstanding list of issues to now be:
 
   * Fans not working (at least on F.04).
* ACPI parsing aborts in several places due to initialization bugs (Linux 
does work around this)
* CPU Powersaving (aka C-State switching) only works if you boot the 
machine without AC adapter attached.

Curious about the statement regarding fans though. Are you simply
stating that because /proc/acpi/fans/ is empty? Or are your fans not
actually spinning up? My machine is running warm, but I definitely hear
and feel fan output.

Thanks.
/ac

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-12 Thread irwjager
Hi Alex,

I remember getting 5 SSDTs aside from the DSDT. I think (think!) in one
of them the _PPC method was populated with values from somewhere in the
system memory. This code was repeated 8 times (for each virtual core).

The theory is that CPUT dies early on because it relies on _PPC being
defined, which it is not at that stage. Later, _PPC becomes
initialized/defined (at least that's what I seem to remember) and CPUT
gets parsed fine on subsequent calls.

As for F.04, I can confirm the fans were on, stuck on low, but weren't
throttling at all. When running with a fixed DSDT (so I could at least
get a critical shutdown temperature and thermal zone sensor) the machine
got so hot that the critical temperature was triggered and Ubuntu shut
down the system.

I'm sorry I can't help you anymore than this as I returned my Envy 15.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-12-12 Thread Alex Chiang
Hi Ivo,

Thank you for all the debugging work you've done so far.

As of F.06, I can confirm that the fans seem to be throttling correctly.
A -j8 kernel build on this machine takes about 15 minutes. Observing the
value in /proc/acpi/thermal_zone/TZ01/temperature shows a peak of around
81 C which decreases to 58 C or so after the build is done.

I can also physically hear the fans spin up rather high, and then
throttle back after the build.

I think it's normal for /proc/acpi/fan/ to be empty, so I'm not too
concerned about that.

I'll take a closer look at the parsing of CPUT and PSSC, as well as the
C state oddity.

Thanks,
/ac

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-05 Thread irwjager
Installing the OmniBook module gave me an additional C-state (C3).

http://sourceforge.net/projects/omnibook/

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-05 Thread irwjager
Ignore that last post. What REALLY gave me a C-state was booting without
AC adapter (e.g. battery only)! Plugging in the adapter while the system
is on will retain the second C-state until you reboot. What the hell!?

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-05 Thread Abrahm Scully
I'd like to confirm and elaborate on irwjager's recent findings.

I allowed the computer to boot unplugged. I then connected the power
after booting had completed.

Not only are C-states available, but the laptop's CPU temperature at
idle is considerably cooler. /proc/acpi/thermal_zone/TZ01/temperature
reads 38 C at idle instead of 55 C when booted with the power connected.
So, now, my notebook computer cool enough to be a laptop for web
browsing!

On a hunch, I decided to do some computing benchmarks. I downloaded
http://voxel.dl.sourceforge.net/project/systester/systester/1.1.0/systester-1.1.0
-linux-amd64.tar.bz2. (It's like superpi, but open source.) I extracted
it and ran ./systester-cli -gausslg 2M -threads 1 -bench (2 million
digits of pi, 1 thread).

Booted on battery, stay unplugged: not tested
Booted on battery, then plugged in: 31-33 seconds
Booted on A/C, still plugged in: 51-53 seconds!
Booted on A/C, then unplugged: 90-93 seconds!

For reference, you can compare my laptop dmesg outputs:
http://qabe.net/envy15/files/dmesg.log
http://qabe.net/envy15/files/dmesg_booted_on_battery.log

You can clearly see C-states being initialised when booted on battery as
well as some other differences -- including a segfault in the HPET code!

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-05 Thread Abrahm Scully
The missing benchmark:

Booted on battery, stay unplugged: 93 seconds.

So, when unplugged, performance is always scaled back.
When plugged in, only good performance when C

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-05 Thread Abrahm Scully
Sorry about that... The envy 15's touchpad gets under my right hand when
typing and just happened to click Post Comment...

The missing benchmark:

Booted on battery, stay unplugged: 93 seconds.

So, when unplugged, performance always seems scaled back.
When plugged in, you'll get much better performance if you weren't plugged in 
at boot.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-05 Thread irwjager
It honestly seems like this BIOS was commissioned by a baboon. It
should've never passed QA like this. I'm taking my Envy back for a
refund. There is only so much time I can spend on debugging something
that should just work.

To recap our findings so far;

* Fans not working (at least on F.04).
* Thermal zone/sensors not working.
* ACPI parsing aborts in several places due to initialization bugs (Linux 
does work around this)
* CPU Powersaving (aka C-State switching) only works if you boot the 
machine without AC adapter attached.
* No critical shutdown temperature returned for anything else but Windows.

In short, this BIOS is a recipe for a cooked CPU: all cores are always
awake, all of the time (generating copious amounts of heat). Heat which
is insufficiently dissipated by the fans (they don't seem to throttle at
any temperature). The OS can't shut down the machine if it gets too hot
because it is kept in the dark about 1. the current temperature 2. what
temperature is considered critical.

Nice.

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-04 Thread irwjager
Abrahm, looking at your DSDT, firmware F.05 solves the thermal zone
problem for OS's other than Windows. It also adds a couple of new
devices but I'm not sure what they do.

Hearing that your fans are actually throttling on F.05 sounds really
encouraging. I got no such thing happening on F.04.

I strongly suspect the missing _PPC object is due to a timing issue. I
believe the SSDT, which loads the _PPC object into the namespace
definitions, is loaded way after the parser encounters a reference to
the _PPC object. It can't find it, because it doesn't know of it yet, so
it throws that namespace error and aborts. It's very sloppy coding.

One simple solution would be to put 'If CondRefOf (_PR.CPU0._PPC)' around the 
code in the DSDT that tries to access it.
It basically checks if _PR.CPU0._PPC exists yet. If not, it won't execute the 
code.

Ofcourse, this is only useful if the code is called again later, when
the _PPC object has been loaded, at which point it will succeed. I'm
thinking this is the case as the code seems to deal with P-States and
throttling. Even without a fix, the buggy code in the DSDT is probably
enough to make P-States work, as evidenced by Abrahm.

As for C-states, it wouldn't surprise me if they simply aren't defined
at all in this BIOS. I'll see if I can find a _CST object...

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-03 Thread irwjager
Well, I got a working BIOS.

Not only do we have bugs in the DSDT, I also found one in the SSDT
causing formentioned namespace lookup failure (of which there are 5!).
The CPU table was missing a method. Bad...

I've attached a new DSDT source. It's a bit messy, but I'll clean it up
later.

You'll have to boot your kernel with an added parameter
'acpi_no_auto_ssdt' so it doesn't load the BIOS' old SSDT (they are now
part of the DSDT).

I'm a bit annoyed I have to do HP's/Insyde's work for them... :[


** Attachment added: dsdtnew.dsl
   http://launchpadlibrarian.net/35024864/dsdtnew.dsl

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-03 Thread Michael Bommarito
I sent this link to HP support and they said they had forwarded it to
the concerned department, which hopefully means that we'll have an
official fix in the near future...

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-02 Thread irwjager
** Summary changed:

- No fans, thermalzone on HP Envy 15
+ No fans, thermalzone on HP Envy 15 and HP DV6T Quad

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-02 Thread irwjager
I just noticed this too in dmesg;

ACPI: EC: Enabling special treatment for EC from MSI.

corresponding to this bug;
http://www.mail-archive.com/acpi-bugzi...@lists.sourceforge.net/msg26802.html

Obviously our HPs aren't MSIs...

Also, apologies for attaching the wrong DSDT. I think the one I attached
was the first version that actually compiled on iasl (had to do a lot of
cleaning up to get there).

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 463940] Re: No fans, thermalzone on HP Envy 15 and HP DV6T Quad

2009-11-02 Thread irwjager
Ok, instead of altering the DSDT, I modifed ec.c and thermal.c and built
a custom kernel.

I fixed the inappropriate MSI detection (by the way, this should be
fixed for all as of 2.6.32.rc3). I also forced the critical temperature
threshold to a fixed value (3702) which I gleaned from the DSDT, but
only if there is no valid value returned by the BIOS (on the Envy 15,
DV6T there isn't). Now the Thermal Zone init doesn't fail anymore.

Unfortunately, the MSI fix did nothing to get rid of the ACPI parse errors.
The critical temperature threshold fix brought the Thermal Zone on-line.

While looking at the DSDT some more, I noticed a flag called IOSS. I
strongly suspect this flag is set if the (Linux based) Instant-On OS is
booting. Indeed, looking at the ciritical temperature method, it returns
a value if this flag is set, not bothering with any other OS detection.

Method (_CRT, 0, Serialized)
{

If (LEqual (IOSS, One))
{
Return (0x0E76)
}

If (LLess (OSYS, 0x07D6))
{
If (LEqual (TJMX, 0x64))
{
If (LEqual (FSI1, One))
{
Return (0x0E30)
}
Else
{
Return (0x0E76)
}
}
}
}

Conclusion; HP/Insyde have made a special patch for the Linux-based IOS,
but any other Linux distro is screwed!

Does anyone have any ideas on what could be causing the
[\_PR_.CPU0._PPC] namespace lookup failure? What does it mean?

-- 
No fans, thermalzone on HP Envy 15 and HP DV6T Quad
https://bugs.launchpad.net/bugs/463940
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs