LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs > sumeet inani
User Name
Password

Notices

Rate this Entry

beep in ubuntu

Posted 06-02-2011 at 06:24 AM by sumeet inani
Updated 06-02-2011 at 06:29 AM by sumeet inani

I wanted to hear beep from my sound card with speaker unattached

echo -e "\a"
Dos not work in any case.

I installed package 'beep'.
Run 'lsmod' to see if the module "pcspkr" is loaded by kernel.
(maybe because '/etc/modprobe.d/blacklist.conf' contains 'blacklist pcspkr').
In my case it wasn't.
So I ran
Code:
sudo modprobe pcspkr
Now beep can be heard.
If you want to get info about driver then
Code:
modinfo <driver-name>
 Example
modinfo pcspkr
filename:       /lib/modules/2.6.32-21-generic/kernel/drivers/input/misc/pcspkr.ko
alias:          platform:pcspkr
license:        GPL
description:    PC Speaker beeper driver
author:         Vojtech Pavlik <vojtech@ucw.cz>
srcversion:     2ED00EA2D81C3AF226399DB
depends:        
vermagic:       2.6.32-21-generic SMP mod_unload modversions 586
Posted in Uncategorized
Views 710 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 03:12 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration