You are not logged in.
Pages: 1
Hello.
My laptop beeps whenever I plug/unplug the AC adapter under windows and before it boot into the OS, but for some reason I do not hear the beeps under Arch Linux. Following the wiki, I have already tried the following:
- unmute beep in Alsa
- xset -b on
- set bell-style audible in inputrc
- enabling bells on my terminal (st terminal)
- enabling pcspkr module
- tried enabling snd-pcsp, but it's not found
I also tried using the beep command, and while there was no sounds, it seems like it did tried to beep
$ beep --verbose
beep: Verbose: evdev driver_detect 0x56464dd50700 (nil)
beep: Verbose: b-lib: opened /dev/input/by-path/platform-pcspkr-event-spkr as 3
beep: Verbose: beep: using driver 0x56464dd50700 (name=evdev, fd=3, dev=/dev/input/by-path/platform-pcspkr-event-spkr)
beep: Verbose: 1 times 200 ms beeps (100 ms delay between, 0 ms delay after) @ 440 Hz
beep: Verbose: evdev driver_begin_tone 0x56464dd50700 440
beep: Verbose: evdev driver_end_tone 0x56464dd50700
beep: Verbose: evdev driver_end_tone 0x56464dd50700
beep: Verbose: evdev driver_fini 0x56464dd50700Trying to beep via ASCII code doesn't work either, but using Alsa's speaker-test works ok.
Funny enough, the speakers make a weird sound when the beep is supposed to come out, it makes a sound similar to when you turn speakers on with no audio, like a muted sound. I can hear music and stuff perfectly fine so it's not a hardware problem.
Any ideas on how to enable beeps?
Last edited by Kasumin (2021-11-15 01:33:58)
Offline
pactl list modules | grep bellhttps://wiki.archlinux.org/title/PulseA … ell_Events
Are you looking for the speaker or some audible event on AC plugs?
https://wiki.archlinux.org/title/Udev#T … _udev_rule - the example isn't very good but provides a pattern for AC events and you probaly don't have to care about user/display/etcetc. to play a sound (maybe the user and session, but mpv & mplayer allow you to use alsa directly)
Offline
Hello. The output for the command you posted is:
$ pactl list modules | grep bell
Name: module-x11-bell
module.description = "X11 bell interceptor"I also created the Pulse file specified on the wiki but it didn't change anything.
Are you looking for the speaker or some audible event on AC plugs?
I believe the AC plugs are handled by the bios because they work as expected before booting into the OS, so the issue is most probably the pc speaker configuration in Arch. I also want to set up some bell notifications using the beep command but as I said, not even that makes any sounds.
Offline
Does the grep hit before or after you made any changes to PA?
(Did you run "pactl load-module module-x11-bell" before "pactl list modules | grep bell"?)
Let's see some context & settings:
pactl list modules | grep -C10 bellI believe the AC plugs are handled by the bios
in that case you'd hear a solid BEEEEEP from the speaker because the BIOS wouldn't care about the OS - it most likely hands this function off.
Since and if PA takes control, the issue will be around its config. As you can hear "something" (Check "mpv /usr/share/sounds/freedesktop/stereo/bell.oga" for comparism): did you try "xset b 100" to raise the volume?
Offline
Have you had any success with resolving this? I'm having the exact same thing happen: A very silent popping sound, but no beep; no error messages whatsoever; and a working speaker as the BIOS beep does sound normal. And, to add insult to injury, GRUB beeps as well.
Last edited by senthor (2022-05-31 16:28:07)
Offline
Pages: 1