This small app shows a notification when a wired headset is connected. Some earlier devices did that automatically, but newer devices don't seem to do that anymore.