Skip to contentSkip to conversation

R52 hdaps support?

DISCUSSION Keenan Pepper 3 participants 10 messages Sep 16, 2005 – Sep 23, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 9 lines · Keenan Pepper

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

#2 lore raw
In reply to Keenan Pepper
Quoted 7 lines · Keenan Pepper

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

#3 lore raw
Quoted 7 lines · Robert Love

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

#4 lore raw
Quoted 3 lines · Keenan Pepper

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

#5 lore raw
In reply to Keenan Pepper
Quoted 7 lines · Keenan Pepper
Quoted 6 lines · Robert Love

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.

Quoted 7 lines
Quoted 1 line

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

#6 lore raw
Quoted 6 lines · Alejandro Bonilla Beeche

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

#7 lore raw
Quoted 2 lines · Keenan Pepper

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

#8 lore raw
Quoted 8 lines · Robert Love
Quoted 2 lines · Keenan Pepper

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

#9 lore raw
Quoted 2 lines · Alejandro Bonilla Beeche

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