Hi, I've written a init script for hpfall daemon (based on hdapsd init script). It tests kernel dependencies, loads lis3lv02d module and allows daily basis usage. (I've been using it for half a year and didn't have any problems)
Created attachment 307931 [details] linux-misc-apps-3.1-r1.ebuild
Created attachment 307933 [details] files/hpfall.init
Created attachment 307935 [details] files/hpfall.conf
Comment on attachment 307931 [details] linux-misc-apps-3.1-r1.ebuild --- linux-misc-apps-3.1.ebuild 2011-11-01 10:06:05.000000000 +0100 +++ - 2012-04-06 16:46:12.138886229 +0200 @@ -158,6 +158,9 @@ dosbin ${dir}/${target} || die done + newconfd ${FILESDIR}/hpfall.conf hpfall + newinitd ${FILESDIR}/hpfall.init hpfall + local karch=$(kernel_asm_arch "${ARCH}") cd "${S}"/tools/power/cpupower cpupower_make ARCH=${karch} DESTDIR="${D}" install || die
Created attachment 308011 [details] files/hpfall.init
Created attachment 308155 [details] files/hpfall.init It's actually hp_accel module that needs to be loaded in recent kernels (since 2009). lis3lv02d is it's dependency. Sorry, my mistake. Also thanks for fixing my report, I haven't done it before.
Created attachment 308163 [details] files/hpfall.init Ok I'm making a fool of myself but this is the price for not testing properly after making changes.
3.6 in tree with this.