[ltp] can someone share his kernel for aps?

Henrique de Moraes Holschuh linux-thinkpad@linux-thinkpad.org
Fri, 22 Jun 2007 22:40:51 -0300


On Sat, 23 Jun 2007, Adam Sloboda wrote:
> > On Fri, 22 Jun 2007, Adam Sloboda wrote:
> > > some impact on power consumption.  Has anyone successfully lowered
> > > it?
> > 
> > AFAIK, no.
> > 
> > > Or is there any solution?
> > 
> > Decreasing HDAPS poll frequency decreases its hability to detect
> > shocks in time to unload heads before a major crash.
> 
> I know but I get two wakeups for every update -- one from hdaps and one
> from hdapsd.  It's not very effective to wake up twice every time.  Do

Yeah, that one *can* be fixed.  But it requires someone actually working on
the hdaps kernel code, switching it to an input device, teaching hdapsd
about poll/epoll/select (whatver /dev/input would accept), etc.

Maybe I will do it if I ever get bored with thinkpad-acpi, but it will take
at least three more stable kernels before I get rid of all of the
thinkpad-acpi backlog queue :(

> you know why it is not possible (or is it?) to read the sensors only
> when accessed by hdapsd (or other software)? (I haven't tried Matthew
> Garret's patch at http://www.linuxpowertop.org/known.php#hdaps but that
> should stop interrupts only when nobody cares)

It is pretty possible to only bother the EC when someone is actually using
hdaps, and it is also possible to even turn off hdaps in the firmware itself
when you don't need it.

But someone needs to write the code, and to do that, someone needs to step
up as the kernel hdaps maintainer.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh