Diamine compounds, which in particular are useful as precursors for the production of liquid crystal alignment layers, are represented by the general formula I: