All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 66177] New: pwm1 value not restored during hibernate/restore cycle in the event of manual fan management mode
Date: Tue, 25 Jun 2013 22:27:11 +0000	[thread overview]
Message-ID: <bug-66177-8800@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2253 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=66177

          Priority: medium
            Bug ID: 66177
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: pwm1 value not restored during hibernate/restore cycle
                    in the event of manual fan management mode
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: mr.dash.four-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Driver/nouveau
           Product: xorg

When I have done the following:

echo 1 > /sys/class/hwmon/hwmon0/pwm1_enable 
echo 30 > /sys/class/hwmon/hwmon0/pwm1 

pwm1=30
pwm1_enable=1
pwm1_max=100
pwm1_min=0
temp1_auto_point1_pwm=100
temp1_auto_point1_temp=90000
temp1_auto_point1_temp_hyst=3000
temp1_crit=115000
temp1_crit_hyst=2000
temp1_emergency=135000
temp1_emergency_hyst=5000
temp1_input=41000
temp1_max=95000
temp1_max_hyst=3000
update_rate=1000

and then do hibernate/restore, I get this:

pwm1=100
pwm1_enable=1
pwm1_max=100
pwm1_min=0
temp1_auto_point1_pwm=100
temp1_auto_point1_temp=90000
temp1_auto_point1_temp_hyst=3000
temp1_crit=115000
temp1_crit_hyst=2000
temp1_emergency=135000
temp1_emergency_hyst=5000
temp1_input=37000
temp1_max=95000
temp1_max_hyst=3000
update_rate=1000

The "pwm1_enable" value is restored, thanks to the patch proposed by Emil
Velikov in Bug 66022, but that doesn't restore the pwm1 value in case of manual
fan management. I am attaching 2 patches to this report:

1. which fixes this bug and restores everything ("pwm1_enable", as well as
"pwm1"); and

2. a separate patch, allowing fan_mode and fan duty (percentage) to be
specified at the command line, allowing me to set my fan speed immediately and
not waiting for OS scripts to do that for me as was the case up until now.

Since the automatic fan management is, well, lets just say incomplete, that's
currently the best option to not have my fan wail like a jet engine every time
I boot up and use my machine.

Patches follow...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3815 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

             reply	other threads:[~2013-06-25 22:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-25 22:27 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
     [not found] ` <bug-66177-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-06-25 22:30   ` [Bug 66177] pwm1 value not restored during hibernate/restore cycle in the event of manual fan management mode bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-25 22:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-26 15:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-26 22:49   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-28 15:40   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-28 16:14   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-28 16:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-28 18:08   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-06-28 18:10   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-08-09  8:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-66177-8800@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.