Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300715 - new ebuild: app-laptop/dellfand-0.9
Summary: new ebuild: app-laptop/dellfand-0.9
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Default Assignee for New Packages
URL: http://dellfand.dinglisch.net/
Whiteboard:
Keywords:
: 389967 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-12 12:38 UTC by Balazs Nemeth
Modified: 2011-11-10 04:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dellfand-0.9.ebuild (dellfand-0.9.ebuild,1.46 KB, text/plain)
2010-01-12 12:38 UTC, Balazs Nemeth
Details
gentoo-makefile.patch (gentoo-makefile.patch,291 bytes, patch)
2010-01-12 12:39 UTC, Balazs Nemeth
Details | Diff
dellfand.initd (dellfand.initd,755 bytes, text/plain)
2010-01-12 12:40 UTC, Balazs Nemeth
Details
backtrace.log (backtrace.log,250 bytes, text/plain)
2010-01-14 15:41 UTC, Balazs Nemeth
Details
dellfand-0.9.ebuild (dellfand-0.9.ebuild,1.74 KB, text/plain)
2011-11-10 04:29 UTC, Samuel Bauer
Details
dellfand-init (dellfand-init,473 bytes, text/plain)
2011-11-10 04:37 UTC, Samuel Bauer
Details
dellfand-init (dellfand-init,474 bytes, text/plain)
2011-11-10 04:40 UTC, Samuel Bauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balazs Nemeth 2010-01-12 12:38:28 UTC
"dellfand is a daemon for regulating the fan on certain Dell laptops. It requires Linux kernel 2.6.X. It is standalone, no special kernel module is required. The primary advantage is being able to browse in total silence (assuming your laptop's CPU is being throttled correctly)."

Notes:
- I have made an ebuild for dellfand. I have tested it on ~amd64. Probably it works on ~x86 as well.
- It has GPL-2 licence, and some parts have a personal licence which is also in the source tarball.
- I also created a gentoo specific initscript for it.
- There is no guarantee that this will work for you! Do as it's website says. "Do not use this software until you have read the disclaimer."

Why did I do this ebuild?

I have a Dell Studio 1535 laptop. The cpu cooling fan is quite noisy even when it's not necessary to be. This program works for me. There are other compatible dell laptops out there. The project's website notes some of them.
Comment 1 Balazs Nemeth 2010-01-12 12:38:59 UTC
Created attachment 216215 [details]
dellfand-0.9.ebuild
Comment 2 Balazs Nemeth 2010-01-12 12:39:57 UTC
Created attachment 216216 [details, diff]
gentoo-makefile.patch

remove chmod function from makefile, use fperms instead
also remove some echoed text, see pkg_postinst instead
Comment 3 Balazs Nemeth 2010-01-12 12:40:43 UTC
Created attachment 216218 [details]
dellfand.initd

Gentoo specific initscript for dellfand-0.9.
Comment 4 Balazs Nemeth 2010-01-14 15:40:55 UTC
After using this software for a while it crashes. rc-status reports its status as "crashed".

dmesg says:
dellfand[23477] general protection ip:400afc sp:7fff983c9468 error:0 in dellfand[400000+2000]

I have to restart my computer to make work it again.
Comment 5 Balazs Nemeth 2010-01-14 15:41:32 UTC
Created attachment 216509 [details]
backtrace.log

gdb backtrace
Comment 6 Ian Stakenvicius (RETIRED) gentoo-dev 2011-11-09 15:40:48 UTC
*** Bug 389967 has been marked as a duplicate of this bug. ***
Comment 7 Samuel Bauer 2011-11-10 04:29:25 UTC
Created attachment 292085 [details]
dellfand-0.9.ebuild

I merged the two ebuilds:

1/version from this post
2/version from duplicate

2/ was missing dependency
1/ do not fix makefile to use gentoo optimisation and default compiler (eclass toolchain-func)
2/ missing bofn-license-txt in documentation
1/ Allow any users to run the daemon (fperm)
1/ Use quite old ebuild syntax
1/ Do not fix source code to include <sys/stat.h> (may result in compile fail, see website)
Comment 8 Samuel Bauer 2011-11-10 04:37:14 UTC
Created attachment 292087 [details]
dellfand-init

init runscript:
1/ from this post
2/ from duplicate post

2/ Use variable like in 1/

No major difference just use a pid file
Comment 9 Samuel Bauer 2011-11-10 04:40:01 UTC
Created attachment 292089 [details]
dellfand-init

typo