From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id F26111EF783; Wed, 8 Apr 2015 17:36:43 -0400 (EDT) Received: from mail-vn0-x231.google.com (mail-vn0-x231.google.com [IPv6:2607:f8b0:400c:c0f::231]) by befuddled.reisers.ca (Postfix) with ESMTPS id 7123F1EF77D for ; Wed, 8 Apr 2015 17:36:38 -0400 (EDT) Received: by vnbg7 with SMTP id g7so17138709vnb.11 for ; Wed, 08 Apr 2015 14:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:thread-index :content-language; bh=xgy7fdT0XNRNI7uXU6d9ZzCkbwwP0KuYdh3wZC+CWOs=; b=RCNgGntT+QaydiLm8Ewa84ClV2QQL8vUkw6N7unqX8rkaH5Tc1ctiDid1uoxclKU+O blxKF/hBrW3DtYJtywwoxW70nq+GihNctCou/Ga8vJi/Lu6z/EJQ2flnX7w6gHRSWXjF FRXOGRCUA2Z0wRrZTkrbNV7Y95A0FgFgy0t64omMeFl8e8B/OTtkteLckIFK9TCx+GH1 o2euUBawC8FNdEbnmwMo/nZmTeWvxUHryJ+QUXpVvN7TGmxR6BTZ0uujxKvYjkGXPx/Z UwcGu1T1jMfZ4lND7YvUVXy88haTPE+JmUg9Pua+57NGQdeGjJPVBn0YpcWL65orV9B8 5rBw== X-Received: by 10.170.139.197 with SMTP id g188mr28181764ykc.78.1428528982768; Wed, 08 Apr 2015 14:36:22 -0700 (PDT) Received: from CITESP10R37764 (108-227-229-142.lightspeed.brhmal.sbcglobal.net. [108.227.229.142]) by mx.google.com with ESMTPSA id 69sm10037992yhd.15.2015.04.08.14.36.21 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 08 Apr 2015 14:36:21 -0700 (PDT) Sender: Keith Wessel From: "Keith Wessel" To: "'Speakup is a screen review system for Linux.'" References: <52FA7C03.6070206@math.wisc.edu> <004201d06e4f$9c0cf130$d426d390$@wessel.com> <551F2DF9.7020405@math.wisc.edu> <004501d0714c$c0060ea0$40122be0$@wessel.com> <2BA4251022B74C4A86117810E9211018@LennyPC> <552598B1.7080902@math.wisc.edu> In-Reply-To: <552598B1.7080902@math.wisc.edu> Subject: RE: playing a tune at startup Date: Wed, 8 Apr 2015 16:36:19 -0500 Message-ID: <00ff01d07244$0e5d4300$2b17c900$@wessel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQFzZtEZSQPtFB9Fk5vLJ48w9Zw4ZgMbERxbANsBmbkCC3yY7QIFib/pAgE2YfadrXanYA== Content-Language: en-us X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2015 21:36:44 -0000 I love that crazy idea! I have yet to get my USB to serial adapter = working in Grub2 (need sighted assistance to finish the job as those of = you on the Gentoo-accessability list saw me post last week). This would = be great in the meantime and great if my USB to serial adapter wasn't = around... and great for folks who don't want to bother setting up a = serial terminal. BTW, John, there's a slight bug in your script. The grub init tune and = play routine accept a value of 0 as a rest and, if a very low value like = 1 is used instead, rounds it up to something that can be played like a = 20 or 40. The beep utility takesa value below the lowest freq the = speaker can play and converts it to a rest. As a result, the 1 I used as = a rest in my tune was a rest with beep but a low grumble (sounded like a = drumroll through a PC speaker) with Grub. I'd suggest having the script accept values of 0 in the grub init tune = and converting them to 1 before passing them to beep. That way, both = Grub and beep would produce similar output. If you pass a value of 0 to beep for the freq, it skips it. Keith -----Original Message----- From: Speakup [mailto:speakup-bounces@linux-speakup.org] On Behalf Of = John G Heim Sent: Wednesday, April 08, 2015 4:08 PM To: Glenn / Lenny; Speakup is a screen review system for Linux. Subject: Re: playing a tune at startup I'm not sure you can get a beep for each item on the grub menu any more. = You used to do that by editing the grub config file and inserting n=20 ASCII character 7 on the title line for each boot stanza. But there is=20 no reason that has to work at all any more -- it would depend on how the = grub menu is displayed. But another problem is that the grub config file = is generated by update-grub now. If you edit the config file, it will be = over written next time you run update-grub. Crazy idea... We should try to get the grub developers to beep the morse = code for the characters of each grub menu item. Perhaps if you press the = right arrow key, it beeps the morse code for the first letter of the=20 line. Press it again, it beeps the second letter. Even if you don't know = morse code, you could do it slowly enough to look it up. For most items, = you'd need only the first letter or 2. On 04/07/2015 07:54 PM, Glenn / Lenny wrote: > Since GRUB 2, I haven't known how to alter GRUB, I would like to set = the > time-out, and it would be nice to have a beep for each item, or at = least a > beep at the top and bottom, and I would like to change the order of = the > items. > Maybe it is easier now, but I don't know how to do it. > Thanks for any info. > Glenn > ----- Original Message ----- > From: "Keith Wessel" > To: "'Speakup is a screen review system for Linux.'" > > Sent: Tuesday, April 07, 2015 11:06 AM > Subject: RE: playing a tune at startup > > > Thank you, Sir! Got it, installed the beep utility, and now I have a = cavalry > charge on boot-up! > > > GRUB_INIT_TUNE=3D"800 523 2 698 2 880 2 1046 1 1 3 880 2 1046 4" > > What a nifty utility! > > Keith > > > -----Original Message----- > From: Speakup [mailto:speakup-bounces@linux-speakup.org] On Behalf Of = John > G. Heim > Sent: Friday, April 03, 2015 7:19 PM > To: Speakup is a screen review system for Linux. > Subject: Re: playing a tune at startup > > Sorry, I must have moved it. I don't remember doing that. Anyway: > > wget http://www.iavit.org/~john/debian/grub-init-tune > > > On 04/03/2015 03:48 PM, Keith Wessel wrote: >> John, >> >> I'm finally on grub2 and was eager to dive in and make myself a = catchy >> little tune! Sadly, your script gives me a 404. Where did it go??? >> >> Keith >> >> >> -----Original Message----- >> From: Speakup [mailto:speakup-bounces@linux-speakup.org] On Behalf Of = John >> G. Heim >> Sent: Tuesday, February 11, 2014 1:38 PM >> To: Speakup is a screen review system for Linux. >> Subject: playing a tune at startup >> >> All, >> >> I've written what i think is a handy little utility for testing and >> experimenting with grub init tunes. To use it, you can do one of = three >> things: >> 1. Just run the script. In this case, it will read /etc/default/grub = and >> play the current GRUB_INIT_TUNE. >> 2.Set the GRUB_INIT_TUNE environmental variable to a tune. In this = case, >> it will play your tune. This allows you to try out different tunes. >> 3. Use one of the tunes I've created. Do this by editing the script = and >> uncommenting the line for the tune you want to try. There are several >> tunes listed at the top of the script. >> >> The script plays the GRUB_INIT_TUNE and then echos it to the = console. >> To save a tune, just redirect the output to your grub default file,: >> >> # grub-init-tune >> /etc/default/grub >> # update-grub >> >> To download the script, point a browser here: >> http://www.iavit.org/~john/grub-init-tune >> >> >> Or: >> # wget http://www.iavit.org/~john/grub-init-tune >> # chmod 07555 grub-init-tune >> _______________________________________________ >> Speakup mailing list >> Speakup@linux-speakup.org >> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup >> >> _______________________________________________ >> Speakup mailing list >> Speakup@linux-speakup.org >> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup > _______________________________________________ > Speakup mailing list > Speakup@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup > --=20 John Heim, jheim@math.wisc.edu, skype:john.g.heim _______________________________________________ Speakup mailing list Speakup@linux-speakup.org http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup