public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Robert Read <rread@datarithm.net>
To: Daniel Phillips <phillips@innominate.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PC-speaker control
Date: Mon, 1 Jan 2001 22:16:35 -0800	[thread overview]
Message-ID: <20010101221635.B8827@tenchi.datarithm.net> (raw)
In-Reply-To: <01010118360105.00896@rafael> <20010101230553.B8481@tenchi.datarithm.net> <3A511E50.6C49FE8C@innominate.de> <3A51238B.334692F0@innominate.de>
In-Reply-To: <3A51238B.334692F0@innominate.de>; from phillips@innominate.de on Tue, Jan 02, 2001 at 01:40:43AM +0100


On Tue, Jan 02, 2001 at 01:40:43AM +0100, Daniel Phillips wrote:
> Daniel Phillips wrote:
> > 
> > Robert Read wrote:
> > > Try this on the console:
> > >
> > > setterm -blength 0
> > >
> > > no assembly required. :)
> > 
> > Yes, and my xterm still beeps - if I make that go away then something
> > else will beep.
> > 
> > Somebody posted a patch to do a global disable of the speaker some time
> > back, and I wish that the patch were generally available.  The result of
> > not having the global disable is an office full of beeping
> > computers.

Right, I see what you mean. Disabling the beep is one thing I always
do, and it requires a few differnt steps, like "xset b off" for xterms
and so on.  It would be nice to switch it off in one place and be done
with it.

> > 
> > How does this look:
> > 
>   echo 0 >/proc/sys/dev/speaker/beep
> 

This looks good to me.  As far as I can tell, it looks like the beep
is generated by kd_mksound, which is a function pointer that usually
points to drivers/char/vt.c:_kd_mksound().  Can anyone verify this?

It doesn't look to hard to write a sysctl driver that would change the
function pointer to something quieter.  Is this what patch did?

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

      reply	other threads:[~2001-01-02  6:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-01 20:30 PC-speaker control Rafael Diniz
2001-01-01 23:05 ` Robert Read
2001-01-02  0:18   ` Daniel Phillips
2001-01-02  0:40     ` Daniel Phillips
2001-01-02  6:16       ` Robert Read [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010101221635.B8827@tenchi.datarithm.net \
    --to=rread@datarithm.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phillips@innominate.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox