Beep sound shut down

Message
Author
Ashiya
Posts: 2
Joined: Thu Mar 07, 2019 6:29 pm

Beep sound shut down

#1 Post 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...

User avatar
manyroads
Posts: 2623
Joined: Sat Jun 30, 2018 6:33 pm

Re: Beep sound shut down

#2 Post 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
Last edited by manyroads on Wed Mar 20, 2019 10:22 am, edited 1 time in total.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

User avatar
Eadwine Rose
Administrator
Posts: 11958
Joined: Wed Jul 12, 2006 2:10 am

Re: Beep sound shut down

#3 Post 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
MX-23.2_x64 July 31 2023 * 6.1.0-20-amd64 ext4 Xfce 4.18.1 * 8core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 525.147.05 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy 5030

male

Re: Beep sound shut down

#4 Post 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"

User avatar
KBD
Posts: 959
Joined: Sun Jul 03, 2011 7:52 pm

Re: Beep sound shut down

#5 Post 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.

User avatar
Jerry3904
Administrator
Posts: 21937
Joined: Wed Jul 19, 2006 6:13 am

Re: Beep sound shut down

#6 Post by Jerry3904 »

What kernel are you using?

Code: Select all

uname -r
Quick System Info would probably help as well.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
KBD
Posts: 959
Joined: Sun Jul 03, 2011 7:52 pm

Re: Beep sound shut down

#7 Post 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 

User avatar
KBD
Posts: 959
Joined: Sun Jul 03, 2011 7:52 pm

Re: Beep sound shut down

#8 Post 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 :(

User avatar
Jerry3904
Administrator
Posts: 21937
Joined: Wed Jul 19, 2006 6:13 am

Re: Beep sound shut down

#9 Post by Jerry3904 »

Good sleuthing! Look at websearch result on "xfce prompt at logout beep" -- you're not the first!
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
KBD
Posts: 959
Joined: Sun Jul 03, 2011 7:52 pm

Re: Beep sound shut down

#10 Post 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 :(

Post Reply

Return to “General”