Re: smu(4) PWM Fan Support

2016-05-12 Thread Marcus Glocker
On Thu, May 12, 2016 at 08:39:01PM +, Miod Vallat wrote: > > > fcu(4) could benefit from a similar change, as there may be pwm fans > > > there too. At least RackMac3,1 has two pwm fans according to the eeprom > > > -p output. > > > > Hmm, looking at the fcu(4) code it already should support

Re: smu(4) PWM Fan Support

2016-05-12 Thread Miod Vallat
> > fcu(4) could benefit from a similar change, as there may be pwm fans > > there too. At least RackMac3,1 has two pwm fans according to the eeprom > > -p output. > > Hmm, looking at the fcu(4) code it already should support pwm fans, no? Doh! I was looking for `fan' in the sensors output and di

Re: smu(4) PWM Fan Support

2016-05-12 Thread Marcus Glocker
On Tue, May 10, 2016 at 11:46:24PM +0200, Marcus Glocker wrote: > I've recently noticed that two of five fans in my G5 don't spin up. > That's because smu(4) currently just supports RPM fans. > The attached diff adds initial support for PWM fans as well. > > sysctl before: > # sysctl -a | grep fa

Re: smu(4) PWM Fan Support

2016-05-12 Thread Marcus Glocker
On Wed, May 11, 2016 at 07:53:56PM +, Miod Vallat wrote: > > > I've recently noticed that two of five fans in my G5 don't spin up. > > That's because smu(4) currently just supports RPM fans. > > The attached diff adds initial support for PWM fans as well. > > fcu(4) could benefit from a simi

Re: smu(4) PWM Fan Support

2016-05-11 Thread Miod Vallat
> I've recently noticed that two of five fans in my G5 don't spin up. > That's because smu(4) currently just supports RPM fans. > The attached diff adds initial support for PWM fans as well. fcu(4) could benefit from a similar change, as there may be pwm fans there too. At least RackMac3,1 has tw

smu(4) PWM Fan Support

2016-05-10 Thread Marcus Glocker
I've recently noticed that two of five fans in my G5 don't spin up. That's because smu(4) currently just supports RPM fans. The attached diff adds initial support for PWM fans as well. sysctl before: # sysctl -a | grep fan hw.sensors.smu0.fan0=994 RPM (Rear Fan 0) hw.sensors.smu0.fan1=994 RPM (Rea