Re: [RFC PATCH 09/10] lis3: Scale output values to mg

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

 



Hi Samu,

On Tue, Nov 03, 2009 at 01:30:07PM +0100, samu.p.onkalo@xxxxxxxxx wrote:
> Date: Tue, 3 Nov 2009 13:30:07 +0100
> From: samu.p.onkalo@xxxxxxxxx
> To: daniel@xxxxxxxx
> CC: eric.piel@xxxxxxxxxxxxxxxx, kalhan.trisal@xxxxxxxxx,
> 	lm-sensors@xxxxxxxxxxxxxx
> Subject: RE: [RFC PATCH 09/10] lis3: Scale output values to mg
> Message-ID: <62697B07E9803846BC582181BD6FB6B8256DACE233@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
> 
> >On Tue, Nov 03, 2009 at 02:09:44PM +0200, Samu Onkalo wrote:
> >> Report output values as 1/1000 of earth gravity.
> >
> >Without having tried that, I assume that changes the values 
> >for all events reported? That would break all userspace 
> >clients of this device, right?
> >
> 
> Yes. That is one thing which need to agreed here. One possibility is to
> implement this as a configurable feature for example using platform data.
> In that kind of solution default value must be the old way.

This hits us now in user space applictions. No big deal, we will just
change our parsers. But I wonder whether you have a fix factor at hand
to apply here for calculation? I'm too lazy to reverse all the thinking
behind the conversion in order to get that number ;)

Thanks,
Daniel

_______________________________________________
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