From: Alejandro Bonilla <abonilla@linuxwireless.org>
To: Pavel Machek <pavel@suse.cz>
Cc: Paul Sladen <thinkpad@paul.sladen.org>,
linux-thinkpad@linux-thinkpad.org,
Eric Piel <Eric.Piel@tremplin-utc.net>,
"'Vojtech Pavlik'" <vojtech@suse.cz>,
borislav@users.sourceforge.net,
"'Yani Ioannou'" <yani.ioannou@gmail.com>,
linux-kernel@vger.kernel.org, hdaps-devel@lists.sourceforge.net
Subject: Re: [ltp] IBM HDAPS Someone interested? (Accelerometer)
Date: Sat, 25 Jun 2005 13:13:17 -0500 [thread overview]
Message-ID: <42BD9EBD.8040203@linuxwireless.org> (raw)
In-Reply-To: <20050625144736.GB7496@atrey.karlin.mff.cuni.cz>
Pavel Machek wrote:
>Hi!
>
>
>
>
>>>Yup, it's just doing port IO. Get a kernel debugger for windows like
>>>softice and this will be trivial to RE.
>>>READ_PORT_USHORT / WRITE_PORT_UCHAR / READ_PORT_UCHAR
>>>
>>>
>>There are 3 ports involved. The 0xed "non-existant delay port" and a pair
>>of ports that are through the Super-I/O / IDE. They are used in a
>>index+value setup similar to reading/writing the AT keyboard
>>
>>
>>>controller.
>>>
>>>
>
>I think you got it... 2ports seem like enough for some kind of small
>u-controller...
>
>
>
>>>From what I remember, my conclusion was that these instructions were the
>>ones to park the heads and then lock the IDE bus. It's a couple of months
>>ago, but somewhere I have the simplified version of what it was doing...
>>
>>
>
>Don't think so... parking heads will go through IDE layer...
> Pavel
>
>
>
I have a question here, how do you guys think that the head is parked,
is it done by the controller directly, which then sends the command to
the HD to park the head, or this is done by the operating system in some
kind of way?
I think the OS or user space is too slow like to react to send a park
command to the hard drive, so this most be done directly by the embedded
controller, but still I think it needs some input from the OS, to
initialize it's settings. i.e. after all, in windows you do have the
settings in the software for HDAPS, but it looks like it is _not_
managed by the operating system at all if there is some type of action
to be taken. This is also probably why HDAPS won't kick in until
booted, and that is because it needs to load its config setup by the
software.
This is what I think, please correct me if I'm saying something crazy.
OS booted, sends settings to the controller, if settings changed, the OS
will send the settings again to the controller. -> once the controller
has the configuration from the user, which is in Windows, loaded by
default, then the controller reacts depending on it's output from the
accelerometer, sending inmediate commands or parking the head of the HD.
Then also, the OS is either notified about the movement, or actually it
starts reading from the controller, for example, when doing the 3D view.
The 3D view software takes some time loading, if it would be normally
monitoring, then It wouldn't take the 4 seconds it takes. I think the OS
only reads to give the user a clue of their nice feature, but is all
really done with the controller-> HD.
After all, IBM testing says that HDAPS worked perfectly from a 70cm fall.
.Alejandro
next prev parent reply other threads:[~2005-06-25 19:13 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <42B6F6F6.2040704@zipman.it>
2005-06-20 17:28 ` [ltp] Re: IBM HDAPS Someone interested? Alejandro Bonilla
2005-06-20 19:51 ` Yani Ioannou
2005-06-20 20:11 ` Yani Ioannou
2005-06-20 20:25 ` Alejandro Bonilla
2005-06-20 20:34 ` Yani Ioannou
2005-06-20 20:48 ` Alejandro Bonilla
2005-06-20 21:35 ` Lee Revell
2005-06-20 21:57 ` Alejandro Bonilla
2005-06-20 23:35 ` Lee Revell
2005-06-22 10:49 ` Pavel Machek
2005-06-22 12:50 ` Alejandro Bonilla
2005-06-23 7:13 ` Vojtech Pavlik
2005-06-23 10:06 ` Eric Piel
2005-06-23 12:53 ` Alejandro Bonilla
2005-06-23 13:18 ` Vojtech Pavlik
2005-06-23 20:22 ` Eric Piel
2005-06-23 20:42 ` Lee Revell
2005-06-25 6:17 ` [ltp] IBM HDAPS Someone interested? (Accelerometer) Paul Sladen
2005-06-25 11:31 ` Vojtech Pavlik
2005-06-25 14:47 ` Pavel Machek
2005-06-25 15:00 ` Vojtech Pavlik
2005-06-25 18:14 ` Alejandro Bonilla
2005-06-25 20:14 ` Vojtech Pavlik
2005-06-27 12:33 ` Lenz Grimmer
2005-06-27 13:10 ` Alejandro Bonilla
2005-06-27 21:02 ` Lee Revell
2005-06-28 3:22 ` Alejandro Bonilla
2005-06-28 5:40 ` Lee Revell
2005-06-28 15:40 ` Vojtech Pavlik
2005-06-25 18:13 ` Alejandro Bonilla [this message]
2005-06-25 20:09 ` Vojtech Pavlik
2005-06-25 22:41 ` Alejandro Bonilla
2005-06-27 3:35 ` [Hdaps-devel] " Shawn Starr
2005-07-03 8:37 ` Alejandro Bonilla
2005-07-03 10:16 ` Vojtech Pavlik
2005-07-03 11:07 ` Jesper Juhl
2005-07-03 18:17 ` Jesper Juhl
2005-07-03 19:21 ` [Hdaps-devel] " Dave Hansen
2005-07-03 18:29 ` Alejandro Bonilla
2005-07-03 19:37 ` Dave Hansen
2005-07-03 19:42 ` Jesper Juhl
2005-07-03 18:52 ` Alejandro Bonilla
2005-07-03 19:42 ` Henrik Brix Andersen
2005-07-03 20:03 ` Jesper Juhl
2005-07-03 20:53 ` Tomasz Torcz
2005-07-03 19:41 ` Dave Hansen
2005-07-11 9:42 ` [ltp] IBM HDAPS Someone interested? (Userspace accelerometer viewer) Paul Sladen
2005-07-11 14:26 ` Alan Cox
2005-07-11 16:53 ` [Hdaps-devel] " Dave Hansen
2005-07-11 17:31 ` Paul RIVIER
2005-07-11 20:09 ` [Hdaps-devel] " Daniel Willmann
2005-07-12 15:55 ` Dave Hansen
2005-07-11 15:13 ` Pavel Machek
2005-07-12 9:41 ` Matthew Garrett
2005-07-11 16:21 ` [Hdaps-devel] " Dave Hansen
2005-07-13 16:27 ` Alejandro Bonilla
2005-06-25 17:42 ` [ltp] IBM HDAPS Someone interested? (Accelerometer) Alejandro Bonilla
2005-06-27 10:36 ` P
2005-06-23 15:33 ` [ltp] Re: IBM HDAPS Someone interested? Jan Knutar
2005-06-23 17:08 ` Lee Revell
2005-06-23 20:47 ` Andrew Haninger
2005-06-24 9:16 ` P
2005-06-24 12:56 ` Alejandro Bonilla
2005-06-24 17:20 ` Alejandro Bonilla
2005-06-20 20:53 ` Vojtech Pavlik
[not found] ` <005b01c575bd_724fac60_600cc60a@amer.sykes.com>
2005-06-20 20:25 ` Pavel Machek
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=42BD9EBD.8040203@linuxwireless.org \
--to=abonilla@linuxwireless.org \
--cc=Eric.Piel@tremplin-utc.net \
--cc=borislav@users.sourceforge.net \
--cc=hdaps-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-thinkpad@linux-thinkpad.org \
--cc=pavel@suse.cz \
--cc=thinkpad@paul.sladen.org \
--cc=vojtech@suse.cz \
--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