From: "Marcel J.E. Mol" <marcel@mesa.nl>
To: Stephane Jourdois <stephane@tuxfinder.org>
Cc: Massimo Dal Zotto <dz@cs.unitn.it>,
LKLM <linux-kernel@vger.kernel.org>,
Juri Haberland <juri@koschikode.com>
Subject: Re: [PATCH] SMM BIOS on Dell i8100
Date: Wed, 7 Nov 2001 11:01:41 +0100 [thread overview]
Message-ID: <20011107110141.C29983@joshua.mesa.nl> (raw)
In-Reply-To: <20011105231759.02B541195E@a.mx.spoiled.org> <200111061645.RAA02115@fandango.cs.unitn.it> <20011107104405.A3168@emeraude.kwisatz.net>
In-Reply-To: <20011107104405.A3168@emeraude.kwisatz.net>; from stephane@tuxfinder.org on Wed, Nov 07, 2001 at 10:44:05AM +0100
Maybe this is better:
diff -u i8kutils-1.2.orig/i8kbuttons.c i8kutils-1.2/i8kbuttons.c
--- i8kutils-1.2.orig/i8kbuttons.c Tue Nov 6 20:07:27 2001
+++ i8kutils-1.2/i8kbuttons.c Tue Nov 6 20:11:19 2001
@@ -53,15 +53,17 @@
DPRINTF("exec_cmd: %s\n", cmd);
if ((rc=fork()) < 0) {
perror("fork failed");
return;
}
if (rc == 0) {
execl("/bin/sh", "sh", "-c", cmd, NULL);
exit(0);
}
+ else
+ wait(&rc);
}
It get rid of the zombies and allows only one setmixer/auimix command to be
active at a time...
On Wed, Nov 07, 2001 at 10:44:05AM +0100, Stephane Jourdois wrote:
> On Tue, Nov 06, 2001 at 05:45:13PM +0100, Massimo Dal Zotto wrote:
> > I have released version 1.2 of the driver. It contains Stephane's patches
> > for the I8100, a new i8kmon and some documentation. You can download from:
> > http://www.debian.org/~dz/i8k/
>
> Hello,
>
> Here is my patch to i8kutils-1.2 :
>
> ======
> diff -u i8kutils-1.2.orig/i8kbuttons.c i8kutils-1.2/i8kbuttons.c
> --- i8kutils-1.2.orig/i8kbuttons.c Tue Nov 6 20:07:27 2001
> +++ i8kutils-1.2/i8kbuttons.c Tue Nov 6 20:11:19 2001
> @@ -53,15 +53,7 @@
>
> DPRINTF("exec_cmd: %s\n", cmd);
>
> - if ((rc=fork()) < 0) {
> - perror("fork failed");
> - return;
> - }
> -
> - if (rc == 0) {
> - execl("/bin/sh", "sh", "-c", cmd, NULL);
> - exit(0);
> - }
> + system(cmd);
> }
>
> static int
> ======
>
> Without that, I get as much zombies processes as I have pressed the
> volume buttons :-) I know system() is not great, but as security is not
> a problem here...
> I use debian/sid, and aumix as the mixer.
>
>
> Now a fundamental question :
> Does the load of the i8k module inhibits the fans start ? I can see my
> processor temp increasing (I saw 80°C ...) without the fans start. Then
> I started i8kmon to avoid an explosion. If the modules inhibits material
> protections, then if that can be modified, it would be great ; if not,
> i8kmon needs to get included in the kernel as a daemon. The i8kmon
> should be a funny tool, not a system critical tool.
>
> Also, I couldn't understand why sometimes the left fan is printed on red
> color in i8kmon...
>
>
> Thank you,
>
> Stephane
>
>
> --
> /// Stephane Jourdois /"\ ASCII RIBBON CAMPAIGN \\\
> ((( Ingénieur développement \ / AGAINST HTML MAIL )))
> \\\ 6, av. de la Belle Image X ///
> \\\ 94440 Marolles en Brie / \ +33 6 8643 3085 ///
--
======-------- Marcel J.E. Mol MESA Consulting B.V.
=======--------- ph. +31-(0)6-54724868 P.O. Box 112
=======--------- marcel@mesa.nl 2630 AC Nootdorp
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____
They couldn't think of a number, Linux user 1148 -- counter.li.org
so they gave me a name! -- Rupert Hine -- www.ruperthine.com
next prev parent reply other threads:[~2001-11-07 10:02 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-05 9:03 Stephane Jourdois
2001-11-05 16:03 ` Jeff Garzik
2001-11-05 16:35 ` Stephane Jourdois
2001-11-05 23:17 ` Juri Haberland
2001-11-06 12:24 ` Stephane Jourdois
2001-11-06 16:45 ` Massimo Dal Zotto
2001-11-06 17:09 ` Juri Haberland
2001-11-06 22:46 ` Marcel J.E. Mol
2001-11-07 9:44 ` Stephane Jourdois
2001-11-07 10:01 ` Marcel J.E. Mol [this message]
2001-11-07 10:13 ` Stephane Jourdois
2001-11-07 14:21 ` Massimo Dal Zotto
2001-11-07 10:27 ` Massimo Dal Zotto
2001-11-07 10:29 ` David Woodhouse
[not found] ` <20011105130954.A24310@joshua.mesa.nl>
2001-11-05 17:01 ` Stephane Jourdois
2001-11-05 17:20 ` Marcel J.E. Mol
2001-11-05 17:37 ` Stephane Jourdois
2001-11-05 21:52 ` Marcel J.E. Mol
2001-11-05 19:00 ` Georg Nikodym
2001-11-06 13:58 ` Stephane Jourdois
2001-11-08 18:14 Massimo Dal Zotto
2001-11-09 12:34 ` Stephane Jourdois
2001-11-09 14:57 ` Massimo Dal Zotto
[not found] <12948.1005329220@redhat.com>
2001-11-09 18:57 ` Massimo Dal Zotto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011107110141.C29983@joshua.mesa.nl \
--to=marcel@mesa.nl \
--cc=dz@cs.unitn.it \
--cc=juri@koschikode.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stephane@tuxfinder.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®