You are not logged in.

#1 2015-08-29 00:07:58

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,638

HP Disk Protection (hpfall)

First, I have to admit i have committed a bit of a faux pas here, but it is what it is....

I had found a program that uses the accelerometers in an HP laptop and, in the even a drop event is detected, will park the disk heads on the way down.

I've created a new AUR package for it, but then I found out that hpfall-git had existed in the last incarnation of the AUR and did not migrate to AUR4.
As such, this package is new and is not based on the former package of the same name.   They are similar.  Mine is patched to log events to the system log.  The previous one had a config file in /etc.  I was not that clever.  The problem is that it my implementation, unfortunately, causes the wiki page (that I also had not known about) to be wrong.  Sorry.  If anyone needs the functionality to support a disk aside from /dev/sda let me know and I'll see what I can do. I believe that just about anyone using this program is not going to have anything but /dev/sda.

Both my version and the old version do include systemd service files.   Anyway, it does work well.  All it takes is about a 10 cm drop and the protection light comes right on.  And the event shows up in the journal.   smile
My thanks to the maintainer of the old package that was not migrated.  As this was a re-write from scratch, I did not include them as a contributor.

Last edited by ewaller (2015-09-01 14:56:38)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB