Hi Evgeni,
Thanks for your quick answer!
I indeed was using in-kernel hdaps. I compiled tp-smapi with
module-assistant, load it, and execute the daemon, and hdaps-gl started
working inmediately. It would be great if a warning of that kind could
be made explicit somewhere.
Afterwards I compiled the patched kernel and the protect seems to be
working as well... well, not quite everything since I only get "head
parked.." and "No pending I/O, re-enabling power management.." messages,
but not "head unparked..." messages. Is this expected?
Looking forward to have all of this working out-of-the-box!
Excellent work! Thank you!
Patricio
On Thu, 2008-02-28 at 21:01 +0100, Evgeni Golov wrote:
> Hi Patricio,
>
> On Thu, 28 Feb 2008 13:09:50 -0300 Patricio Rojo wrote:
>
> > I'm running Debian sid with kernel 2.6.24 on a Thinkpad X60 Tablet. I
> > tried using hdaps according to instructions on
> > http://www.thinkwiki.org/wiki/Installing_Debian_Etch_on_a_ThinkPad_Z60m#Active_Protection_System
> >
> > The packages hdaps-utils and hdapsd install fine, and the module loads
> > all right with the following message in /var/log/syslog:
> >
> > Feb 28 12:57:39 thrapi kernel: hdaps: inverting axis readings.
> > Feb 28 12:57:39 thrapi kernel: hdaps: LENOVO ThinkPad X60 detected.
> > Feb 28 12:57:39 thrapi kernel: input: hdaps as /class/input/input10
> > Feb 28 12:57:39 thrapi kernel: hdaps: driver successfully loaded.
>
> I assume you are using the in-kernel hdaps module? Did you try the
> tp-smapi one? (You can get it in the tp-smapi-source package in Debian,
> but have to build it on your own). Does hdaps-gl show you a moving
> laptop? Do you have patched your kernel according
> to /usr/share/doc/hdapsd/README.Debian? Yeah, lot of open questions :)
>
> > However, the daemon fails to start giving:
> > WARNING: Cannot open hdaps position input file
> > /dev/input/hdaps/accelerometer-event (No such file or directory). You
> > may be using an incompatible version of the hdaps module, or missing the
> > required udev rule. Falling back to reading the position from sysfs
> > (uses more power). Use '-y' to silence this warning.
>
> Does it really fail? This is just a warning, saying it uses an old way
> of reading the position. It still should work.
>
> > I added the option '-v' in /etc/default/hdapsd and shaked the laptop
> > to see if it was working anyways but I get no related message in
> > /var/log/syslog.
>
> Can you try to start it without the init-script? Just call
> hdapsd -d sda -s 15 -v
> This should generate a lot of output :)
>
> Regards
> Evgeni
>
--
----------------------------------------------------------------
. . /. Patricio Rojo
. * /`'\ . Departamento de Astronomia
. / ./ \.. Universidad de Chile
../ .' \. Casilla 36-D
../ / ../ \ Santiago, Chile
./ ./ ./ \ 56(2)977-1136
./ ./ \ \. Fax: 56(2)229-3973
----------------------------------------------------------------
http://www.gnu.org/philosophy/no-word-attachments.html
signature.asc
Description: This is a digitally signed message part

