From: Alejandro Bonilla Beeche <abonilla@linuxwireless.org>
To: linux-kernel@vger.kernel.org
Cc: "'Yani Ioannou'" <yani.ioannou@gmail.com>, Dave Hansen <dave@sr71.net>
Subject: IBM HDAPS, I need a tip.
Date: Sun, 31 Jul 2005 19:53:35 -0600 [thread overview]
Message-ID: <1122861215.11148.26.camel@localhost.localdomain> (raw)
Hi Guys,
I hope you all aren't sick about the topic. I have a quick question...
Thanks to development of the driver from some nice guys, we are able to
get data from the accelerometer. There is one problem. How do we
calibrate the values that are outputed from the userspace? All PC's get
a different value, and we can't really find the best solution. What is
the scientific and smartest way to do this?
i.e. of the driver output from the userspace.
abonilla@debian:~/hdaps/hdaps-dave-0.02
$ ./ibm_hdaps_userspace /dev/ibm_hdaps
x_accel: 409
y_accel: 528
temp: 47
temp2: 47
unknown: 7
If I move the PC 45 deg right.(Looking from front the left side is
higher)
km_activity (keybd) = 0
km_activity (mouse) = 0
x_accel: 396
y_accel: 579
temp: 47
temp2: 47
unknown: 7
The thing is, people have different values, and I think they are also
different depending on where they are.
Another question for this kernel inclusion (heh) Should we use Sysfs or
should we use the userspace that outputs this data, else what is
recomended?
Thanks in advance,
.Alejandro
next reply other threads:[~2005-08-01 1:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-01 1:53 Alejandro Bonilla Beeche [this message]
2005-08-01 4:56 ` IBM HDAPS, I need a tip Alejandro Bonilla Beeche
2005-08-01 5:10 ` Lee Revell
2005-08-01 6:51 ` Jan Engelhardt
2005-08-01 8:07 ` Yani Ioannou
2005-08-01 13:38 ` Dave Hansen
2005-08-01 19:02 ` Yani Ioannou
2005-08-01 12:18 ` Paulo Marques
2005-08-01 12:55 ` linux-os (Dick Johnson)
2005-08-01 13:09 ` Vojtech Pavlik
2005-08-01 14:22 ` linux-os (Dick Johnson)
2005-08-01 14:51 ` Vojtech Pavlik
2005-08-01 18:08 ` [Hdaps-devel] " Jon Escombe
2005-08-01 18:25 ` Alejandro Bonilla
2005-08-01 19:44 ` Jon Escombe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1122861215.11148.26.camel@localhost.localdomain \
--to=abonilla@linuxwireless.org \
--cc=dave@sr71.net \
--cc=linux-kernel@vger.kernel.org \
--cc=yani.ioannou@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox