Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2013 12:37:35 +0100
From:      Frank Leonhardt <frank2@fjl.co.uk>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   How do I ring a bell?
Message-ID:  <52529CFF.9030105@fjl.co.uk>

next in thread | raw e-mail | index | archive | help
In the good'ol days I could make UNIX ring a bell (literally) by sending 
\a to the console TTY (an ASR33 in my case). Now there's an electronic 
synthesised ting or beep from an terminal emulator IF it's got a sound 
card and so on, and an IBM-PC had a beep routine in the BIOS.

Is there any way to make a noise through the built in "bell" speaker 
found on an IBM PC compatible server box? Writing 007 to the BIOS cout 
routine might do it, but I've realised I haven't got a clue how to do that.

I could easily knock up a bit of hardware to go on a serial port (or 
similar) that could be triggered to make a noise, but these things have 
already got the hardware built in and I'm looking to use what I've 
already got.

Thanks, Frank.

P.S. "cdcontrol -f /dev/mycdrom eject" is the best I've come up with so 
far for getting attention.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52529CFF.9030105>