On Fri, 20 Jan 2012 01:07:05 -0700, [email protected] wrote:
On Thu, 19 Jan 2012 23:24:26 -0500, Benjamin Deering wrote:
I hope this isn't too off-topic (barom only works in SHR to my knowledge)

Has anyone played with the barometer in the GTA04? I finally fixed a
rare intermittent segfault (yes, the python process segfaulted) in
barom so it can track the pressure trend for days.

Thanks for fixing this! I did not try barom on my GTA04 yet, I still
need to install and test SHR. But I tested the barometer and it
appears to work as expected.

I was wondering if it works on GTA04, I don't know if sysfs files
have moved around, or even if the bmp085 module is being built for
that platform.
The upstream driver did not change anything regarding the interface,
there is still a pressure0_input and a temperature0_input sysfs entry.
I'm not sure if SHR ships the module by default. If not it shouldn't
be a major problem to change that if necessary. The gta04-kernel (3.2)
still needs a fix to autoload the module during boot, IIRC.
Alternatively your commands should work well too.

Now I really did test it on my GTA04. The installation went smooth but the program does not start afterwards. I had to load the module manually (as expected) and the barometer works. But now it is connected to the second I2C bus and the path changes to 2-0077 instead of 0-0077 on the Freerunner. I changed this in the python file but it still does not start. Instead the pyton process uses all my cpu power. CTRL-C does not work but CTRL-Z does. The last (and only) message I see is 'Xlib: extension "DPMS" missing on display ":0".'

Do you have any idea how to debug this? I'm no python expert so I could need some help here.

Best regards,
  Christoph

_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to