From: "Éric Piel" <eric.piel@tremplin-utc.net>
To: Palatis Tseng <palatis@gmail.com>,
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Cc: Pavel Machek <pavel@suse.cz>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] lis3lv02d: add axes knowledge of HP Pavilion dv5 models
Date: Tue, 10 Feb 2009 11:34:26 +0100 [thread overview]
Message-ID: <49915832.1090501@tremplin-utc.net> (raw)
In-Reply-To: <4990DEFD.4010700@gmail.com>
(putting back the cc's, please keep them when answering)
Palatis Tseng schreef:
> Éric Piel 提到:
>> No problem, the patch from Giuseppe will get the axex fine :-)
>>
>> However, could you let use know if you too, on your laptop, have huge
>> fluctuations even when the laptop is not moving? Could you give an idea
>> of the minimum and maximum values of each axis when the laptop is set
>> normally on the desk without touching it?
>>
>> Thanks,
>> Eric
> I took a look at the patch but my axis on dv5 is Y_inverted (instead of
> X_inverted.) i patched my lis3lv02d.c and added:
>
> === cut here ===
> AXIS_DMI_MATCH("HPDV5", "HP Pavilion dv5", y_inverted),
> === cut here ===
>
> and neverball worked just correct with it so i'm kinda sure my patch
> about the axis should be correct.
>
> i've also tested with x_inverted, but whenever i evaluate the left side
> of my notebook the ball goes to the left side too which is not real-world
> behavier.
>
> mine is a HP Pavilion dv5 1003ax with AMD PUMA platform.
> `dmidecode | grep "Product Name" says:
> (under "System Information"...)
> Product Name: HP Pavilion dv5 Notebook PC
Giuseppe,
Palatis mentions that on his laptop the sensor is actually y_inverted.
Could you check your laptop? In particular it would be nice if you could
describe the values for the four positions defined in the documentation
file. BTW, what is the exact version of your laptop? Is it the same as
Palatis?
Palatis, could you let us know if you also have a lot of "noise" in the
values. That is, if when using jstest /dev/input/js0 you see big changes
in the values. Is it like on Giuseppe's laptop of around 8000?
Moreover I'm wondering if this could be an error on LSB/MSB ordering.
Maybe looking at the raw values (cat
/sys/devices/platform/lis3lv02d/position) would give more insight...
See you,
Eric
next prev parent reply other threads:[~2009-02-10 10:34 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-07 0:48 [PATCH] lis3lv02d: add axes knowledge of HP Pavilion dv5 models Giuseppe Bilotta
2009-02-07 14:47 ` Éric Piel
2009-02-07 23:59 ` Giuseppe Bilotta
2009-02-09 9:47 ` Pavel Machek
2009-02-09 9:53 ` Giuseppe Bilotta
2009-02-09 9:58 ` Pavel Machek
2009-02-09 11:45 ` Giuseppe Bilotta
2009-02-09 13:33 ` Giuseppe Bilotta
2009-02-10 10:10 ` Pavel Machek
2009-02-10 21:39 ` Giuseppe Bilotta
2009-02-10 22:47 ` Éric Piel
2009-02-10 22:48 ` Giuseppe Bilotta
2009-02-10 23:17 ` Andrew Morton
2009-02-10 23:22 ` Éric Piel
2009-02-10 23:17 ` Éric Piel
2009-02-10 23:34 ` Éric Piel
[not found] ` <498E46F2.1020401@gmail.com>
2009-02-09 23:37 ` Éric Piel
[not found] ` <4990DEFD.4010700@gmail.com>
2009-02-10 10:34 ` Éric Piel [this message]
2009-02-10 11:07 ` Giuseppe Bilotta
2009-02-10 12:42 ` Éric Piel
2009-02-10 20:29 ` Giuseppe Bilotta
2009-02-10 20:31 ` Giuseppe Bilotta
2009-02-10 21:28 ` Giuseppe Bilotta
2009-02-10 21:33 ` Giuseppe Bilotta
2009-02-09 9:44 ` Pavel Machek
2009-02-09 9:50 ` Giuseppe Bilotta
[not found] ` <1234191743.3156.2.camel@localhost.localdomain>
2009-02-09 16:50 ` Giuseppe Bilotta
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=49915832.1090501@tremplin-utc.net \
--to=eric.piel@tremplin-utc.net \
--cc=giuseppe.bilotta@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=palatis@gmail.com \
--cc=pavel@suse.cz \
/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