You are not logged in.

#1 2022-11-08 14:17:17

amad3v
Member
Registered: 2022-10-06
Posts: 5

archlinux installation media high pitch sound

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

#2 2022-11-08 14:20:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: archlinux installation media high pitch sound

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

#3 2022-11-08 22:34:55

amad3v
Member
Registered: 2022-10-06
Posts: 5

Re: archlinux installation media high pitch sound

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

#4 2022-11-09 00:09:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: archlinux installation media high pitch sound

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

#5 2022-11-14 12:40:58

amad3v
Member
Registered: 2022-10-06
Posts: 5

Re: archlinux installation media high pitch sound

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

Board footer

Powered by FluxBB