Linux distro with hdaps working?

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
crispinb
Posts: 11
Joined: Sat May 24, 2008 4:16 pm
Location: Brisbane, Australia

Linux distro with hdaps working?

#1 Post by crispinb » Sat May 24, 2008 7:53 pm

I have ubuntu hardy installed on my X40. For the most part I like it, but I haven't thus far been able to get the hdapsd and hdaps-utils packages to do anything (let alone get HD parking working, which is what I want).

Does anyone know if there's a linux distribution which might get this working without too much messing about?
Cheers,
CB.

crispinb
Posts: 11
Joined: Sat May 24, 2008 4:16 pm
Location: Brisbane, Australia

#2 Post by crispinb » Thu May 29, 2008 2:46 am

OK, I guess not.

In that case, has anyone here managed to get hdaps working with Ubuntu Hardy on an X40?
Cheers,
CB.

crispinb
Posts: 11
Joined: Sat May 24, 2008 4:16 pm
Location: Brisbane, Australia

#3 Post by crispinb » Thu May 29, 2008 6:20 pm

Right. Silence is good information! Knowing at least that people aren't succeeding diminishes the likely returns of my trying (with my limited knowledge).

Just to take one step down further: has anyone here managed to get hdaps working on an X40 using any linux distro?
Cheers,
CB.

whizkid
ThinkPadder
ThinkPadder
Posts: 1555
Joined: Wed Sep 29, 2004 1:40 pm
Location: Saint Paul, MN
Contact:

#4 Post by whizkid » Thu May 29, 2008 7:07 pm

Have you looked at thinkwiki.org?
Machine-Project: 750P, 600X, T42, T60, T400, X1 Carbon Touch

crispinb
Posts: 11
Joined: Sat May 24, 2008 4:16 pm
Location: Brisbane, Australia

#5 Post by crispinb » Thu May 29, 2008 7:17 pm

whizkid wrote:Have you looked at thinkwiki.org?
I have. There's some useful info there, but it's split across different articles that conflict somewhat, with little indication of what's the most recent info. As most of the mentions are of rather old kernels, I suspect it's all a bit out of date.

I guess what I wanted was to hear from someone that they've managed this with a recent version of some distro. I don't mind spending a bit of time researching and playing, if I'm reasonably sure that it's feasible.

Perhaps it's not really worth the effort-expenditure? AFAIK suspending the machine should park the HD heads, so hdaps is only relevant to unexpected impacts. But I admit to not knowing much about it.
Cheers,
CB.

aaa
ThinkPadder
ThinkPadder
Posts: 1062
Joined: Fri Jun 08, 2007 2:36 pm

#6 Post by aaa » Thu May 29, 2008 7:31 pm

Reason I never got the chance to do it is because my T40 doesn't support it. I thought it was just a matter of installing a utility? Anyways, I would not be surprised if the thinkwiki info is not in sync with Ubuntu 8.04, but it should do fine for the 7.x versions.

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#7 Post by lightweight » Tue Jun 03, 2008 3:03 am

It's really easy to build modules following the thinkwiki instructions. While this may be more work than you intended, you could also set kernel flags per lesswatts.org and your experimentation, if wanted.

(I have hdapsd from tp_smapi installed in 2.6.24, from source, on an x61s under Debian Experimental. I do have to force hdaps.ko to load.)
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

Whoopie
Posts: 6
Joined: Sun Apr 30, 2006 3:37 pm

#8 Post by Whoopie » Wed Jun 04, 2008 2:52 am

Hi,

did you try the hdaps_ec module which is shipped with the Ubuntu kernel? hdaps_ec is the advanced hdaps module which is included in the tp_smapi package.

Disk parking is only working if you apply the disk_protect patch and compile your own kernel.

Best regards,
Whoopie

crispinb
Posts: 11
Joined: Sat May 24, 2008 4:16 pm
Location: Brisbane, Australia

#9 Post by crispinb » Wed Jun 04, 2008 4:46 am

Whoopie wrote:Hi,

did you try the hdaps_ec module which is shipped with the Ubuntu kernel? hdaps_ec is the advanced hdaps module which is included in the tp_smapi package.

Disk parking is only working if you apply the disk_protect patch and compile your own kernel.

Best regards,
Whoopie
Right, thanks for the information.

