All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 119211] amdgpu disables fan by default
Date: Wed, 03 Apr 2024 08:35:39 +0000	[thread overview]
Message-ID: <bug-119211-2300-u4eMqxsgFF@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-119211-2300@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=119211

Stas Sergeev (stsp2@yandex.ru) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|4.5.5                       |6.7.7

--- Comment #18 from Stas Sergeev (stsp2@yandex.ru) ---
I figured out something very interesting
regarding this bug.

Writing 2 to pwm1_enable causes the
fan to rotate for about 10 seconds.
Note that the old value of pwm1_enable
is also 2, so it doesn't change, but
the mere fact of writing has an effect!

And this is not all!
Now if you periodically READ from pwm1,
then the fan doesn't stop! I can do:
while :; do cat /sys/class/hwmon/hwmon0/pwm1; sleep 1; done
And with this, the fan keeps rotating
forever! But if you stop that script
for something like 10 seconds, then
the fan stops and pwm1 reads always
return 0. You need to start again by
writing 2 to pwm1_enable (even if there
is already 2!), and quickly start reading
from pwm1, and you have your fan finally
rotating. :)
A bit of a hand-written fancontrol script. :)

Alex Deucher can you make any sense
out of that?

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

      parent reply	other threads:[~2024-04-03  8:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-29 22:09 [Bug 119211] New: amdgpu disables fan by default bugzilla-daemon
2016-05-29 22:24 ` [Bug 119211] " bugzilla-daemon
2016-05-29 22:30 ` bugzilla-daemon
2016-05-29 23:01 ` bugzilla-daemon
2016-08-09 17:44 ` bugzilla-daemon
2016-08-09 17:53 ` bugzilla-daemon
2016-08-09 19:25 ` bugzilla-daemon
2016-08-09 19:31 ` bugzilla-daemon
2016-08-09 19:46 ` bugzilla-daemon
2016-08-09 20:20 ` bugzilla-daemon
2016-08-09 20:34 ` bugzilla-daemon
2016-08-09 20:45 ` bugzilla-daemon
2016-08-09 20:47 ` bugzilla-daemon
2016-08-10  1:50 ` bugzilla-daemon
2016-08-10  1:53 ` bugzilla-daemon
2016-08-10  5:39 ` bugzilla-daemon
2016-08-10  8:59 ` bugzilla-daemon
2016-08-10 18:58 ` bugzilla-daemon
2024-04-03  8:35 ` bugzilla-daemon [this message]

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-119211-2300-u4eMqxsgFF@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=dri-devel@lists.freedesktop.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.