Mailinglist Archive: opensuse-bugs (6147 mails)

< Previous Next >
[Bug 295489] New: hp compaq nc6400 suspend2ram
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 29 Jul 2007 06:52:08 -0600 (MDT)
  • Message-id: <bug-295489-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=295489

           Summary: hp compaq nc6400 suspend2ram
           Product: openSUSE 10.3
           Version: Alpha 6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Basesystem
        AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
        ReportedBy: kerekfyp@xxxxxxxx
         QAContact: qa@xxxxxxx
          Found By: ---


Created an attachment (id=153792)
 --> (https://bugzilla.novell.com/attachment.cgi?id=153792)
40acpi-thermal hook

Hi!

I have a hp compaq nc6400 mobile computer. I was experimenting for a long time
to make this computer suspend&resume well. Currently I am using openSUSE 10.2
with kernel 2.6.22 so I think the following hacks are also necessary for 10.3.

I. ACPI thermal

The thermal kernel module has to be removed before suspend and then reloaded
after resume. Otherwise the reported temperatures become wrong after a resume.
This  usually forces the kernel to run the fan all the time. The solution is to
add the thermal module to the list of SUSPEND_MODULES. Then the 40acpi-thermal
hook becomes necessary to set the polling frequency after the module reload.
(This hook needs a number smaller than 50 because the thermal module is
reloaded by the 50modules hook.)

II. ACPI fan

Unfortunately the fans also go crazy after a resume. After a resume the fans
will run on full throttle until I turn them off explicitly. After that they
continue to operate normally. So the solution is to modify the 80acpi-fan hook
to turn off the fans on resume|thaw. I have commented out line number 18 ('echo
-n 0 > $FAN') because this line turns back on the fan.

With the above hacks the suspend/resume functions work very well so the machine
can be put on the whitelist:

# s2ram -i
This machine can be identified by:
    sys_vendor   = "Hewlett-Packard"
    sys_product  = "HP Compaq nc6400 (EY582ES#AK8)"
    sys_version  = "F.0A"
    bios_version = "68YCU Ver. F.0A"


Is it possible to integrate these two hacks to 10.3? I think the first one is
mostly harmless for other machines. But the second one modifies an existing
hook so it can break resume on other machines....


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
Follow Ups