All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nico Schottelius <nicos@pcsystems.de>
To: linux-kernel@vger.kernel.org
Subject: added a new feature: disable pc speaker
Date: Fri, 04 May 2001 13:37:08 +0200	[thread overview]
Message-ID: <3AF29464.885B7F13@pcsystems.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1629 bytes --]

Hi guys!

I have searched a long time for a method to disable the internal
speaker for every application, every daemon and so on.
With the help of [] I have found the right file :

drivers/char/vt.c

Now I have made some changes to this file (from 2.4.4 kernel).
I wanted to ask you whether you can/will put this feature into the next
kernel release (f.i. 2.4.5).
Below is a description of what I did, hope I changed the right
files and didn't brake any kernel structure...
That's also the reason I don't send a config.in diff.

Regards,

Nico


1. Changed vt.c (diff attached)
2. Changed arch/{i386,alpha,ppc,arm,mips}/config.in :

if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
   bool '  Disable the PC-Speaker' CONFIG_DISABLE_PC_SPEAKER
fi

(should be the last item of the 'General Setup' Menu)

3. Changed init/main.c (diff attached)
4. wrote text for Configure.help:

-------------------------------------------------------------------------

Disables the Internal (PC) speaker
CONFIG_DISABLE_PC_SPEAKER
  Whenever you don't want your computer to be able to beep,
  choose this option. Not selected, the computer will be able
  to beep.

  Attention: This will not catch the beeps made directly by the
  BIOS (mostly this happens when using a notebook and pressing
  special key codes). To disable this "BIOS-beep" enter the
  BIOS and change it there.

  If you are unsure, say N to this.

-------------------------------------------------------------------------

If you allow this thing to get into the kernel, could
Axel Bold (axel@uni-paderborn.de as found in Configure.help)
put this text into the Configure.help file ?



[-- Attachment #2: diffs.tar.gz --]
[-- Type: application/x-gzip, Size: 1118 bytes --]

             reply	other threads:[~2001-05-04 11:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-04 11:37 Nico Schottelius [this message]
2001-05-04 11:48 ` added a new feature: disable pc speaker Simon Richter
2001-05-04 12:36 ` Keith Owens
2001-05-04 18:35   ` Oystein Viggen
2001-05-04 20:09     ` Nico Schottelius
2001-05-04 20:18       ` Oystein Viggen

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=3AF29464.885B7F13@pcsystems.de \
    --to=nicos@pcsystems.de \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.