Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

  1. #11
    Join Date
    May 2011
    Beans
    80
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

    Quote Originally Posted by chasetoys View Post
    followed instructions but now i see:

    'LilArooni ~/tp-smapi-0.40: sudo modprobe tp_smapi
    FATAL: Error inserting tp_smapi (/lib/modules/2.6.38-8-generic/updates/dkms/tp_smapi.ko): No such device"


    LilArooni ~/tp-smapi-0.40: sudo modprobe hdaps
    FATAL: Error inserting hdaps (/lib/modules/2.6.38-8-generic/updates/dkms/hdaps.ko): No such device
    LilArooni ~/tp-smapi-0.40:

    .. any ideas what to do now? t420 with 11.04 here.
    you need to patch tp_smapi first, and rebuild the module.

    1. install tp_smapi sources: 'sudo apt-get install tp-smapi-dkms'

    2. edit the file at /usr/src/tp-smapi-0.40/thinkpad_ec.c, add the following line at line 463:
    TP_DMI_MATCH("LENOVO", "ThinkPad T420"),

    3. remove the installed kernel module: 'sudo dkms remove -m tp-smapi -v 0.40 -k $(uname -r)'

    4. build the kernel module with modified sources: 'sudo dkms build -m tp-smapi -v 0.40 -k $(uname -r)'

    5. install new built kernel module: 'sudo dkms install -m tp-smapi -v 0.40 -k $(uname -r)'

    6. load the new installed kernel module: 'sudo modprobe tp-smapi'

  2. #12
    Join Date
    Sep 2008
    Location
    Bangalore, India
    Beans
    35
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Question Re: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

    Hi, I am trying to use tp_smapi on my ThinkPad Edge 15, I did the patching and building as detailed, but I still get the error-

    Code:
    shaan@shaan-laptop:~/Desktop/tp-smapi$ sudo modprobe tp_smapi 
    FATAL: Error inserting tp_smapi (/lib/modules/2.6.38-10-generic-pae/updates/dkms/tp_smapi.ko): No such device or address
    I tried both TP_DMI_MATCH("LENOVO", "ThinkPad Edge15") and TP_DMI_MATCH("LENOVO", "ThinkPad Edge 15").

    Any suggestions?

  3. #13
    Join Date
    May 2011
    Beans
    80
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

    I posted a status summary about Natty on T420:

    http://ubuntuforums.org/showthread.php?t=1816071

    greetings,
    jonas

  4. #14
    Join Date
    May 2011
    Location
    Yogyakarta
    Beans
    7
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

    Quote Originally Posted by jhahoneyk View Post
    Hi, I am trying to use tp_smapi on my ThinkPad Edge 15, I did the patching and building as detailed, but I still get the error-

    Code:
    shaan@shaan-laptop:~/Desktop/tp-smapi$ sudo modprobe tp_smapi 
    FATAL: Error inserting tp_smapi (/lib/modules/2.6.38-10-generic-pae/updates/dkms/tp_smapi.ko): No such device or address
    I tried both TP_DMI_MATCH("LENOVO", "ThinkPad Edge15") and TP_DMI_MATCH("LENOVO", "ThinkPad Edge 15").

    Any suggestions?
    Hi, could you just download the attached file? Then do:
    Code:
    sudo aptitude remove tp-smapi-dkms
    Next extract the file and install the extracted file:
    Code:
    sudo dpkg -i tp-smapi-dkms_0.40-9_all.deb
    Tell me if it's working.
    Last edited by le_gudeg; August 26th, 2011 at 04:29 AM.

  5. #15
    Join Date
    May 2010
    Beans
    4

    Re: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

    [Deleted]
    Last edited by jkrez; September 7th, 2011 at 07:06 PM. Reason: [Deleted]

  6. #16
    Join Date
    Aug 2011
    Beans
    1

    Re: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

    How to know it's really working well?

  7. #17
    Join Date
    Jul 2007
    Beans
    4

    Re: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

    Great HDAPS instructions, worked like a charm.

    Thinkpad T520
    Ubuntu 11.10
    tp_smapi is at 0.41 now.

    The tp_whitelist in 0.41 now contains an entry for ("LENOVO", "ThinkPad"). I took a guess and added ("IBM", "ThinkPad T520") and ("LENOVO", "ThinkPad T520"). I don't know if this change was necessary, I don't know which of those two, if any, are correct, I don't know if it works without this modification -- I didn't try it. =) But, for reference, mine is:

    Code:
    	struct dmi_system_id tp_whitelist[] = {
    		TP_DMI_MATCH("IBM", "ThinkPad A30"),
    		TP_DMI_MATCH("IBM", "ThinkPad T23"),
    		TP_DMI_MATCH("IBM", "ThinkPad X24"),
    		TP_DMI_MATCH("IBM", "ThinkPad T520"), /* added */
    		TP_DMI_MATCH("LENOVO", "ThinkPad"),
    		TP_DMI_MATCH("LENOVO", "ThinkPad T520"), /* added */
    		{ .ident = NULL }
    	};
    I did have to install debhelper, quilt, and dkms -- they all worked as-is.

    Thanks again!

  8. #18
    Join Date
    Jul 2007
    Beans
    4

    Re: Ubuntu 11.04 on Thinkpad T420 with HDAPS Working

    Quote Originally Posted by adnanyumer View Post
    How to know it's really working well?
    Do "find /" and watch it stop when you bump the machine.

    As for working well... I suppose you could take two identical ThinkPads, load hdaps on one of them, and count how many times you need to throw each one down the stairs before the hard drive crashes. If all goes well, you should get a few more tosses out of the one with hdaps.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •