[lkml]   [2001]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: PC-speaker control

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?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.100 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site