hdaps module does not work with the Thinkpad X60s

Bug #44976 reported by James Henstridge
This bug report is a duplicate of:  Bug #33950: hdaps Y axis inverted. Edit Remove
12
Affects Status Importance Assigned to Milestone
linux-source-2.6.15 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

The Thinkpad X60s contains the hard disk active protection system accelerometer chip, but the hdaps kernel module refuses to load with the error message "hdaps: supported laptop not found!".

From the look of it, the module uses a whitelist to decide whether the sensor is supported, and does not include entries for either the new X60 or T60 series of laptops.

Revision history for this message
Chuck Short (zulcss) wrote :

Can you add the output of dmidecode?

Thanks
chuck

Changed in linux-source-2.6.15:
status: Unconfirmed → Needs Info
Revision history for this message
James Henstridge (jamesh) wrote : Thinkpad X60s DMI decode info

Attached is the entire output of dmidecode on my laptop. Here's the relevant section:

  Handle 0x0001, DMI type 1, 27 bytes.
  System Information
          Manufacturer: LENOVO
          Product Name: 17024EM
          Version: ThinkPad X60s
          Serial Number: LVA3720
          UUID: 585A47C0-75C2-11D9-B40A-BF4102C55242
          Wake-up Type: Power Switch
          SKU Number: Not Specified
          Family: ThinkPad X60s

Revision history for this message
Henrik Karlsson (hkarlsson) wrote : Thinkpad T60 DMI decode info

Thinkpad T60 DMI decode info

Revision history for this message
James Henstridge (jamesh) wrote :

The following seems to be the upstream patch to add support for the new thinkpad models:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0f6c840d774d669baf4727c0499ab0674826429f

I haven't tested it yet, but it looks fairly simple.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This works fine with current edgy on an x60s, so I think this bug can be marked fixed. Relevant dmesg entries:

[17179622.276000] hdaps: LENOVO ThinkPad X60 detected, inverting axes
[17179622.276000] hdaps: initial mode latch is 0x05
[17179622.276000] hdaps: setting ec_rate=250, filter_order=2
[17179622.276000] hdaps: fake_data_mode set to 0
[17179622.276000] hdaps: device successfully initialized.
[17179622.276000] input: hdaps as /class/input/input3
[17179622.276000] hdaps: driver successfully loaded.

Revision history for this message
apelete (apelete) wrote :

HDAPS does not work in Dapper.
I have Ubuntu 6.06 running on a Thinkpad X60 and there's no sign of hdaps module in the kernel (lsmod) and I do not understand a single word of dmidecode.

Since it seems to work under Edgy, there should be a patch for kernels 2.6.15 for Dapper...

Revision history for this message
James Henstridge (jamesh) wrote :

The module does seem to work okay on Edgy, but the vertical axis seems to be inverted. This makes it difficult to play neverball :)

Revision history for this message
Peter Whittaker (pwwnow) wrote :

This report contains conflicting information as to whether this works under Edgy or not. The most promising is that it does, but that the vertical axis is inverted.

Based on that comment, and on the content of report #33950, I'm marking this as a duplicate: #33950 is definitely related, and is "where the action is", and also has comments re how well the fixes are working on various releases.

The alternatives to duping would seem to be a) request more info and try to get attention to this reports (but other reports appear to be driving progress), b) marking as fix released based on working in Edgy (but requesting another report re Y axis - see #33950), or c) marking as fix released but referring to 33950 anyway.

By duping, at least the relevant logs supplied here are visible to #33950, should that prove useful.

Revision history for this message
Shem Multinymous (multinymous) wrote :

The above report by Jelmer Vernooij (OK on Edgy+X60s) uses the modified hdaps driver bundled with tp_smapi, not the vanilla hdaps driver.
The vanilla hdaps is broken on recent ThinkPad models, and unreliable for old ones.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux-source-2.6.15 (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.