A homicide investigation is underway after a man was found dead in a San Bernardino County home.