OSX 10.10.3, also reproducible on 10.8, doesn't seem to happen on 10.11
- Go to System preferences > Audio > Input
- Set input volume to 0 (this is important)
Run this script in Terminal
sudo osascript -e "set volume input volume 100"
This script should set mic to max volume and un-mute it accordingly, but for Mac OS < 10.11, the microphone stays muted, despite of the fact that the input volume bar is now set to maximum.
The following AppleScript works:
tell application "System Events" set volume input volume 100 end tell tell application "System Preferences" set current pane to pane id "com.apple.preference.sound" end tell tell application "System Events" tell process "System Preferences" set visible to false click radio button "input" of tab group 1 of window "Sound" perform action "AXIncrement" of slider 1 of group 2 of tab group 1 of window "Sound" end tell end tell tell application "System Preferences" quit end tell
But unfortunately it cannot be executed without a permission from user to Accessibility (that requires relatively difficult actions from user).
Tried to kill coreaudiod, VDCAssistant. Kext unload/load is very dangerous and not reliable, shouldn't be considered.
- Can you reproduce it in OSX < 10.11?
- Is there any other way to fix this bug? Terminal commands? Triggering some apps? Killing some processes? Modifying some plists? Anything else?