From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NhMqx-0008TX-7M for mharc-grub-devel@gnu.org; Tue, 16 Feb 2010 07:48:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NhMqv-0008Se-5c for grub-devel@gnu.org; Tue, 16 Feb 2010 07:48:33 -0500 Received: from [140.186.70.92] (port=56722 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NhMqu-0008SD-Jg for grub-devel@gnu.org; Tue, 16 Feb 2010 07:48:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhMqt-0005Q3-Or for grub-devel@gnu.org; Tue, 16 Feb 2010 07:48:32 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:54662) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhMqt-0005Px-It for grub-devel@gnu.org; Tue, 16 Feb 2010 07:48:31 -0500 Received: by fxm7 with SMTP id 7so6257382fxm.8 for ; Tue, 16 Feb 2010 04:48:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type; bh=tsUwiXihCHgnbo4V6K+on97QDsZQWg/HILZSj/JRqIo=; b=aLk20Faxrbu6egh6YZa3/WoUXx5o/BRkHl6XPPu2vhYvvoy4WulsXpQtayiA07IF/5 3YS+E8AiO6Oq592TmWpvQrWttEV/qn4myTUgfivO/d70yu+LAszKeRjCG5Bspjp0vW56 NQ8/JXx1r5TRXuMueZlzWqrdi/v5exYCS8fIA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; b=GExKfuy5/bxDfLtXpdXcbGOTachTycdsG0lIhjAL3M0IMYANYmfbf0QPKOFKUCWE77 1d/GP6zRvzGFAuqM5SwqV0NMV8yyL413stF6iKD8cHV4kXNuH5eKUzcheKaduBE5RqvL D8QhjbtSKb9KP8gQGv0Zg8f4O/EXb3PLmgUGM= Received: by 10.87.62.39 with SMTP id p39mr11555146fgk.9.1266324510643; Tue, 16 Feb 2010 04:48:30 -0800 (PST) Received: from debian.bg45.phnet ([81.62.76.105]) by mx.google.com with ESMTPS id l19sm8722061fgb.5.2010.02.16.04.48.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Feb 2010 04:48:29 -0800 (PST) Message-ID: <4B7A9418.5050106@gmail.com> Date: Tue, 16 Feb 2010 13:48:24 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109) MIME-Version: 1.0 To: The development of GNU GRUB References: <20100202130916.GH6401@const.bordeaux.inria.fr> <1265119787.2605.2.camel@fz.local> <20100202230043.GA7619@const.famille.thibault.fr> <4B6C4CB2.1040805@gmail.com> <20100205181118.GE5621@const.c.hospitality.swisscom.com> <20100214180939.GS4975@const.famille.thibault.fr> In-Reply-To: <20100214180939.GS4975@const.famille.thibault.fr> X-Enigmail-Version: 0.95.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig6280CE35A9BFAA73B1889EA7" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: beep support? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2010 12:48:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6280CE35A9BFAA73B1889EA7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Samuel Thibault wrote: > Samuel Thibault, le Fri 05 Feb 2010 19:11:18 +0100, a =C3=A9crit : > =20 >> Vladimir '=CF=86-coder/phcoder' Serbinenko, le Fri 05 Feb 2010 17:52:0= 2 +0100, a =C3=A9crit : >> =20 >>> Could you detail at which events beep should be produced and propose = a >>> patch to add appropriate hooks? >>> =20 >> A beep just when the menu is first drawn is already a good thing and i= s >> trivial to add by just calling play in the main menu. >> =20 > > Here is a proposed patch. Is the GRUB_INIT_TUNE variable name Ok? > > =20 This is small clean patch and it improves accessibility. Please go ahead.= > Samuel > > 2010-02-14 Samuel Thibault > > * util/grub-mkconfig.in: Export GRUB_INIT_TUNE. > * util/grub.d/00_header.in: Handle GRUB_INIT_TUNE. > > --- util/grub-mkconfig.in 2010-02-10 18:53:13 +0000 > +++ util/grub-mkconfig.in 2010-02-14 18:05:11 +0000 > @@ -222,7 +222,8 @@ export GRUB_DEFAULT \ > GRUB_GFXMODE \ > GRUB_THEME \ > GRUB_GFXPAYLOAD_LINUX \ > - GRUB_DISABLE_OS_PROBER > + GRUB_DISABLE_OS_PROBER \ > + GRUB_INIT_TUNE > =20 > if test "x${grub_cfg}" !=3D "x"; then > rm -f ${grub_cfg}.new > > =3D=3D=3D modified file 'util/grub.d/00_header.in' > --- util/grub.d/00_header.in 2010-02-03 00:24:07 +0000 > +++ util/grub.d/00_header.in 2010-02-14 17:55:04 +0000 > @@ -158,3 +158,11 @@ else > set timeout=3D${GRUB_TIMEOUT} > EOF > fi > + > +# Play an initial tune > +if [ "x${GRUB_INIT_TUNE}" !=3D "x" ] ; then > + cat << EOF > +insmod play > +play ${GRUB_INIT_TUNE} > +EOF > +fi > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > =20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig6280CE35A9BFAA73B1889EA7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iF4EAREKAAYFAkt6lBgACgkQNak7dOguQgkDuAD/ekpBgGisilmUUnN2gwrMIpsK BoupcUDY1+RrYY4DXHcA/RbX0dBmEIhusABjGzwEbW4Fi1kP3e2zJR1ZmnHc0wUf =AxN8 -----END PGP SIGNATURE----- --------------enig6280CE35A9BFAA73B1889EA7--