lkml.org 
[lkml]   [2003]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: lm sensors sysfs file structure
Martin Schlemmer wrote:
> On Thu, 2003-03-27 at 12:46, Jan Dittmer wrote:
>
>>Greg KH wrote:
>>
>>>True, but multi-valued files are not allowed in sysfs. It's especially
>>>obnoxious that you have 3 value files when you read them, but only
>>>expect 2 values for writing. The way I split up the values in the
>>>lm75.c driver shows a user exactly which values are writable, and
>>>enforces this on the file system level.
>>
>
> Right, can we just get this finalised soon ? Not much fun in redoing
> something 2 times already ;)
>

Btw., why is temperature conversion done twice? First time in kernel
space and then with the help of sensors.conf again in user space?
Wouldn't it be much nicer to move this to the drivers? So there would be
no need anymore to do this in userspace and one could rely on the values
found in sysfs?!

Thanks,

Jan



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.123 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site