2005-09-16 21:11:26

by Keenan Pepper

[permalink] [raw]
Subject: R52 hdaps support?

I recently splurged on a new ThinkPad R52 (because it was one of the few laptops
in the store with /all/ linux-supported hardware), but the 2.6.14-rc1 kernel I
just compiled says "hdaps: supported laptop not found".

Looking at the source I notice there's a whitelist of models that goes up to
R51... How badly could it break if I just went ahead and added R52? Should it be
"NORMAL" or "INVERT"?

Keenan Pepper


2005-09-16 21:17:19

by Alejandro Bonilla

[permalink] [raw]
Subject: Re: R52 hdaps support?

On Fri, 2005-09-16 at 17:10 -0400, Keenan Pepper wrote:
> I recently splurged on a new ThinkPad R52 (because it was one of the few laptops
> in the store with /all/ linux-supported hardware), but the 2.6.14-rc1 kernel I
> just compiled says "hdaps: supported laptop not found".
>
> Looking at the source I notice there's a whitelist of models that goes up to
> R51... How badly could it break if I just went ahead and added R52? Should it be
> "NORMAL" or "INVERT"?
>
> Keenan Pepper

Hi Keenan,

We don't have the X42 nor the R52 in the list of supported laptops.
Please send an email to [email protected] so that we can do
something about adding your laptop to the dmi list.

Additionally, the X41 should be in the list of supported laptops
(Kconfig)

Thanks,

.Alejandro

2005-09-16 23:04:22

by Robert Love

[permalink] [raw]
Subject: Re: R52 hdaps support?

On Fri, 2005-09-16 at 17:10 -0400, Keenan Pepper wrote:

> I recently splurged on a new ThinkPad R52 (because it was one of the few laptops
> in the store with /all/ linux-supported hardware), but the 2.6.14-rc1 kernel I
> just compiled says "hdaps: supported laptop not found".
>
> Looking at the source I notice there's a whitelist of models that goes up to
> R51... How badly could it break if I just went ahead and added R52? Should it be
> "NORMAL" or "INVERT"?


The R52 should work and nothing should break. If it works, I'll add it.

As for normal versus inverted: You probably want NORMAL, but you will
have to verify it and let me know. You'll know you have the wrong one
when the readings are, well, inverted.

Robert Love


2005-09-17 02:26:59

by Keenan Pepper

[permalink] [raw]
Subject: Re: R52 hdaps support?

Robert Love wrote:
> The R52 should work and nothing should break. If it works, I'll add it.
>
> As for normal versus inverted: You probably want NORMAL, but you will
> have to verify it and let me know. You'll know you have the wrong one
> when the readings are, well, inverted.
>
> Robert Love

OK, it's compiled and running, but how do I tell if it's inverted? The laptop is
on a horizontal surface and /sys/devices/platform/hdaps/position reads
(482,508). What does that mean?

Keenan Pepper

2005-09-17 02:34:24

by Robert Love

[permalink] [raw]
Subject: Re: R52 hdaps support?

On Fri, 2005-09-16 at 22:26 -0400, Keenan Pepper wrote:

> OK, it's compiled and running, but how do I tell if it's inverted? The laptop is
> on a horizontal surface and /sys/devices/platform/hdaps/position reads
> (482,508). What does that mean?

Well, you can use the joystick device and see that the axises are
correct.

The other thing would be to grab the pivot program from the hdaps
package at http://www.kernel.org/pub/linux/kernel/people/rml/hdaps/ and
run it.

Tilting the laptop to you run and toward you should be (positive,
positive) I think.

Robert Love


2005-09-17 03:40:00

by Alejandro Bonilla

[permalink] [raw]
Subject: Re: R52 hdaps support?

On Fri, 2005-09-16 at 22:26 -0400, Keenan Pepper wrote:
> Robert Love wrote:
> > The R52 should work and nothing should break. If it works, I'll add it.
> >
> > As for normal versus inverted: You probably want NORMAL, but you will
> > have to verify it and let me know. You'll know you have the wrong one
> > when the readings are, well, inverted.
> >
> > Robert Love
>
> OK, it's compiled and running, but how do I tell if it's inverted? The laptop is
> on a horizontal surface and /sys/devices/platform/hdaps/position reads
> (482,508). What does that mean?
>
> Keenan Pepper
Keenan,

You may try using the hdaps-gl located at the hdaps.sf.net download
section which will take you to the SF Repository.

.Alejandro

2005-09-17 06:01:28

by Keenan Pepper

[permalink] [raw]
Subject: Re: R52 hdaps support?

Alejandro Bonilla Beeche wrote:
> Keenan,
>
> You may try using the hdaps-gl located at the hdaps.sf.net download
> section which will take you to the SF Repository.
>
> .Alejandro

Oh wow! That's really cool. And my R52 definitely works as "NORMAL", so you can
go ahead and add it to the whitelist.

Keenan

2005-09-22 14:50:53

by Robert Love

[permalink] [raw]
Subject: Re: R52 hdaps support?

On Sat, 2005-09-17 at 02:01 -0400, Keenan Pepper wrote:

> Oh wow! That's really cool. And my R52 definitely works as "NORMAL", so you can
> go ahead and add it to the whitelist.

Done. Will be in the next patch I send to Linus.

Robert Love


2005-09-23 00:25:20

by Alejandro Bonilla

[permalink] [raw]
Subject: Re: R52 hdaps support?

On Thu, 2005-09-22 at 10:51 -0400, Robert Love wrote:
> On Sat, 2005-09-17 at 02:01 -0400, Keenan Pepper wrote:
>
> > Oh wow! That's really cool. And my R52 definitely works as "NORMAL", so you can
> > go ahead and add it to the whitelist.
>
> Done. Will be in the next patch I send to Linus.
>
> Robert Love

Robert,

We have some laptops missing from the HDAPS list.
X41 and X42? (I think)

.Alejandro

2005-09-23 01:48:49

by Robert Love

[permalink] [raw]
Subject: Re: R52 hdaps support?

On Thu, 2005-09-22 at 18:25 -0600, Alejandro Bonilla Beeche wrote:

> We have some laptops missing from the HDAPS list.
> X41 and X42? (I think)

I added X41 in the patch I sent out today.

X42: I don't think I have ever gotten any reports.

Robert Love