Q: /proc/driver file philosophy

2001-06-22 Thread Kipp Cannon

Hi,

I'm maintaining a device driver that has recently had the ability to
control multiple units added to it.  At present, applications can get info
on the driver's and hardware's status through a file in /proc/driver.  
What I would like to know is what the prefered way to handle multiple
devices is:  multiple files in /proc/driver or one file with multiple
sections in it?

As the developer of the driver's associated user space utilities I think
my preference is for multiple files because that keeps those apps as
simple as possible.  As the developer of the driver, however, having a
single /proc file and a loop is the simplest solution.  So is there an
(un)official position on this sort of thing or should I flip a coin?

-Kipp

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



Q: /proc/driver file philosophy

2001-06-22 Thread Kipp Cannon

Hi,

I'm maintaining a device driver that has recently had the ability to
control multiple units added to it.  At present, applications can get info
on the driver's and hardware's status through a file in /proc/driver.  
What I would like to know is what the prefered way to handle multiple
devices is:  multiple files in /proc/driver or one file with multiple
sections in it?

As the developer of the driver's associated user space utilities I think
my preference is for multiple files because that keeps those apps as
simple as possible.  As the developer of the driver, however, having a
single /proc file and a loop is the simplest solution.  So is there an
(un)official position on this sort of thing or should I flip a coin?

-Kipp

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



Re: temperature standard - global config option?

2001-06-06 Thread Kipp Cannon

Hi,

It seems that a lot of people are agreeing that the unit should be a
multiple of 1 kelvin but to my eyes there are two camps and I just want to
make sure that everyone's being clear with their notation.

If the kernel tells me the temperature is 1 (one) what should that mean?  
If it's spitting out 0.1* as people are claiming the
ACPI stuff does then 1 means 10 kelvin or 1 dekakelvin, not a

decikelvin as other people are saying they would prefer to see used.  Or
are people being braindamaged and by "0.1*K" they mean that ACPI spits out
10*?  Which would then mean that everyone does agree
afterall that the unit should be a decikelvin although they don't
necessarily know what multiplication means :-).

-Kipp

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



Re: temperature standard - global config option?

2001-06-06 Thread Kipp Cannon

Hi,

It seems that a lot of people are agreeing that the unit should be a
multiple of 1 kelvin but to my eyes there are two camps and I just want to
make sure that everyone's being clear with their notation.

If the kernel tells me the temperature is 1 (one) what should that mean?  
If it's spitting out 0.1*temperature in K as people are claiming the
ACPI stuff does then 1 means 10 kelvin or 1 dekakelvin, not a

decikelvin as other people are saying they would prefer to see used.  Or
are people being braindamaged and by 0.1*K they mean that ACPI spits out
10*temperature in K?  Which would then mean that everyone does agree
afterall that the unit should be a decikelvin although they don't
necessarily know what multiplication means :-).

-Kipp

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



anybody home at device@lanana.org?

2001-04-23 Thread Kipp Cannon

Hi.

I've sent some messages to [EMAIL PROTECTED] but haven't received any
responses.  Does anyone know if there's anybody home?

-Kipp

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