hdaps module does not load on Thinkpad R61

Bug #138018 reported by cullen
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Undecided
Unassigned
linux-source-2.6.22 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: hdapsd

This is probably the same type of thing as Bug #133636

root@lenny:~# modprobe hdaps
FATAL: Error inserting hdaps (/lib/modules/2.6.22-10-generic/kernel/drivers/hwmon/hdaps.ko): No such device

root@lenny:~# dmesg | tail -n 2
[ 3171.528000] hdaps: supported laptop not found!
[ 3171.528000] hdaps: driver init failed (ret=-19)!

https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/133636

>> If I'm not mistaken, "Thinkpad T61P" needs to be added to hdaps_init() in drivers/hwmon/hdaps.c to support this new Thinkpad models.

I guess the same needs to be done for the R61 ?

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

Added thanks for the bug report.

Changed in hdapsd:
status: New → In Progress
Revision history for this message
Etienne LB (etiennelb-deactivatedaccount) wrote :

I also have a Thinkpad R61 and I can't modprobe hdaps.
Bug confirmed :)

Revision history for this message
David Solbach (d-vidsolbach) wrote :

Is there already a new package to test? I'd like to give it a try!

Revision history for this message
John Leach (johnleach) wrote :

Changed package from hdapsd to linux-source-2.6.22 as this is a bug in the kernel driver, not the userspace daemon.

Changed in hdapsd:
status: In Progress → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

I am assigning this bug to the 'ubuntu-kernel-team' per their bug policy. For future reference you can learn more about their bug policy at https://wiki.ubuntu.com/KernelTeamBugPolicies .

Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-team
Revision history for this message
Karol Krizka (kkrizka) wrote :

I have the same problem with Thinkpad X61 Tablet. However if I manually compile the tp_smapi 0.32 driver (http://www.thinkwiki.org/wiki/Tp_smapi) with HDAPS enabled, everything works perfectly.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Erik Dalén (dalen) wrote :

The issue is still there with 2.6.27 from Intrepid.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Erik, can you provide more information regarding your system. Attaching the output of 'sudo dmidecode' would be great. Also an udpated full dmesg output which captures the "hdaps: supported laptopt not found!" message would be good just so we have official confirmation this is still not resolved with 2.6.27. I've copied the current whitelist from the driver below:

/* Note that HDAPS_DMI_MATCH_NORMAL("ThinkPad T42") would match

   "ThinkPad T42p", so the order of the entries matters.

   If your ThinkPad is not recognized, please update to latest

   BIOS. This is especially the case for some R52 ThinkPads. */

static struct dmi_system_id __initdata hdaps_whitelist[] = {

    HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad R50p"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R50"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R51"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R52"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad R61i"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad R61"),

    HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T41p"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T41"),

    HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad T42p"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T42"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T43"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T60"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61p"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad X40"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad X41"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X60"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X61s"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X61"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad Z60m"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad Z61m"),

    HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad Z61p"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T61P"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad R61"),

    HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad T61"),

    { .ident = NULL }

};

Revision history for this message
Philip Muškovac (yofel) wrote :

Hi, bug still there with kernel 2.6.27-8
sudo modprobe hdaps gives:
FATAL: Error inserting hdaps (/lib/modules/2.6.27-8-generic/kernel/drivers/hwmon/hdaps.ko): No such device or address

dmesg gives:
[ 2647.602141] hdaps: inverting axis readings.
[ 2647.602148] hdaps: LENOVO ThinkPad R61 detected.
[ 2647.602157] hdaps: driver init failed (ret=-6)!

sudo dmidecode output attached

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Yofel,

Care to open a new bug report as it appears you have a slightly different bug. We can see that your laptop is supported by the dmesg output of:

[ 2647.602148] hdaps: LENOVO ThinkPad R61 detected.

However, the driver init fails slightly later resulting in a return error of -ENXIO (No such device or address). Thanks.

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

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

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.