Re: is there any Hard-disk shock-protection for 2.6.18 and above?
From: Shem Multinymous
Date: Thu Nov 30 2006 - 12:48:40 EST
On 11/30/06, Pavel Machek <pavel@xxxxxx> wrote:
> >Does hdaps work for you, btw? It gave all zeros on my x60, iirc.
>
> Yes, vanilla hdaps is broken. It blindly issues commands to the
> embedded controller without following the protocol or checking the
> status. The patched version in the tp_smapi package fixes it.
Is there a way to extract minimal patch? ...the kind that is trivial
enough so that akpm does accepts it...?
I can't think of any such trivial fix. My submitted code includes a
whole new driver, thinkpad_ec, just to get the (fully documented!) EC
protocl right. You could strip a few code paths which hdaps doesn't
invoke, but it's hard to see how you can get away with much less
except by making unwarranted assumptions about the hardware and its
timing characteristics.
Shem
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/