All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [lm-sensors] pwmconfig patch
@ 2007-12-04 10:41 Jean Delvare
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2007-12-04 10:41 UTC (permalink / raw)
  To: lm-sensors

Sorry for the late answer ;)

On Sun, 18 Mar 2007 15:32:02 -0400, Straterra wrote:
> I have a Shuttle SN25P and like most shuttles, all of the fans in it
> are controlled via PWM. I recently tried pwmconfig to set them up for
> automatic speed control and found that there was an issue in the lm85
> driver that has been known, but not fixed. Hopefully, this patch will
> generate enough of a stir that people with the broken driver will
> email and nag the devs so the fix gets done.
> 
> This patch merely detects to see if there was a problem disabling the
> pwm control interfaces. When the user gets an access denied error,
> this is a sure symptom of a problem with the underlying driver. It
> detects this and spits out a warning and instructs the user to let the
> appropriate people know.

I've applied a different fix to the pwmconfig script. A read-only
pwmN_enable file doesn't necessarily mean that the driver is broken.
The device might as well support only one control mode and the only way
to let user-space know what it is is to create a read-only pwmN_enable
file. So I had pwmconfig simply skip PWM outputs that it cannot control.

I have also submitted two patches yesterday that fix the lm85 driver so
that it finally works correctly with pwmconfig. Please test if you can.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [lm-sensors] pwmconfig patch
@ 2007-03-18 19:32 Straterra
  0 siblings, 0 replies; 2+ messages in thread
From: Straterra @ 2007-03-18 19:32 UTC (permalink / raw)
  To: lm-sensors

I have a Shuttle SN25P and like most shuttles, all of the fans in it
are controlled via PWM. I recently tried pwmconfig to set them up for
automatic speed control and found that there was an issue in the lm85
driver that has been known, but not fixed. Hopefully, this patch will
generate enough of a stir that people with the broken driver will
email and nag the devs so the fix gets done.

This patch merely detects to see if there was a problem disabling the
pwm control interfaces. When the user gets an access denied error,
this is a sure symptom of a problem with the underlying driver. It
detects this and spits out a warning and instructs the user to let the
appropriate people know.

Thanks!
-- Thomas "Straterra" York
straterra<at>gmail<dot>com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pwmconfig.patch
Type: application/octet-stream
Size: 2052 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070318/9ba97b52/attachment.obj 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-04 10:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04 10:41 [lm-sensors] pwmconfig patch Jean Delvare
  -- strict thread matches above, loose matches on Subject: below --
2007-03-18 19:32 Straterra

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.