The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
AIX equivalent to MS IIS? gmslater99 UNIX for Dummies Questions & Answers 5 11-10-2008 01:00 PM
what is yum equivalent in redhat? gkreddy UNIX for Dummies Questions & Answers 1 10-30-2007 07:56 AM
dos2unix equivalent in AIX soulfactory2002 AIX 4 05-19-2005 10:47 AM
snoop equivalent for AIX jcasares UNIX for Advanced & Expert Users 1 04-28-2005 11:45 AM
mcs equivalent in HP-UX vibhor_agarwali HP-UX 5 04-28-2005 10:43 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-22-2009
uiop44 uiop44 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 19
BSD equivalent of rmmod

In Linux if you want to get rid of the PC speaker (beep!) without rebooting you can type

rmmod pcspkr

I'm looking for a way to remove (if possible) the BSD equivalent of the "pcspkr" module.

I scrolled quickly through GENERIC and didn't see any entries that looked conspicuously like the PC speaker.

Is it in there? Did I miss it?

Last edited by uiop44; 03-29-2009 at 11:28 PM..
  #2 (permalink)  
Old 03-22-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 730
Do you mean:

Code:
# lsmod | grep spkr
pcspkr                 10624  0
Confirms module is loaded.

Code:
 
# modprobe -r pcspkr
removes it.

from someone who thinks modprobe might be a command available in BSD Unix?
  #3 (permalink)  
Old 03-22-2009
uiop44 uiop44 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 19
Quote:
Originally Posted by TonyFullerMalv View Post
Do you mean:

Code:
# lsmod | grep spkr
pcspkr                 10624  0
Confirms module is loaded.

Code:
 
# modprobe -r pcspkr
removes it.

from someone who thinks modprobe might be a command available in BSD Unix?
I think rmmod is the "old way" in Linux and "modprobe -r" is the new way?

FreeBSD does not have lsmod
The rough equivalent is kldstat
And kldunload for rmmod/modprobe -r
But kldstat does not show anything that looks like the PC speaker

I've been using

Code:

kbdcontrol -b off

This is virtual console specific.

Update:

I was fiddling with loader.conf and thinking the only way to get rid of the PC speaker is to compile the kernel without some module.

Then I found a 2005 post by Kevin Kinsey on the org.freebsd.freebsd-questions mailing list.

Code:

mixer speaker 0:0

And another blog post from recently linked to it and reminded us that we can always open up the computer and disconnect the cable. That's great if you own the computer, but...

Last edited by uiop44; 03-31-2009 at 01:28 AM..
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0