LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2016, 02:37 PM   #16
Radiotubes
LQ Newbie
 
Registered: Jun 2009
Posts: 28

Original Poster
Rep: Reputation: 12

https://www.youtube.com/watch?v=UNzmIeSyXKQ

[screencast]UNzmIeSyXKQ[/screencast]

A video of my beeper working on the old Gparted live distro

Last edited by Radiotubes; 08-25-2016 at 02:54 PM.
 
Old 09-03-2016, 10:34 PM   #17
Radiotubes
LQ Newbie
 
Registered: Jun 2009
Posts: 28

Original Poster
Rep: Reputation: 12
unloaded all the sound modules and just have pcspkr loaded -- now I'm getting somewhere, the beeper is working

Last edited by Radiotubes; 09-04-2016 at 08:54 AM.
 
Old 09-04-2016, 08:53 AM   #18
Radiotubes
LQ Newbie
 
Registered: Jun 2009
Posts: 28

Original Poster
Rep: Reputation: 12
Found the culprit module is snd_hda_intel. When loaded, the beeper doesn't work. I'm reading about the various snd_hda_intel module parameters to see if there is a solution.

Apparently this laptop uses one of the internal speakers (not a little piezo buzzer) through a dedicated pin on the sound chip to act as a beeper. I've always received an angry beep if I select bios configuration {F12} at POST time prior to any OS being loaded, so I know the beep is there somewhere!

Two other modules or kernel config options of interest are:

Code:
bash-4.3# cat /usr/src/linux/.config|grep -i beep
CONFIG_INPUT_GPIO_BEEPER=m
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
which I have presently activated or loaded to see if I can get both hda sound and my precious system bell.

Last edited by Radiotubes; 09-04-2016 at 08:56 AM.
 
1 members found this post helpful.
Old 09-05-2016, 08:50 AM   #19
GazL
Senior Member
 
Registered: May 2008
Posts: 4,750
Blog Entries: 14

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Interesting, please keep us informed.

My new HP laptop doesn't beep either, but it may just not have the feature. I've not noticed a beep when entering bios on it.
 
Old 09-07-2016, 07:34 PM   #20
Radiotubes
LQ Newbie
 
Registered: Jun 2009
Posts: 28

Original Poster
Rep: Reputation: 12
Figured it out by experimenting with hda-analyzer. This tool was mentioned in the Kernel documentation under sound->alsa->HD-Audio.txt ... It's part of alsa.git repository in alsa-project.org. Basically the analyzer reconfigures the codec/controller in real time by changing various bits for selected nodes.

I'm not certain if this should be considered a bug? The default controller: snd-hda-intel and the accompanying codec: snd-hda-codec-realtek don't have any combination of module parameters that get the BEEP and hd-audio working concurrently. Once I found the particular node and config parameters using the hda-analyzer tool, I exported a python script from the program that I load via rc.modules.local. This script configures the controller to function properly. I have normal HD sound and my precious BEEP!!!
 
2 members found this post helpful.
Old 09-09-2016, 01:08 PM   #21
Radiotubes
LQ Newbie
 
Registered: Jun 2009
Posts: 28

Original Poster
Rep: Reputation: 12
For the record, I submitted a bug report to the kernel developer. A simple 2 line patch to patch_realtek.c corrected the problem ~> Bug_Report

Last edited by Radiotubes; 09-09-2016 at 01:09 PM.
 
2 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Use alsamixer to turn off the annoying, loud beep (aka system bell) in Debian Squeeze when you LXer Syndicated Linux News 0 01-18-2012 07:40 PM
Flash Videos beep-beep-beep Audio Quantumstate Linux - Desktop 1 07-24-2011 08:57 AM
Make system bell/beep play through sound card wilson47 Linux - General 5 05-05-2009 03:17 PM
Beep/Bell in computer with no speaker crxssi Linux - Hardware 2 01-05-2007 09:01 PM
route system bell (system beep) through ALSA... mr.v. Linux - Software 1 07-03-2006 07:26 AM

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

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