Dockapps.org

 you are here: dockapps.org    dockapp details   categories | add dockapp | contact us | about 
 wmfire
 miniCHESS
 GAI Blob
 wmmisc
 WMiNet
 WMsupermon
 wmmldonkey
 wmalbum
wmhdaps

Category: General / Others
Rate it!
Current Rating Average: 0
Rate:   
Maintainer: phg
Description: The goal of wmhdaps is to provide a tool
for configuration of the Harddisk Active Protection System (HDAPS)
found in some R/G/T thinkpad models. HDAPS is realized as
an acceleration sensor mounted on systemboard and a
userspace tool which detects based on acceleration values from sensor
shocks and freezes the harddrive(s) until the "shock" is over.

In the current version 0.02 actually is only able
to visualize the movements of the notebook as a 3D model based
on the acceleration values read from sensor.

Screenshots:
0.02 0.03 0.04

Available Versions:

Date Author Changelog Download Delete
2005-10-23 04:43:33 Pezhman Givy not available 0.02
2006-04-11 05:10:24 Pezhman Givy 0.03 0.03
2006-05-01 05:11:38 Pezhman Givy 0.04 0.04

Add a new Version of this Dockapp

You may add a new (or even old) version of this dockapp by using the link above. This way we can be sure that this application will be available even if the project's homepage goes down (did that ever happen to you? :)).


User Comments

Patch for display hdd lock at recent kernels
posted by Aliaksei (logged user) - 2009-02-26 00:47:26

There is no response from author, so I put patch for restore "display hdd lock" functionality here. (kerenl >=2.6.28, or hdaps patch http://cache.gmane.org/gmane/linux/drivers/hdaps/devel/1393-001.bin)

--- wmhdaps.c.orig 2006-05-01 13:04:01.000000000 +0300
+++ wmhdaps.c 2009-02-24 20:00:09.000000000 +0200
@@ -279,8 +279,8 @@


memset(buf, 0, sizeof(buf));
-
- sprintf(filename, "/sys/block/%s/queue/protect", device);
+
+ sprintf(filename, "/sys/block/%s/device/unload_heads", device);
if(stat(filename, &statbuf)) return 0;

fd = open (filename, O_RDONLY);
@@ -293,10 +293,6 @@
if (ret < 0) {
perror ("read");
goto out;
- } else if (ret == 0) {
- fprintf (stderr, "error: unexpectedly read zero!\n");
- ret = 1;
- goto out;
}

ret = atoi(buf);

Post your comments here!
Name:
Email:
Title:
Comment:


NOTE: Signup or login to post comments.
 :: search & view ::

 :: community ::

 :: member profile ::

Edge

 :: active members ::
  • nobody
  • Thomas Nemeth
  • Jean-Philippe Guillemin
  • anomie
  • mattlaabs
  • Anthony Peacock
  • Alan Swanson
  • Draghicioiu Mihai
  • yokk
  • Aliaksei
  •  :: links ::
  • Window Maker
  • WMApp C++ Dockapp Graphics Library

  • Generated in 0.0800 seconds