No terminal beep in a new debian xfce installation
I have recently installed debian stable with xfce, and I get no beep in any terminal after echo $'\a'. alsamixer says shows that all kinds of sound are on, aplay plays wav files.
Code:
lsmod |grep pcspkr Code:
xset -q Code:
~/.config/Terminal/terminalrc Code:
MiscBell=TRUE |
Do you have usblp loaded? I've seen people report that (for some reason) gets the beep too. Also, do you have snd-hda-intel loaded? On my computer, unloading the pcspkr module doesn't actually do anything. Only loading the snd-hda-intel module gets me the beep.
Alex Brinister |
usplp was not loaded, I've loaded it and this did not help. snd-hda-intel did not appear in
Code:
lsmod |grep snd-hda-intel Code:
modprobe snd-hda-intel |
1 Attachment(s)
Do you have a "Beep" bar in alsamixer? I'll post a screenshot of mine.
Alex Brinister |
Yes, I have it, and it is switched on (something like 50%)
|
Here is something:
Quote:
|
pcspkr was not blacklisted in /etc/modprobe.d/blacklist.conf .
package pulseaudio-module-x11 was not installed after I have added the option beep_mode=2, snd_hda_intel refused to load, it said that it does not know this option. I don't use konsole, but xkbbell produces no sound in xterm and xfce terminal. |
According to modinfo, snd-hda-intel does have this option:
Code:
[fluffypony@0xffeDAEMONPAWNY1969 ~]$ modinfo snd-hda-intel Code:
zcat /proc/config.gz | grep BEEP Code:
CONFIG_SND_HDA_INPUT_BEEP=y Alex Brinister |
I don't have the file named config.gz in /proc/ .
And my module snd-hda-intel indeed has version 2.6.32-something, not 3.4.9-1-ARCH like yours. How do I update it? Some googling suggests me that it is in the package linux-image, but aptitude only suggests version 2.6.32-something, and says that it is already installed. |
Mine is 3.9.4-1-ARCH because a) I use Arch Linux and b) because Arch is a rolling release. This means that there are no definitive versions of the distro. All packages get updated when a new version comes out.
You are using an old kernel. Quote:
Alex Brinister |
OK, then I ask all the forum participants again: how can I make the beep work if I stay in debian squeeze? I would like to do this because:
1. I have some experience in using debian as normal user (not as root), and 2. The computer I am speaking about is not very fast, so I am not sure that wheezy (which is also declared as less stable) will not be too slow. |
You could try to compile a new kernel. But if you're into apt handling all software, then this wouldn't be a good solution.
Alex Brinister |
Just to let you know I have no system beep in the terminal using XFCE on Sid. That's on two separate systems a netbook and a desktop (both kernel's labelled 3.2.0-3 but 686 and AMD64 respectively). I've not carried out any troubleshooting though as I don't miss it -- personally I tend to blame Pulse Audio for this kind of thing until proven otherwise.
|
That's interesting, because I also have PulseAudio installed and I do get a system beep. I can turn it on and off in AlsaMixer. Here is my set up.
/etc/modprobe.d/modprobe.conf Code:
blacklist usblp ** EDIT ** In Debian, this would be a SysV init script under /etc/rc2.d/ ** /EDIT ** Also, modules line in /etc/mkinitcpio.conf Code:
MODULES="snd_hda_intel rts_pstor nfs xfs vfat ntfs uhci_hcd usbcore" /etc/asound.conf Code:
defaults.pcm.card 0 Code:
default-sample-rate = 192000 Code:
#!/usr/bin/pulseaudio -nF |
Alsamixer is practically empty on both my systems -- only containing one output control.
Both systems are as installed the only changes being enabling SPDIF out on the PC. I think it's safe to say that for one reason or another I've never had everything working "properly" under Pulse Audio since it came with Ubuntu years ago. |
All times are GMT -5. The time now is 07:41 AM. |