PDA

View Full Version : (Registry hack) Disabling internal speaker on Mac Mini


shteve
23rd May 2006, 12:59 AM
Hi all,

I've just found a way to disable the internal speaker output on my Mac Mini with the default Boot Camp drivers installed (i.e. no re-installing Intel or Dell drivers on top of)

You need to find the section in the registry corresponding to the sound driver.
It should be under here on all computers:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}

Then beneath that there should be a load of sequential four digit numbers; each one of these is a multimedia driver. On mine the sound device driver was entry 0005 but it may vary on others. You need the one with value Driver = sthda.sys in it.

Under that one, go to the \Settings\GPIO key.

There should be two binary values with names 00 and 01. Both will be set to value 85. Change 00 so it is set to value 05 instead. Regedit should then look like:

(Default) REG_SZ (value not set)
00 REG_BINARY 05
01 REG_BINARY 85

Finally, go to Device Manager and disable then enable the "Sigmatel High Definition Audio CODEC" driver so that it reads the new configuration in.

You should find that only the headphone/line out socket is enabled now, and sound to the internal speaker is cut.

If anyone else tries this, please let me know if it works on your system!

Steve

mcgull
23rd May 2006, 04:02 PM
This worked on my regular MacBook. The only difference was the entry was number 0015 instead of 0005.

Nice work, thanks!

Mike

WhiteEagle
23rd May 2006, 06:40 PM
does mic still work if i do that?

shteve
23rd May 2006, 07:01 PM
This worked on my regular MacBook. The only difference was the entry was number 0015 instead of 0005.

Glad it worked! Do you mean that you changed it from 15 to 05, or from 85 to 15?

does mic still work if i do that?

Yes it should do, I successfully tested it on mine afterwards. I don't know about the SPDIF in/out though as I've nothing to test that with.

AndyB
24th May 2006, 02:50 PM
Thanks for that - worked first time on my Mac Mini, think I had to reboot though. How did you figure that out ?!!

shteve
24th May 2006, 05:24 PM
Thanks for that - worked first time on my Mac Mini, think I had to reboot though. How did you figure that out ?!!

It was all trial and error.. About half a hour of going through various registry settings for the driver and fiddling with the values (adding, deleting, flipping single bits) until I found what affected it.

fernando20
25th May 2006, 03:13 PM
Wow! Thanks a lot dude! Worked perfectly! :)

kaidomac
26th June 2006, 03:15 PM
Hey, let's get this hack out there! I put together a zip file containing the reg files with instructions. I posted a thread over at the Mac Forums to get some beta testers for the different models:

http://www.mac-forums.com/forums/showthread.php?p=226479#post226479

It'd be great if we could get this working across the entire Intel line! shteve and mcgull, I put you guys in the credit if that's okay :) Chime in with your data and I'll see if I can get a final version that supports all of the current Intel machines together! :)

cowneko
26th June 2006, 06:38 PM
Yipiiiiie ;) it works on my Macbook Pro 15"

Here the settings:
Firstly there's no 01 entry, so you only have to modify 00 from 85 to 80 and voila!!!

works like a charm.....

Thanks for the hint!

kaidomac
26th June 2006, 07:42 PM
Yipiiiiie ;) it works on my Macbook Pro 15"

Here the settings:
Firstly there's no 01 entry, so you only have to modify 00 from 85 to 80 and voila!!!

works like a charm.....

Thanks for the hint!

Settings updated in the thread above! Now supports:

-Intel Mini
-MacBook
-MacBook Pro

A few questions:
1. MacBook owners, does your registry have the 00 and 01 entry or just the 00 entry?
2. iMac owners, what settings do you require?

cowneko
26th June 2006, 08:03 PM
To clarify the situation on the macbookpro 15";

As I was saying, there's no 01 entry, instead there's an "AntiPopGpo" entry with 00 02 as Data.........don't know what it is, but it doesn't seem to have any influence on the subject we're talking about

kaidomac
26th June 2006, 08:35 PM
To clarify the situation on the macbookpro 15";

As I was saying, there's no 01 entry, instead there's an "AntiPopGpo" entry with 00 02 as Data.........don't know what it is, but it doesn't seem to have any influence on the subject we're talking about

Would you mind sending me those files? I don't want to lose anything from the MacBook Pro's registry. Just right-click on the GPIO folder in the registry and click "export". Email is wiredbynature%gmail.com, thanks!

TheMagickKnight
6th July 2006, 02:55 AM
Thank you! Finally something that works for my 13.3" MacBook Black. :)

medelle
19th November 2006, 05:17 PM
Has anyone successfully managed to get this to work AFTER the most recent firmware update?

This worked beautifully on my Mac Mini beforehand, but then AFTER I applied the most recent (Nov 13?) firmware update, it over-rode the disabling of my internal speakers.

I have tried re-applying the above registry hack, all to no avail.

Has anyone stumbled across a solution to this?

Thanks!

bdj21ya
19th November 2006, 11:04 PM
StartupSound preference pane is a great way to disable the loud ding on power-on

medelle
20th November 2006, 02:08 AM
Honestly, I could care less about the power on ding.

I am working under windows and I have external speakers hooked up. However, when I play music, or a movie or something, sound plays through BOTH my external speakers AND my internal speakers.

This makes it impossible to listen to something via my headphones without disturbing the other occupants in the room.

I have tried everything I can think of to disable this again.

It only started AFTER I installed the firmware update.

bdj21ya
20th November 2006, 04:47 AM
Honestly, I could care less about the power on ding.


Do you mean could or couldn't? Because if you really mean that you could care less, then I'm kind of confused. If I wanted to, there are a whole lot of things I could care at least a little less about, but I don't think listing them in forums would really make for interesting conversation. :)

medelle
20th November 2006, 05:10 AM
What I meant was simply that the power on ding is not the problem I am encountering.

It does not bother me for the computer to make a sound when it powers on.

The problem I am having is that when I play sound on my computer (Mac Mini) it plays via the internal speakers AND via my external speakers.

I have not found a way since applying the most recent updates to DISABLE the internal speakers. That's all I want to do.

djrobx
20th November 2006, 04:38 PM
I noticed the same thing after the firmware update.