I haven't tried anything at all as yet; just gathering information. I wanted to be sure that it's really possible before spending too much time on it. The only proof I'll really believe is when I hear that someone actually has it working on an X40 ;)
Cheers,
CB.

crispinb
Posts: 11
Joined: Sat May 24, 2008 4:16 pm
Location: Brisbane, Australia

#10 Post by crispinb » Wed Jun 04, 2008 4:51 am

Hey Whoopie -- I just looked at your thinkpads.com wiki page, and the great collection of patches etc for thinkpads. I'll have time to play with this stuff in a couple of weeks. Look forward to trying it all out.
Cheers,
CB.

tofu
Posts: 7
Joined: Fri Jun 06, 2008 1:12 pm
Location: Los angeles, California

#11 Post by tofu » Fri Jun 06, 2008 4:09 pm

My distribution is Arch Linux

I don't really know much about patching kernels and such, but someone on the AUR - user made packages - submitted the Thinkpad Kernel - and I use that.

It has the disk_protect patch applied and after you install it along with hdaps from another package, it works (or so I believe - I dont really know how to check)
Thinkpad T61 14.1" Widescreen / 2.4 Ghz 3 MB L2 Cache / 800 Mhz FSB / 100 GB 7200 RPM / Nvidia Quadro NVS 140M / 2 GB RAM / Windows XP / Arch Linux / Mac OS X Leopard

Leopard: No ethernet / No sound / No accelerated graphics

crispinb
Posts: 11
Joined: Sat May 24, 2008 4:16 pm
Location: Brisbane, Australia

#12 Post by crispinb » Fri Jun 06, 2008 4:36 pm

tofu wrote:My distribution is Arch Linux

I don't really know much about patching kernels and such, but someone on the AUR - user made packages - submitted the Thinkpad Kernel - and I use that.

It has the disk_protect patch applied and after you install it along with hdaps from another package, it works (or so I believe - I dont really know how to check)
OK that's interesting, thanks. I had been intending to give Arch a try sometime (when I can afford a day or two with a broken system!).
Cheers,
CB.

EarloftheWest
Posts: 29
Joined: Sun Mar 23, 2008 2:37 pm
Location: Portland, Oregon
Contact:

watching this thread

#13 Post by EarloftheWest » Tue Jun 10, 2008 1:44 am

crispinb,

Recompiling the kernel is where I got stuck.

Hard disk parking is one of those things that I want to get working. I looked at the site of the folks who build the disk parking utility and it looked like they were going to modify how it's done a bit.

The other thing I want is to get my wifi LED to work under Hardy Heron. Apparently the drivers been patched but I'm unsure how to update my kernel with it. I'm waiting for someone with more experience to write a howto before I give it another shot.
http://earlofthewest.blogspot.com/
Running the T61
Dual booting with Windows XP and Hardy Heron

crispinb
Posts: 11
Joined: Sat May 24, 2008 4:16 pm
Location: Brisbane, Australia

Re: watching this thread

#14 Post by crispinb » Tue Jun 10, 2008 2:20 am

EarloftheWest wrote:crispinb,

Recompiling the kernel is where I got stuck.

Hard disk parking is one of those things that I want to get working. I looked at the site of the folks who build the disk parking utility and it looked like they were going to modify how it's done a bit.
It'll be a while before I get to it (weeks), but if I get anywhere I'll document what I do and post here. It's years since I recompiled a kernel, but it was well-documented back then, and I imagine it's feasible with a bit of patience and method ;)
EarloftheWest wrote:
The other thing I want is to get my wifi LED to work under Hardy Heron. Apparently the drivers been patched but I'm unsure how to update my kernel with it. I'm waiting for someone with more experience to write a howto before I give it another shot.
Right. I haven't even figured out yet how to switch my wireless off (Fn-F5 doesn't work), which would be my first priority.
Cheers,
CB.

EarloftheWest
Posts: 29
Joined: Sun Mar 23, 2008 2:37 pm
Location: Portland, Oregon
Contact:

Fn +F5

#15 Post by EarloftheWest » Tue Jun 10, 2008 11:40 am

I just pressed the key combination and it turned off my Wireless. I'm using Hardy Heron on a T61.
I wonder why it's not working for you.
http://earlofthewest.blogspot.com/
Running the T61
Dual booting with Windows XP and Hardy Heron

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: axur-delmeria and 0 guests