[Gta04-owner] Making sense of the sensors.
Denis 'GNUtoo' Carikli
GNUtoo at no-log.org
Sat Aug 11 00:01:51 CEST 2012
On Wed, 2012-08-08 at 20:12 -0400, Benjamin Deering wrote:
> I played a bit with valacompass on GTA04. Libsensmon would need a
> BMA150 module for tilt compensation to work, but I commented out the
> accelerometer code in my build.
> The hmc5843 driver for the latest SHR kernel has the sysfs files in a
> different place.
> I changed .Sensmon/config to include:
> The sysfs file 'rate' seems to have changed to sampling_frequency.
> X,Y,and Z values come from separate files. I'm not a vala programmer,
> but I can send what I did to get them.
> I had to adjust in_magn_range to get the Y axis to show anything but -4096.0
Hi, can you share the patches so I could try because I read your mail,
then I was told how to activate the sensors and I started to do the same
thing and forgot that you had the GUI working.
(I didn't sleep well last night and it's late right now...)
Altough I've documented the 3.4 kernel interface here:
More information about the Gta04-owner