Re: [patch] IBM HDAPS accelerometer driver.

Mikulas Patocka
2005-08-28T02:59:21Z

> Hi!
>
>> Of late I have been working on a driver for the IBM Hard Drive Active
>> Protection System (HDAPS), which provides a two-axis accelerometer and
>> some other misc. data. The hardware is found on recent IBM ThinkPad
>> laptops.
>>
>> The following patch adds the driver to 2.6.13-rc6-mm2. It is
>> self-contained and fairly simple.
>
> Do we really need input interface *and* sysfs interface? Input should be
> enough.

Hi!

I think he doesn't need to export it at all and he should write code to
park and disable hard disk instead.
(in userspace it's unsolvable --- i.e. you can't enable hard disk when
detected stable condition if the daemon is swapped out on that hard disk)

Mikulas