Re: [PATCH] SMM BIOS on Dell i8100

Stephane Jourdois (stephane@tuxfinder.org)
Wed, 7 Nov 2001 11:13:39 +0100


--ReaqsoxgOBHFXBhH
Content-Type: text/plain; charset=unknown-8bit
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 07, 2001 at 11:01:41AM +0100, Marcel J.E. Mol wrote:
> Maybe this is better:
>=20
> 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 @@
>=20
> DPRINTF("exec_cmd: %s\n", cmd);
>=20
> if ((rc=3Dfork()) < 0) {
> perror("fork failed");
> return;
> }
> =20
> if (rc =3D=3D 0) {
> execl("/bin/sh", "sh", "-c", cmd, NULL);
> exit(0);
> }
> + else
> + wait(&rc);
> }
> =20
> It get rid of the zombies and allows only one setmixer/auimix command
> to be active at a time...

Yup I did that on i8kutils-1.1, then reverted to system(), because I
removed the anti-repeat system, and used a slow mixer application. Then
the repeat was bad (sometimes slow, sometimes quick).
In fact, I don't really mind, as now I use aumix (and it is fast
enought).

Massimo, choose one please :-)

Stephane

--=20
/// Stephane Jourdois /"\ ASCII RIBBON CAMPAIGN \\\
((( Ing=E9nieur d=E9veloppement \ / AGAINST HTML MAIL )))
\\\ 6, av. de la Belle Image X ///
\\\ 94440 Marolles en Brie / \ +33 6 8643 3085 ///

--ReaqsoxgOBHFXBhH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjvpCVMACgkQk2dpMN4A2NPVMgCggZCjnQJ3C/OgJrj382d1FO2L
AAIAnRYtafWJFhz2Of+3OOtmbdB1xBZd
=tokU
-----END PGP SIGNATURE-----

--ReaqsoxgOBHFXBhH--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/