lkml.org 
[lkml]   [2009]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: HP accelerometer driver: testers wanted
Date
On Friday 23 January 2009, Frans Pop wrote:
> The LED lights up yellow, but I have problems telling if the disk gets
> parked or not. One time I got a green led and seemingly a fair amount
> of activity immediately after getting the yellow led.
>
> After looking at hpfall.c, I checked /sys/block/sda/device/unload_heads
> after a drop:
> $ cat /sys/block/sda/device/unload_heads
> 19616
> $ cat /sys/block/sda/device/unload_heads
> 0
>
> The last was at most 2 seconds after the first, certainly not 20...

I've just looked at hpcall.c a bit closer and I guess that's because of
the alarm(2) call? I must admit having some problems reading that code.


\
 
 \ /
  Last update: 2009-01-23 10:01    [W:0.156 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site