LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-22-2007, 12:43 PM   #1
rhubarbpie
LQ Newbie
 
Registered: Jun 2007
Distribution: Linux From Scratch
Posts: 4

Rep: Reputation: 0
snd-hda-intel.ko disables PC speaker


My PC speaker doesn't sound if I load the snd-hda-intel.ko module. I have PC speaker support compiled into the kernel and the speaker flawlessly if the snd-hda-intel.ko module isn't loaded.

Can I use my PC speaker with the snd-hda-intel.ko module loaded?
 
Old 06-23-2007, 05:26 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Do you have sound in general? (like through regular speakers?)
 
Old 06-30-2007, 05:27 PM   #3
rhubarbpie
LQ Newbie
 
Registered: Jun 2007
Distribution: Linux From Scratch
Posts: 4

Original Poster
Rep: Reputation: 0
Yes, all other sound works well. My only problem is with my PC speaker.
 
Old 07-01-2007, 01:52 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
So, what are you not getting through your system speaker that you expect to?
Looks like alsa is expecting to channel all sounds through your regular speakers.
 
Old 07-01-2007, 07:01 PM   #5
rhubarbpie
LQ Newbie
 
Registered: Jun 2007
Distribution: Linux From Scratch
Posts: 4

Original Poster
Rep: Reputation: 0
Beeps. I want my Perl and bash scripts to beep. I also want my OpenOffice macros to sound beeps.

The problem seems to be the Intel HD Audio option:

Device Drivers --->
Sound --->
Advanced Linux Sound Architecture --->
PCI devices --->
<> Intel HD Audio

If I compile Intel HD Audio into the kernel or build it as a module I receive no PC speaker output. If I recompile the kernel without Intel HD Audio my PC speaker sounds. Unfortunately, I need it as a module for my modem. I do need my modem occassionally.
 
Old 07-02-2007, 12:08 AM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Why can your macros and scripts not use the alsa system beep?

http://www.mail-archive.com/alsa-use.../msg19938.html
http://osdir.com/ml/linux.alsa.user/.../msg00019.html
... both have the same problem, but there is no suggested solution.

Some people seem to have the opposite problem... PC speaker beep but no other sound. And there is the usual slew of people with no sound at all.

I am suspecting that the pcspkr driver is being turned off in a configuration file. Or, maybe, the alsa driver is just hogging all audio.

http://www.gentoo.org/doc/en/migration-to-2.6.xml
... points out that the PC speaker is a configurable option.
"CONFIG_INPUT_PCSPKR=m" is, presumably, how you compiled in support. I'm trying to find if this can be enabled/disabled dynamically.

Hmmm... I note that the system beep is disabled when I use beryl... it has a visual bell instead (wobbles the window). Thinking this through backwards and searching for ways to disable the beep shows me the file to look at is /etc/inputrc ... look for a line that says "set bell-style none"...
 
Old 07-03-2007, 09:17 PM   #7
rhubarbpie
LQ Newbie
 
Registered: Jun 2007
Distribution: Linux From Scratch
Posts: 4

Original Poster
Rep: Reputation: 0
How can I use the alsa speaker beep? I see the Speaker bar in alsamixer which I set to maximum.
 
Old 03-06-2013, 11:04 AM   #8
avalonit
Member
 
Registered: Jun 2008
Posts: 71

Rep: Reputation: 17
Quote:
Originally Posted by rhubarbpie View Post
How can I use the alsa speaker beep? I see the Speaker bar in alsamixer which I set to maximum.
What I did to enable pc speaker beeps is:
Code:
$ cat /etc/modprobe.d/00local.conf
options snd-hda-intel beep_mode=1
On my old computer it worked by itself but not on this one. Not sure why. It may have something with that this one has a hardware PC speaker while the other one did not. Anyway try it out. btw another thing that may help you is play with the model option of the same module. See available options with modinfo.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No Sound on SuSE 10 - snd-hda-intel rizhun Linux - Hardware 13 03-10-2007 08:46 AM
no sound after resume2 (snd-hda-intel)? khokho solomi Linux - Laptop and Netbook 4 01-26-2007 02:20 AM
snd-hda-intel - no sound Laen Slackware 3 11-12-2006 01:07 PM
Alsa and probing snd-hda-intel aikempshall Slackware 2 10-29-2006 04:28 AM
FC5 - Snd-Hda-Intel Problem. vidyashankara Linux - Newbie 3 05-13-2006 04:03 PM


All times are GMT -5. The time now is 02:52 AM.

Main Menu
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