LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 03-14-2007, 11:00 PM   #1
iXneonXi
Member
 
Registered: Jul 2004
Distribution: Xubuntu
Posts: 37

Rep: Reputation: 15
Disable PC Speaker


How do I stop the beeps?!
I have a Thinkpad 770 running DSL and it beeps all the time!
I can't run it at night or everyone will wake up. It even beeps when shutting down!
Is there a way to stop the beeps? I'm looking for any method except for "disconnect the speaker on the inside."
 
Old 03-14-2007, 11:42 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
In your /etc/rc.d/rc.local (or the equivalent for your distribution):

/sbin/modprobe -r pcspkr

You can issue that command as root to verify that it works. It will (temporarily) remove the kernel module that drives the PC speaker.
 
Old 03-15-2007, 06:30 AM   #3
iXneonXi
Member
 
Registered: Jul 2004
Distribution: Xubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
I'm trying to find "/etc/rc.d/rc.local" in DSL.
pcspkr I don't think was listed as a module in the first place, however issuing that did nothing.
The machine still beeps when I choose to shut it down.
 
Old 03-15-2007, 10:31 PM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by iXneonXi
I'm trying to find "/etc/rc.d/rc.local" in DSL.
In DSL, the corresponding file is /opt/bootlocal.sh. If you use the filetool to save files across reboots, by default, this is one of the files saved.

Quote:
pcspkr I don't think was listed as a module in the first place, however issuing that did nothing.
The machine still beeps when I choose to shut it down.
I checked in DSL v1.0 and DSL v2.4 and I didn't see a pcspkr listed. But the machine I have 2.4 on can't beep anyway! When I tested with v1.0, (from HD but otherwise operating like a live CD), the only beeps I heard on boot and shutdown were associated with a PCMCIA card. I don't know if this pertains to you or not. The man page for cardmgr (which handles PCMCIA) lists a -q option to surpress beeps. Assuming this would help you, I think this would entail modifying /etc/init.d/knoppix-autoconfig and /etc/init.d/knoppix-halt, but I am not certain.
 
Old 03-16-2007, 05:58 AM   #5
iXneonXi
Member
 
Registered: Jul 2004
Distribution: Xubuntu
Posts: 37

Original Poster
Rep: Reputation: 15
I will try that and also configure the PC card. I do have one (it is for network, a Xircom). If that is what is causing the beeps, thank you for the info!
 
  


Reply

Tags
speaker



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dbx command for corrosponding commands disable or disable on gdb bshankha AIX 0 09-26-2006 09:38 AM
Left speaker does not speak - not speaker issue. Hardware or software issue? Svip Linux - Hardware 3 05-03-2006 11:22 AM
disable motherboard speaker? newuser455 Linux - Hardware 3 07-27-2005 02:23 AM
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM
PC Speaker Sn7 Linux - Software 1 09-22-2004 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration