sysfs interface for fan present capability

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

 



Hi Henrique,

> On Sun, 04 Jun 2006, Jean Delvare wrote:
> > > On Sun, 04 Jun 2006, Jean Delvare wrote:
> > > > Sure, why not. fan[1-*]_present sounds like a good idea. I wonder how
> > > > this works physically. It would be great if other chips could implement
> > > > this feature, that would make autoconfig easier for fans. If you
> > > 
> > > We can certainly implement it as in-driver logic if the hardware doesn't
> > > cooperate, but a stuck fan on startup will be shown as not-present unless
> > > you DO have hardware detection.
> > 
> > No, this feature is only valuable if implemented by the hardware. If we
> > emulate it in any way, it would be in user space and not in the
> > drivers, but even there I fail to see the value.
> 
> I fully agree, and I suggest that the sysfs interface description makes it
> clear that this attribute can be exported only if it is a *hardware sense*
> result...

This is true of all sysfs attributes, not just this one. See patch
04/11 I just sent to Greg, I updated the documentation to make it
clearer.

-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux