fix serial port info issue on linux