First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 17022
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Hanno Boeck <hanno@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Evan Teran <eteran@alum.rit.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
i8kutils-rc.tgz init script and config file supporting i8kbuttons and i8kmon application/octet-stream Frank Szczerba 2003-05-04 17:34 0000 948 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 17022 depends on: Show dependency tree
Show dependency graph
Bug 17022 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-07 06:55 0000
the i8kutils are useful for dell laptops, and there is a i8kmon utility which
when run as a deamon will auto-manage the fan speeds on such laptops.  It would
be very nice if an init script (example provided) would be added to the ebuild
so any user can have there system setup to have the fans work as they should
automatically :)

This script seems to work pretty nicely, but i like to go with "official" ones ;)

proxy

----------cut----------
#!/sbin/runscript

depend() {
	need localmount
}

checkconfig() {
	if [ ! -e /proc/i8k ] ; then
		eerror "i8k support has not been compiled into the kernel"
		return 1
	fi
}

start() {
	checkconfig || return 1
	ebegin "Starting i8kd"
	start-stop-daemon --start --quiet --background --make-pidfile --pidfile
/var/run/i8k.pid --exec /usr/bin/i8kmon -- -d
	eend $?
}

stop() {
	ebegin "Stopping i8kd"
	start-stop-daemon --stop --quiet --pidfile /var/run/i8k.pid
	eend $?
}
----------end cut----------

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Eric Johanson 2003-04-24 14:00:09 0000 -------
I don't trust the i8k to manage my fans, however, it does a sweet job of
assiging my buttons to control volume. 

Here is my shot at an init script to set this up.  It requires aumix. 

start() {
        ebegin "Starting i8kbuttons"
        start-stop-daemon --start --quiet --pidfile /var/run/i8kbuttons.pid -b
\
                --startas /usr/bin/i8kbuttons -- -u 'aumix -v +4' -d 'aumix -v
-4'
        eend $?
}

stop() {
        ebegin "Stopping i8kbuttons"
        start-stop-daemon --stop --quiet --pidfile /var/run/i8kbuttons.pid
        eend $?
}

------- Comment #2 From Frank Szczerba 2003-05-04 17:34:40 0000 -------
Created an attachment (id=11484) [edit]
init script and config file supporting i8kbuttons and i8kmon

The attached script and config file supports both i8kbuttons and i8kmon. Either
one can be disabled from the config file. Sample configuration values are given
for use with ALSA (my configuration) and aumix (copied from chadh's post). I
have tested this on a Dell Latitude C400 running Gentoo 1.4_rc4.

------- Comment #3 From Hanno Boeck 2003-12-04 11:15:46 0000 -------
added

------- Comment #4 From Jaime Martin 2004-08-18 04:43:56 0000 -------
The init script and config file don't appear if I install i8kutils_1.17:

$qpkg -l i8kutils
app-laptop/i8kutils-1.17 *
CONTENTS:
/usr
/usr/bin
/usr/bin/i8kbuttons
/usr/bin/i8kctl
/usr/bin/i8kfan -> /usr/bin/i8kctl 1092821608
/usr/bin/i8kmon
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/i8kbuttons.1.gz
/usr/share/man/man1/i8kctl.1.gz
/usr/share/man/man1/i8kmon.1.gz
/usr/share/doc
/usr/share/doc/i8kutils-1.17
/usr/share/doc/i8kutils-1.17/examples
/usr/share/doc/i8kutils-1.17/examples/40custom_load-xmodmap.gz
/usr/share/doc/i8kutils-1.17/examples/i8k.def.gz
/usr/share/doc/i8kutils-1.17/examples/setmixer.sh.gz
/usr/share/doc/i8kutils-1.17/examples/Xmodmap.gz
/usr/share/doc/i8kutils-1.17/README.i8kutils.gz
/usr/share/doc/i8kutils-1.17/i8kmon.conf.gz

 Why not are they included?

First Last Prev Next    No search results available      Search page      Enter new bug