NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-macppc/41916: dbcool at ki2c should support adm1030



The following reply was made to PR port-macppc/41916; it has been noted by 
GNATS.

From: Taylor R Campbell <campbell%mumble.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-macppc/41916: dbcool at ki2c should support adm1030
Date: Fri, 21 Aug 2009 23:23:22 -0400

 I forgot to add an obligatory transcript demonstrating the support:
 
 # envstat
                          Current  CritMax  CritMin  CritCap     Unit
 [dbcool0]
               l_temp:     40.250                                degC
              r1_temp:     38.500                                degC
                 fan1:        N/A
 [smartbat0]
           AC present:         ON
      Battery present:         ON
      Battery voltage:     12.032                                   V
      Battery current:      0.000                                   A
   Battery design cap:      3.690                                  Ah
       Battery charge:      3.688                                  Ah
     Battery charging:        OFF
         Battery full:        OFF
 # sysctl hw.dbcool0
 hw.dbcool0.reg_select = 0
 hw.dbcool0.reg_access = 249
 hw.dbcool0.l_temp.hi_lim = 60
 hw.dbcool0.l_temp.low_lim = 0
 hw.dbcool0.l_temp.Tmin = 64
 hw.dbcool0.l_temp.Trange = 4
 hw.dbcool0.l_temp.Ttherm = 68
 hw.dbcool0.r1_temp.hi_lim = 80
 hw.dbcool0.r1_temp.low_lim = 0
 hw.dbcool0.r1_temp.Tmin = 64
 hw.dbcool0.r1_temp.Trange = 4
 hw.dbcool0.r1_temp.Ttherm = 83
 hw.dbcool0.fan1.low_lim = 0
 hw.dbcool0.fan_ctl_0.behavior = all-temps
 hw.dbcool0.fan_ctl_0.cur_duty = 33
 
 During this boot the fan had not yet begun spinning, although I was
 able to make it spin by setting the hw.dbcool0.l_temp.Tmin sysctl knob
 to a very low threshold.  However, after I set the threshold back to
 its original value of 64C, and after the fan audibly stopped spinning,
 envstat claimed that it continued to spin at 39705 RPM.  A little
 further experimentation suggests that when the fan is turned off, the
 sensor remembers its last speed before it turned off, or something.  I
 suspect that the wrong proportionality constant is being used to
 compute the value in rounds per minute, however, yielding reports of
 such immense speeds as forty thousand rounds per minute.
 


Home | Main Index | Thread Index | Old Index