Package Details: hpfall-git r5.be24a8b-2

Git Clone URL: https://aur.archlinux.org/hpfall-git.git (read-only, click to copy)
Package Base: hpfall-git
Description: Disk protection for HP machines.
Upstream URL: https://github.com/srijan/hpfall.git
Licenses: GPL2
Submitter: ewaller
Maintainer: ewaller
Last Packager: ewaller
Votes: 6
Popularity: 0.001759
First Submitted: 2015-08-28 19:26
Last Updated: 2018-07-20 23:28

Latest Comments

digital_mystik commented on 2019-09-07 22:25

Hello,

I am not sure what I am doing wrong but the systemd service fails to start. I have followed the wiki entry by making the required conf file.

I have also tried enabling hp_accel with modprobe, adding a conf file to modules-load.d for automatic loading, and doing the mkinitcpio entry as mentioned here and reinstalling the kernel. No luck in getting it running. The GitHub page does not have information on how to get it running; any suggestions?

leonardof commented on 2017-12-30 02:58

@ewaller, dmesg says: "Configuration file /usr/lib/systemd/system/hpfall.service is marked executable. Please remove executable permission bits. Proceeding anyway." Indeed, this is the only executable service file in the directory. You might want to change the second "install -Dm755" to "install -Dm644".

leonardof commented on 2017-12-30 02:54

@vlamnire0, I solved that adding hp_accel to MODULES in /etc/mkinitcpio.conf, running mkinitcpio again (I'm lazy so I just reinstall the kernel) and rebooting.

ewaller commented on 2017-12-13 15:54

I have been out of the county for a few days. I will look at this in the next couple days after I get caught up at $DAYJOB

vlamnire0 commented on 2017-12-11 15:15

Sometimes this service fails on startup.

hpfall.service - HP laptop freefall disk protection daemon Loaded: loaded (/usr/lib/systemd/system/hpfall.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2017-12-11 09:03:25 CST; 11min ago Process: 397 ExecStart=/usr/bin/hpfall (code=exited, status=1/FAILURE)

Dec 11 09:03:24 laptop systemd[1]: Starting HP laptop freefall disk protection daemon... Dec 11 09:03:24 laptop hpfall[397]: /dev/freefall: No such file or directory Dec 11 09:03:25 laptop systemd[1]: hpfall.service: Control process exited, code=exited status=1 Dec 11 09:03:25 laptop systemd[1]: hpfall.service: Failed with result 'exit-code'. Dec 11 09:03:25 laptop systemd[1]: Failed to start HP laptop freefall disk protection daemon.

After log in, I can run ls /dev/ | grep freefall and the device does exist and I can restart the service just fine. Is there something that can be added to the service file to wait until this device is available? Maybe something like this: https://unix.stackexchange.com/questions/186899/how-to-wait-for-a-dev-video0-before-starting-a-service