Re: sysctl question

2010-07-13 Thread Ed Schouten
* Andreas Tobler andreast-l...@fgznet.ch wrote: But now I wonder how can I teach the sysctl to print my tempreature the same way as my userland app does. I seem to remember all the other temperature sensors expose their value using tenth Kelvin precision. There is some kind of modifier you can

Re: sysctl question

2010-07-13 Thread Andreas Tobler
On 13.07.10 10:48, Ed Schouten wrote: * Andreas Toblerandreast-l...@fgznet.ch wrote: But now I wonder how can I teach the sysctl to print my tempreature the same way as my userland app does. I seem to remember all the other temperature sensors expose their value using tenth Kelvin precision.

sysctl question

2010-07-12 Thread Andreas Tobler
Dear all, I have an issue here, I do read a temperature sensor and I got a value back, in integer. This value is 'encoded', it contains the integer and the fractional part of the temperature I read. This is inside a kernel module. I offer a sysctl interface to read this value. Currently the

Sysctl question (again)

2001-04-16 Thread Oscar-Ivan Lepe-Aldama
Hi! the technical question follows the next commentary. This is the second (third) time I post this question. I'm wondering why I haven't got any answers. Is it because this isn't the right forum? Is it because I haven't been clear enough? Is it because my bad english? Any clue on why the people

Re: Sysctl question (again)

2001-04-16 Thread Alfred Perlstein
* Oscar-Ivan Lepe-Aldama [EMAIL PROTECTED] [010416 02:34] wrote: Hi! the technical question follows the next commentary. This is the second (third) time I post this question. I'm wondering why I haven't got any answers. Is it because this isn't the right forum? Is it because I haven't been

Sysctl question

2001-04-06 Thread Oscar-Ivan Lepe-Aldama
Hi! is there a maximum for the size of an object that sysctl can handle? I'm asking this because I have inserted in a 4.1.1 kernel an array defined as struct buf_entry { unsgined intid; u_int64_t tsc; u_int64_t pmec1; u_int64_t pcem2; }

sysctl question

1999-07-07 Thread Brian F. Feldman
How do I set up a sysctl so that I may pass in a two pointers: one to pass in some data another to receive some data ? Is it possible? Otherwise, I think I should just do something with passing in an arbitrary data buffer (pointer to, rather) which contains the data necessary on