Re: How values are populated in sysfs enteries in LM73 sensor

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

 



Thanks Jean but doubt is because of this data sheet

http://www.st.com/st-web-ui/static/active/jp/resource/technical/document/application_note/CD00079564.pdf<https://legacy.aricent.com/OWA/redir.aspx?C=E7rMQdCIsEe5h1I8xjn4nfrwpkv6CtFIOVJ_ZzqMu_GSLT6DEkWx_bxJe_XdhaG5aieI22_WnSo.&URL=http%3a%2f%2fwww.st.com%2fst-web-ui%2fstatic%2factive%2fjp%2fresource%2ftechnical%2fdocument%2fapplication_note%2fCD00079564.pdf>


Where sensor application senses and log the temp. into EEPROM.

Thanks



On Mon, Mar 3, 2014 at 1:33 PM, Jean Delvare <jdelvare@xxxxxxx> wrote:

> On Mon, 3 Mar 2014 10:58:21 -0800, Romanic Dean wrote:
> > Hi all
> >
> > I am going through LM73 sensor implementation and wanted to know
> > how different entries in sysfs is populated .
> >
> > I can see max and min temp. values are hard coded in code itself
> >
> >  #define LM73_TEMP_MIN           (-256000 / 250)
> > #define LM73_TEMP_MAX           (255750 / 250)
> >
> > But what about the current temp. values ,how it is populated?
> >
> > Is it read from EEPROM and then populated into sysfs entry temp_input1?
> >
> > Can anyone let me know these values are populated and what is role of
> > EEPROM here?
>
> What makes you think there is any EEPROM involved?
>
> You keep asking vague questions, we can't really help you.
>
> The datasheet is available:
> http://www.ti.com/product/LM73
>
> The source code is available:
>
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/hwmon/lm73.c
>
> The driver documentation is available:
>
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/hwmon/lm73
>
> The sysfs interface documentation is available:
>
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/hwmon/sysfs-interface
>
> A brief introduction to user-space tools is available:
>
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/hwmon/userspace-tools
>
> So please read all of these. If you still have question, feel free to
> ask, but in a clear way so that we can understand.
>
> --
> Jean Delvare
> SUSE L3 Support
>
_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




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

  Powered by Linux