You are not logged in.
Lately I installed arch on an old laptop and as soon as I press enter at the grub menu, there was a loud high pitch sound for a brief moment, the outcome was damaged speaker.
I thought it has to do with the bios.
yesterday I used the same usb to fix a problem with my daily driver and it happened again, thankfully no damage.
Is there a way to disable to disable this sound?
Offline
I have no idea what the sound could be (i.e., what's causing it), but if it's coming from the main board speaker, you can blacklist the pcspkr kernel module by editting the command line in the boot loader.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
How does it work on a live usb? should I modify the grub.cfg?
modprobe.blacklist=pcspkr
menuentry "Arch Linux install medium (x86_64, UEFI)" --class arch --class gnu-linux --class gnu --class os --id 'archlinux' {
set gfxpayload=keep
search --no-floppy --set=root --label ARCH_202211
linux /arch/boot/x86_64/vmlinuz-linux archisobasedir=arch archisolabel=ARCH_202211 modprobe.blacklist=pcspkr
initrd /arch/boot/intel-ucode.img /arch/boot/amd-ucode.img /arch/boot/x86_64/initramfs-linux.img
}Offline
Are you making your own iso? If you are using the stock iso, you cant modify anything. I suggested editing the kernel line:
https://wiki.archlinux.org/title/Kernel_parameters
But yes, there you'd just add modprobe.blacklist=pcspkr
Last edited by Trilby (2022-11-09 00:11:13)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'm not making an iso. I just want to disable this noise on a live usb, as it is annoying and it may damage speakers.
Offline