Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Beep/bell doesn't work

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
bno1
Posts: 11
Joined: 2013-11-03 13:39

Beep/bell doesn't work

#1 Post by bno1 »

I use pulseaudio and beeping doesn't work. I tried beep, xkbbell and echo -ne '\007'. Loading the pcspkr or snd-pcsp modules doesn't help(although loading snd-pcsp adds a new output device in pavucontrol). No sound device is blacklisted in /etc/modprobe.d/. pulseaudio-module-x11 and pulseaudio-utils are not installed as I heard they might cause the problem.

dibl
Posts: 528
Joined: 2009-10-13 19:50
Location: Dayton, Ohio, USA

Re: Beep/bell doesn't work

#2 Post by dibl »

Which Desktop Environment (DE) are you using?

What is your soundcard, and what is the driver in use?

Code: Select all

$ lspci -vknn | grep -A5 Audio
Debian sid / siduction KDE

bno1
Posts: 11
Joined: 2013-11-03 13:39

Re: Beep/bell doesn't work

#3 Post by bno1 »

I don't use a DE, i just use Openbox as a WM.

output for that command:

Code: Select all

$ lspci -vknn | grep -A5 Audio     
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
	Subsystem: ASRock Incorporation Device [1849:3662]
	Flags: bus master, fast devsel, latency 0, IRQ 42
	Memory at f7f00000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
--
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series] [1002:aa58]
	Subsystem: Gigabyte Technology Co., Ltd Device [1458:aa58]
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Memory at f7e40000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
The AMD Juniper HDMI Audio device is disabled from pavucontrol

dibl
Posts: 528
Joined: 2009-10-13 19:50
Location: Dayton, Ohio, USA

Re: Beep/bell doesn't work

#4 Post by dibl »

I am not familiar with your Intel 6 Series/C200 chip. That said, I would go ahead and install these recommended (but not dependent) packages:

pulseaudio-module-x11
gstreamer0.10-pulseaudio
rtkit

Do you have alsa-base and alsa-utils installed?

Also, what is the make and model of the computer? Some Intel chips need a "model=xxx" option in /etc/modprobe.d/alsa-base.conf.

Is anything blacklisted in /etc/modprobe.d/alsa-base-blacklist.conf?

Finally, can you please post /etc/modprobe.d/alsa-base.conf?
Debian sid / siduction KDE

bno1
Posts: 11
Joined: 2013-11-03 13:39

Re: Beep/bell doesn't work

#5 Post by bno1 »

I did not have alsa-base and alsa-utils installed.
If I install them /etc/modprobe.d/alsa-base-blacklist.conf blacklists snd-pcsp

/etc/modprobe.d/alsa-base-blacklist.conf:

Code: Select all

# Uncomment these entries in order to blacklist unwanted modem drivers
# blacklist snd-atiixp-modem
# blacklist snd-intel8x0m
# blacklist snd-via82xx-modem
# Comment this entry in order to load snd-pcsp driver
blacklist snd-pcsp
/etc/modprobe.d/alsa-base.conf:

Code: Select all

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
What do you mean by make and model of computer? It's a custom build if that's what you mean, the motherboard is a ASRock H61M-S.

dibl
Posts: 528
Joined: 2009-10-13 19:50
Location: Dayton, Ohio, USA

Re: Beep/bell doesn't work

#6 Post by dibl »

Leave your alsa-base-blacklist.conf as it is. I think maybe the bottom of your alsa-base.conf got cut off -- I will paste in mine and you can compare the settings (my card is Intel 82801JI/ICH10 Family and uses the snd_hda_intel driver too):

Code: Select all

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; : ; }
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; }
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
Ooops -- on my computer I can see your entire file -- on my phone I could not. They look the same. Have you rebooted since you installed alsa?

Also (having built my own desktops), is there any possibility that you simply mis-wired the internal speaker? It's easy enough to do.
Debian sid / siduction KDE

bno1
Posts: 11
Joined: 2013-11-03 13:39

Re: Beep/bell doesn't work

#7 Post by bno1 »

I did restart and it doesn't work.
I think I misunderstood what beep should do. I want it to beep in my headphones/speakers not the internal pc speaker.

dibl
Posts: 528
Joined: 2009-10-13 19:50
Location: Dayton, Ohio, USA

Re: Beep/bell doesn't work

#8 Post by dibl »

bno1 wrote: I think I misunderstood what beep should do. I want it to beep in my headphones/speakers not the internal pc speaker.
Hmmmmmm. I never thought of that. Upon reflection, I don't think I've ever heard a beep in my headphones -- I think the old "bell" function does not get routed to headphones.

Wikipedia says it is a physical pizoelectric speaker on the motherboard. :(
Debian sid / siduction KDE

bno1
Posts: 11
Joined: 2013-11-03 13:39

Re: Beep/bell doesn't work

#9 Post by bno1 »

I see. I could use paplay to simulate it and just alias beep as that.
Thank you for your support :)

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: Beep/bell doesn't work

#10 Post by Scorpion »

Beep/bell doesn't work also for me, for example scrot doesn't sound.

Can I fix it?

Post Reply