Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a iMac G5 only with Gentoo installed on it and every time I turn it on, it plays the startup chime.

I already have my headset plugged in but this doesn't mute the sound.

Is there a way to turn it off using the Open Firmware or, if this isn't possible, could a script do this ?

share|improve this question

3 Answers 3

You need the sys-apps/powerpc-utils package, then you need to use the nvsetvol tool. Depending on the mac, you'll either want a value of 0 or 24 to turn off the volume. Beware that it will reset if you dual-boot to OSX.

share|improve this answer

Typically you'd use StartupSound.prefPane, but this is a Mac OS X program. You can hold the mute key after powering on to prevent the chime from playing for that boot, but I don't know of a Gentoo-specific way to do this.

share|improve this answer
    
I don't have my original keyboard anymore and even if I had it, would gentoo recognizes the mute key ? –  Studer Feb 10 '10 at 14:38
3  
@Studer, the EFI (akin to the “BIOS” on (older) PCs) plays the startup chime and recognizes boot keys. The EFI will search for an OS and start booting it only after the chime. –  Chris Johnsen Feb 13 '10 at 17:38
    
@Chris EFI didn't exist on mac hardware until the Intel transition--at the time of the G5, it was Open Firmware. –  NReilingh Jan 20 '11 at 4:42
    
See my seperate answer in this question, showing how to use the NVRAM volume via nvsetvol. If you're creative, you can also do it manually in OpenFirmware. –  robbat2 Dec 4 '13 at 1:35

I don't have a Mac, but try to add a line in /etc/modprobe.d/blacklist.conf

blacklist pcspkr
share|improve this answer
    
The kernel is not running when that sound plays. –  Ярослав Рахматуллин Mar 14 '13 at 20:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.