All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ike Panhc <ike.pan@canonical.com>
To: "Richard Schütz" <r.schtz@t-online.de>
Cc: Alberto Mardegan <mardy@users.sourceforge.net>,
	platform-driver-x86@vger.kernel.org,
	"Javier S. Pedro" <maemo@javispedro.com>
Subject: Re: Accelerometer and orientation sensor on Lenovo Ideapad S10-3t
Date: Wed, 01 Jun 2011 15:23:26 +0800	[thread overview]
Message-ID: <4DE5E8EE.3000204@canonical.com> (raw)
In-Reply-To: <4DE0E488.8040108@t-online.de>

On 05/28/2011 08:03 PM, Richard Schütz wrote:
> On 05/26/11 20:27, Alberto Mardegan wrote:
>> Secondly, I'd like to add support for reading the accelerometer values,
>> as it's done here (again, kudos to Javier):
>> http://gitorious.org/iaps/iaps/blobs/master/iaps.c
>> I know that no one is happy of directly accessing the raw I/O ports, but
>> all my attempts of reading these values through the ACPI interfaces or
>> the EC fields have failed: the fields are always set to 0.
>> So, what I plan to do is to check the DMI information, and if the
>> machine is a S10-3t I would you the code linked above to read and report
>> the accelerometer values. Would that be acceptable?
> 
> I'm wondering if the accelerometer driver is also compatible with the ThinkPad SL laptops. It is said that their firmwares are quite similar to the IdeaPad ones. As they have quasi nothing in common with the normal ThinkPad series there's no support for them in thinkpad-acpi/hdaps/tp_smapi.

So far what I know is SL400 has similar firmware with asus-laptops, and other SL are using thinkpad-acpi.

I have a SL400 and tried to examine the DSDT but found nothing about accelerometer sensor.

> 
> I compiled the iaps module and loaded it successfully on my ThinkPad SL. There is also data passed by the driver to the input subsystem, when I move the laptop. Is there a way to validate this data?
> 

Which SL you have? If we can find out a standard interface, that will be good.

  reply	other threads:[~2011-06-01  7:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 18:27 Accelerometer and orientation sensor on Lenovo Ideapad S10-3t Alberto Mardegan
2011-05-27 16:33 ` Matthew Garrett
2011-05-28  7:15   ` Alberto Mardegan
2011-06-08  8:52   ` Anisse Astier
2011-06-08 10:49     ` Alberto Mardegan
2011-05-28 12:03 ` Richard Schütz
2011-06-01  7:23   ` Ike Panhc [this message]
2011-06-01 19:29     ` Richard Schütz

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=4DE5E8EE.3000204@canonical.com \
    --to=ike.pan@canonical.com \
    --cc=maemo@javispedro.com \
    --cc=mardy@users.sourceforge.net \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=r.schtz@t-online.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.