From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 66177] pwm1 value not restored during hibernate/restore cycle in the event of manual fan management mode Date: Fri, 28 Jun 2013 15:40:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1062870543==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1062870543== Content-Type: multipart/alternative; boundary="1372434049.D74eC5E2.17083"; charset="us-ascii" --1372434049.D74eC5E2.17083 Date: Fri, 28 Jun 2013 15:40:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=66177 --- Comment #5 from Martin Peres --- (In reply to comment #4) > (In reply to comment #3) > > The real solution would be to restore all sysfs attributes after reboot. > Indeed, I agree. > > > The proposed solution doesn't seem scalable :s > I never claimed that it is - the patch was submitted (note that it wasn't > formal submission either) barely as a guidance - it-works-for-me (tm) (; Ok. > How do I "use the config" exactly? And who is "darktama" - is that Ben > Skeggs? Yes, Darktama is Ben Skeggs. The config option is a string that is used to pass multiple parameters. > > Automatic fan management is supposed to work on all cards < NVC0 (which has > > it at boot time, by default). I discussed enabling it by default for Linux > > 3.11 but it seems we'll need to wait until 3.12. > I am, quite frankly, amazed that something so raw and incomplete as the > automatic fan management could make it into the mainstream kernel code - Ben > is usually thorough as far as these things are concerned and I don't know > how this slipped through. > > The "automatic" mode doesn't work - far from it, as evident from my other > submission (and an additional feedback provided) - see Bug #66022 (and > Comment #5 in particular). Well, I agree that it is my fault that I may not have thought about the suspend/resume cycle. Thanks for reporting that. However, I'm afraid you are hit by another bug, a bug in the ALARM mechanism, which explains why sometimes, the fan speed isn't updated anymore. This is very worrying and may force us to move to using Linux's periodic tasks instead. Thanks for this review. I'll work on fixing this ASAP. I can work on the sysfs restoration but I have no card with a PWM fan with me here. I may then require you to test some stuff. -- You are receiving this mail because: You are the assignee for the bug. --1372434049.D74eC5E2.17083 Date: Fri, 28 Jun 2013 15:40:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 66177 from
(In reply to comment #4)
> (In reply to comment #3)
> > The real solution would be to restore all sysfs attributes after reboot.
> Indeed, I agree.
> 
> > The proposed solution doesn't seem scalable :s
> I never claimed that it is - the patch was submitted (note that it wasn't
> formal submission either) barely as a guidance - it-works-for-me (tm) (;

Ok.

> How do I "use the config" exactly? And who is "darktama" - is that Ben
> Skeggs?

Yes, Darktama is Ben Skeggs. The config option is a string that is used to pass
multiple parameters.

> > Automatic fan management is supposed to work on all cards < NVC0 (which has
> > it at boot time, by default). I discussed enabling it by default for Linux
> > 3.11 but it seems we'll need to wait until 3.12.
> I am, quite frankly, amazed that something so raw and incomplete as the
> automatic fan management could make it into the mainstream kernel code - Ben
> is usually thorough as far as these things are concerned and I don't know
> how this slipped through.
> 
> The "automatic" mode doesn't work - far from it, as evident from my other
> submission (and an additional feedback provided) - see Bug #66022 (and
> Comment #5 in particular).

Well, I agree that it is my fault that I may not have thought about the
suspend/resume cycle. Thanks for reporting that. However, I'm afraid you are
hit by another bug, a bug in the ALARM mechanism, which explains why sometimes,
the fan speed isn't updated anymore. This is very worrying and may force us to
move to using Linux's periodic tasks instead.

Thanks for this review. I'll work on fixing this ASAP. I can work on the sysfs
restoration but I have no card with a PWM fan with me here. I may then require
you to test some stuff.


You are receiving this mail because:
  • You are the assignee for the bug.
--1372434049.D74eC5E2.17083-- --===============1062870543== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1062870543==--