alsactl monitor does not indicate headphone in or transition to/from out on my desktop system.. However, executing diff between pairs of files shows differences in some fields, which I believe may serve to indicate headphone in/out. With desktop and headphones in, speakers remain active. With laptop, speakers are muted with headphones in.