![]() |
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
great to hear it is working. sorry am on holiday in greece!
if you want more information on the values in future i have started a blog for healthcheck on my website www.greg-roberts.com it has a set of pictures describing the accelerometer positions :) hope that helps! |
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
Thanks man, I've naturally checked your website and read that post about the accelerometer, but since the post assumes there's nothing wrong with the accelerometer, I couldn't figure if mine was really faulty - e.g entirely not working - or just 'stuck' and always returning maximum values to the accelerometer test...
But you're ok man, thank anyways :) |
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
Hi,
healthcheck crashing since a long time. tried this: apt-get install -s mp-fremantle-generic-pr then I get an error about dependencies: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mp-fremantle-generic-pr: Depends: perl-base (= 5.8.3-3osso11+0m5) but 5.8.3-3osso13+0m5 is to be installed Depends: libsdl-mixer1.2 (= 1:1.2.6-5+0m5) E: Broken packages How can I fix it? Have to reinstall perl or so? Thank you very much for your help. jacks |
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
Quote:
And then stop doing "apt-get dist-upgrade" (which is probably how you got into this situation in the first place). |
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
thank you very much rob1n. now it works again!
|
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
Hey, noobmonkey, I have a question: How do you fetch device orientation state in healthcheck? I've been trying to figure out how to make it work in Conky, so I need whatever one would normally be able to run in a shell to fetch the device orientation state.
Or does healthcheck just calculate it using the accelerometer values? (I have no clue how to use DBus, but if you want to teach me the DBus command for it by all means I'm happy to learn, but if there's a non-dbus place I can poll, that would be wonderful. I've been browsing the N900 filesystem, and I found where you can cat the accelerometer values (As http://wiki.maemo.org/N900_accelerometer#sysfs suggests), but no where in the documentation do I find a place that tells you how to fetch the orientation state - barring a few hints about DBus, but that's arcane and impenetrable for me right now.) |
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
Accelerometer co-ords followed by oreientation :)
Code:
f = open("/sys/class/i2c-adapter/i2c-3/3-001d/coord", 'r') Code:
def funcDevOri(): I'm sure some clever doul can teach you how to do it in terminal or c++ :) |
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
Well, thank you anyway. I appreciate it. If I understood DBus stuff more, I could probably figure out how to do it from the python code - it's just that I don't even know that. I'll prod some people for it in PM I suppose, if I can't figure it out in the next few days.
|
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
|
Re: [Annouce] HealthCheck - Hardware/System checker for the N900
To be completely honest, this still doesn't make any meaningful sense to me. (And I actually can't fully tell where the part that finds orientation is - there's a part that measures screen geometry - desktop width vs desktop height - but would that even work in Maemo, where the desktop never actually rotates?)
But I appreciate it nonetheless. |
All times are GMT. The time now is 21:18. |
vBulletin® Version 3.8.8