disable X mode, add com port support