Diamine compounds, which in particular are useful as precursors for the production of liquid crystal alignment layers, represented by general formula (I), wherein A1 represents an organic group of 1 to 40 carbon atoms; A2 represents a hydrogen atom or an organic group of 1 to 40 carbon atoms.