-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Saturday 2007-07-21 at 11:29 +0200, Rikard Johnels wrote:

> I did a google on "how to make beeps at startup", and the onlything i came up 
> with is the command "beep".
> But if i run it nothing happens???
> No sound, nada.

¿No beeper in the box? Check the cabling.

> All i want is the machine to make a few beeps as it is finnished entering 
> runlevel 3 (My default RL for that one)

Insert it in "/etc/init.d/after.local". But you have got to find a way to 
"beep". Have a look at /etc/init.d/halt; it uses:

echo -en "\033[10;393]\a\033[10;262]"

or:

for tone in 524 491 440 393 349 328 295 ; do
            echo -en "\033[10;${tone}]\a"
            usleep 125000
        done
        echo -en "\033[10;262]"


All this things assume a console, by the way, but should work with no 
monitor, I suppose.


> There is no soundcard in it, so running esd, alsa or anything else is out of 
> the question.

I use this call:

    cat /usr/share/sounds/au/hal9.au > /dev/audio &

but you need a soundcard.

- -- 
Cheers,
       Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGoec+tTMYHG2NR9URAgeZAJwNd9mPqroZTCQzRZ0A+tAwSRncgwCdFj0x
52uFJP0TuQr+9EHXkgsARFc=
=r0AG
-----END PGP SIGNATURE-----

Reply via email to