Page 1 of 3

Beep sound shut down

Posted: Sat Mar 16, 2019 9:01 pm
by Ashiya
Hello,

I have some problems when I shut down my laptop
My laptop make a beep sound its like I force a shutdown.
It's same sound while I press power on/off for a long time,
It's seems that my laptop shut down in a brutal way.

Debian, Ubuntu don't have this problems...

Re: Beep sound shut down

Posted: Wed Mar 20, 2019 9:56 am
by manyroads
You probably need to blacklist your PC Speaker. You can try the help here:

https://blog.sleeplessbeastie.eu/2012/1 ... stem-bell/
https://wiki.archlinux.org/index.php/PC_speaker

Re: Beep sound shut down

Posted: Wed Mar 20, 2019 10:03 am
by Eadwine Rose
Disable system beep on logout:
go to /etc/modprobe.d/pc-speaker.conf

See if in there it has:

blacklist snd-pcsp
blacklist pcspkr

Re: Beep sound shut down

Posted: Wed Mar 20, 2019 12:16 pm
by male
check the file
/etc/default/grub
whether the line is commented out

Code: Select all

GRUB_INIT_TUNE="480 440 1"

Code: Select all

#GRUB_INIT_TUNE="480 440 1"

Re: Beep sound shut down

Posted: Mon Apr 22, 2019 8:01 pm
by KBD
Since this thread is not too old I'm giving it a bump as I have the exact same problem. I checked the suggestions above and the file has sound blacklisted as Eadwine suggests, and hashed out as male mentions, but I still get a loud beep when I click on logout.
Any help appreciated.

Re: Beep sound shut down

Posted: Mon Apr 22, 2019 8:06 pm
by Jerry3904
What kernel are you using?

Code: Select all

uname -r
Quick System Info would probably help as well.

Re: Beep sound shut down

Posted: Mon Apr 22, 2019 8:12 pm
by KBD
Jerry3904 wrote: Mon Apr 22, 2019 8:06 pm What kernel are you using?

Code: Select all

uname -r
Quick System Info would probably help as well.
4.19.0-1-amd64

Code: Select all

System:    Host: mx Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18.2_x64 Continuum Apr 7  2019 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Hewlett-Packard product: HP EliteBook 2560p v: A0001D02 
           serial: <filter> 
           Mobo: Hewlett-Packard model: 162B v: KBC Version 04.1E serial: <filter> 
           BIOS: Hewlett-Packard v: 68SSU Ver. F.02 date: 07/26/2011 
Battery:   ID-1: BAT0 charge: 35.6 Wh condition: 56.5/56.5 Wh (100%) 
           model: Hewlett-Packard Primary status: Charging 
CPU:       Topology: Dual Core model: Intel Core i5-2540M bits: 64 type: MT MCP 
           arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20753 
           Speed: 823 MHz min/max: 800/3300 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 800 
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
           vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.2 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 Mesa 18.2.6 
           direct render: Yes 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
           vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.19.0-1-amd64 
Network:   Device-1: Intel 82579LM Gigabit Network vendor: Hewlett-Packard driver: e1000e 
           v: 3.2.6-k port: 4060 bus ID: 00:19.0 
           IF: eth0 state: down mac: <filter> 
           Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel 
           port: 4040 bus ID: 24:00.0 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 111.79 GiB used: 8.90 GiB (8.0%) 
           ID-1: /dev/sda vendor: Kingston model: SA400S37120G size: 111.79 GiB 
Partition: ID-1: / size: 107.53 GiB used: 7.86 GiB (7.3%) fs: ext4 dev: /dev/sda1 
           ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 292 Uptime: 1h 38m Memory: 7.70 GiB used: 1.04 GiB (13.5%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.33 

Re: Beep sound shut down

Posted: Mon Apr 22, 2019 8:28 pm
by KBD
If I remove 'prompt at logout' the beep disappears, but I don't really want it to always logout, sometimes I want the shutdown option.
Edit: tried doing this and just using an action button set to shutdown and it still beeps :(

Re: Beep sound shut down  [Solved]

Posted: Mon Apr 22, 2019 8:53 pm
by Jerry3904
Good sleuthing! Look at websearch result on "xfce prompt at logout beep" -- you're not the first!

Re: Beep sound shut down

Posted: Mon Apr 22, 2019 9:01 pm
by KBD
Jerry3904 wrote: Mon Apr 22, 2019 8:53 pm Good sleuthing! Look at websearch result on "xfce prompt at logout beep" -- you're not the first!
I tried that 'xset b off' and it had no effect. I can hold the power button and it shuts off without a beep. I found a startup setting for 'beep on startup' and disabled that to no effect. I think I had this problem awhile back on this computer and found a solution, but my searches are bringing me no joy so far :(