title: Toolkit not beeping on ubuntu
body: <p>I am having problems with Toolkit's beep.  I commented out the two speaker disabling lines in <code>/etc/modprobe.d/blacklist.conf</code>.  I cannot use the console code <code>7</code> to beep because I need it to work in Swing and I would like it to be audible in Eclipse IDE (rather than to show a special symbol in the console-like pane in Eclipse).  When not in the Eclipse IDE, I have tested code <code>7</code> and found it to be audible so I know it is not a loose connector problem.  I do have nice sound effects via .wav files but sometimes I just want a simple beep and I don't want to use a lot of CPU cycles to achieve it.  Presently I am using <code>Runtime.getRuntime().exec("beep")</code> but that also seems a bit excessive.   I am on ubuntu 10.10.  The computer board is a Gigabyte MA 770 UD3. Below is the offending program. </p>
  
  <pre><code>import java.awt.Toolkit;
  
  public class Beeper
  {
      public static void main(String[] args)
      {
          Toolkit.getDefaultToolkit().beep();
      }
  }
  </code></pre>
  
  <p>From blacklist.conf is the following.</p>
  
  <pre><code># low-quality, just noise when being used for sound playback, causes
  # hangs at desktop session start (Ubuntu: #246969)
  #blacklist snd_pcsp
  
  # ugly and loud noise, getting on everyone's nerves; this should be done by a
  # nice pulseaudio bing (Ubuntu: #77010)
  #blacklist pcspkr
  </code></pre>