What the Beep?! [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

GrantStoner
Baby Hen
Posts: 16
Joined: Tue May 17, 2011 17:21

What the Beep?! [Solved]

Post by GrantStoner » Tue May 17, 2011 18:12

Okay, so I specifically remember instances where my Sabayon 5.5 installation didn't scare the living hell out of me with a super loud, short beep. However, on this installation (and my previous one) I get this debilitating beep when the login screen comes up, and when I'm shutting down my laptop. I have Googled, I have Gentoo-Wikied, I have Sabayon Forum searched. Everything, everywhere suggests disabling pcspkr. So naturally I tried removing the comment before

Code: Select all

blacklist pcspkr
in

Code: Select all

/etc/modprobe.d/blacklist.conf
and even

Code: Select all

modprobe -r pcspkr
I still have an ear-shattering beep coming out of my laptop. I understand this has been posted elsewhere, but neither I nor some others have yet to find a solution!
Last edited by GrantStoner on Fri May 20, 2011 1:18, edited 1 time in total.


GrantStoner
Baby Hen
Posts: 16
Joined: Tue May 17, 2011 17:21

Re: What the BEEP?!

Post by GrantStoner » Thu May 19, 2011 1:46

Thanks, not sure how I missed that one. Didn't come up in my searches. Did not work for me, though.

Code: Select all

~ # echo "blacklist snd_pcsp" >> /etc/modprobe.d/blacklist.conf
~ # update-modules
*Updating modules.conf...
*Updating modules.dep...
~ # shutdown -r now
Says this is the solution for kernels 2.6.27+? I still have that nasty annoying beep on login and shutdown.

Code: Select all

~ # uname -r
2.6.37-sabayon
Has it been changed again? O_o

Fitzcarraldo
Sagely Hen
Posts: 8218
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: What the BEEP?!

Post by Fitzcarraldo » Thu May 19, 2011 6:06

Post the output of the lsmod command issued as root user.

Also have a look at Getting Rid of the Loud Pop [Solved]

GrantStoner
Baby Hen
Posts: 16
Joined: Tue May 17, 2011 17:21

Re: What the BEEP?!

Post by GrantStoner » Thu May 19, 2011 7:22

Code: Select all

~ $ su - root -c 'lsmod'
Password: 
Module                  Size  Used by
michael_mic             1672  4 
ipv6                  237883  28 
snd_seq_dummy           1088  0 
snd_seq_oss            22131  0 
snd_seq_midi_event      4103  1 snd_seq_oss
snd_seq                38123  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4077  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            29601  0 
snd_mixer_oss          11241  1 snd_pcm_oss
snd_hda_codec_hdmi     18058  1 
snd_hda_codec_idt      42480  1 
snd_hda_intel          18176  2 
i915                  279764  2 
lib80211_crypt_tkip     6456  0 
drm_kms_helper         21544  1 i915
snd_hda_codec          58327  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep               4454  1 snd_hda_codec
wl                   2504793  0 
snd_pcm                55553  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              14110  2 snd_seq,snd_pcm
snd                    42919  16 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
drm                   141416  3 i915,drm_kms_helper
i2c_algo_bit            3906  1 i915
video                  10198  1 i915
snd_page_alloc          5869  2 snd_hda_intel,snd_pcm
sdhci_pci               5656  0 
uvcvideo               49428  0 
sdhci                  13496  1 sdhci_pci
videodev               54028  1 uvcvideo
v4l1_compat            10380  2 uvcvideo,videodev
v4l2_compat_ioctl32     9165  1 videodev
mmc_core               47565  1 sdhci
firewire_ohci          21376  0 
tpm_tis                 6480  0 
r852                    8409  0 
sm_common               7281  1 r852
nand                   36554  2 r852,sm_common
nand_ids                6465  1 nand
nand_ecc                3236  1 nand
intel_agp               9344  1 i915
output                  1478  1 video
dell_laptop             6552  0 
firewire_core          36276  1 firewire_ohci
tpm                     9352  1 tpm_tis
intel_gtt              12010  3 i915,intel_agp
i2c_i801                6688  0 
i2c_core               14079  6 i915,drm_kms_helper,drm,i2c_algo_bit,videodev,i2c_i801
dell_wmi                1248  0 
sparse_keymap           2273  1 dell_wmi
iTCO_wdt                9760  0 
iTCO_vendor_support     1641  1 iTCO_wdt
lib80211                3428  2 lib80211_crypt_tkip,wl
tpm_bios                3930  1 tpm
shpchp                 20479  0 
pci_hotplug             8889  1 shpchp
joydev                  8288  0 
xts                     2237  0 
gf128mul                5490  1 xts
iscsi_tcp               7769  0 
tg3                   109694  0 
e1000                  84102  0 
scsi_wait_scan           703  0 
sl811_hcd               8782  0 
ohci_hcd               18152  0 
uhci_hcd               18308  0 
ehci_hcd               31173  0 
sx8                    11229  0 
imm                     8782  0 
parport                25299  1 imm
pata_pcmcia             9645  0 
pcmcia                 29576  1 pata_pcmcia
Other link also did not help. But thanks.

GrantStoner
Baby Hen
Posts: 16
Joined: Tue May 17, 2011 17:21

Re: What the BEEP?!

Post by GrantStoner » Thu May 19, 2011 7:42

The other post mentioned about snd_hda_intel, so even though those steps didn't work, I just did

Code: Select all

~ # echo "snd_hda_intel" >> /etc/modprobe.d/blacklist.conf
~ # update-modules
~ # shutdown -r now
Problem went away. This shouldn't cause any other issues or conflicts, or will it? For now I only have to hear that ear-shattering sound when I backspace my username or password. ^_^

P.S.: Much thanks for pointing me to that post. I had previously tried blacklisting just "snd" and it didn't work. If it weren't for that post I wouldn't have caught the snd_hda_intel.

Fitzcarraldo
Sagely Hen
Posts: 8218
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: What the BEEP?!

Post by Fitzcarraldo » Thu May 19, 2011 10:57

Well, that module may be required for your other audio. Can you still hear an mp3 track playing, for example?

Alternative 1:

Open a Konsole/Terminal, enter the command alsamixer, press F6 to select your audio card, then scroll along to the channel 'Beep' and press the 'M' key to mute that channel. Then enter the command alsactl store to save the setting. I'd try doing this procedure both as root user and under your own user account.

Alternative 2:

I see that the SL kernel config has CONFIG_PCSPKR_PLATFORM=y. You could rebuild the kernel with that disabled, which should stop the PC speaker beeping.

Alternative 3:

If you're using KDE, you can click on KWin in the System Tray, click on Mixer, select the Playback Streams tab, and click on the Mute button for Event Sounds. If you have Kickoff > 'System Settings' > 'Startup and Shutdown' > 'Session Management' | 'On Login' configured to 'Restore previous session' then perhaps that muting would persist through a reboot.

Alternative 4:

Code: Select all

echo "xset b off" >> ~/.xinitrc
chmod +x ~/.xinitrc
Alternative 5 (done as root user):

Code: Select all

echo "set bell-style none" > /etc/local.d/stop_beep10.start
chmod +x /etc/local.d/stop_beep10.start
Alternative 6 (done as root user):

Code: Select all

echo "setterm -blength 0 > /dev/tty1" > /etc/local.d/stop_beep20.start
echo "setterm -blength 0 > /dev/tty2" >> /etc/local.d/stop_beep20.start
echo "setterm -blength 0 > /dev/tty3" >> /etc/local.d/stop_beep20.start
echo "setterm -blength 0 > /dev/tty4" >> /etc/local.d/stop_beep20.start
echo "setterm -blength 0 > /dev/tty5" >> /etc/local.d/stop_beep20.start
echo "setterm -blength 0 > /dev/tty6" >> /etc/local.d/stop_beep20.start
echo "setterm -blength 0 > /dev/tty7" >> /etc/local.d/stop_beep20.start
chmod +x /etc/local.d/stop_beep20.start
Moving this thread to the Hardware section.

GrantStoner
Baby Hen
Posts: 16
Joined: Tue May 17, 2011 17:21

Re: What the BEEP?!

Post by GrantStoner » Thu May 19, 2011 21:25

No, the first thing I checked was that my sound still worked - and it did. The funny thing is, I have to have all 3 (pcspkr snd_pcsp and snd_hda_intel) blacklisted. If I comment ANY of them I get that beep. I tried every possible combo of the 3.
Last edited by GrantStoner on Fri May 20, 2011 1:15, edited 1 time in total.

GrantStoner
Baby Hen
Posts: 16
Joined: Tue May 17, 2011 17:21

Re: What the BEEP?!

Post by GrantStoner » Thu May 19, 2011 21:30

And another thing... I can't for the life of me figure out how to mark this as solved... >_< Lol. Help?

Fitzcarraldo
Sagely Hen
Posts: 8218
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: What the BEEP?!

Post by Fitzcarraldo » Thu May 19, 2011 21:34

You click on the EDIT button of your first post and add " [Solved]" to the end of the Subject text.

Post Reply