I tried to do it as: sudo socat - /dev/ttyACM0using minicom in Linux to access serial devices. So, in the interest of helping save you some time, here is a quick write up on using minicom with a USB/Serial adapter to talk to your TNC, specifically, a KPC.In Linux (Ubuntu) I am trying to send AT commands to a modem at /dev/ttyACM0. It was at this point that I realized I had forgotten more about Linux (and minicom) than I had about the commands needed to control the TNC.
Then select E to set the Bps/Par/Bits. To change the serial device to what you have, select A and adjust it to your particular serial interface. Arrow down to Serial port setup entry. This will bring you to a ncurses style menu system.
Figure you which USB device to use with: ls /dev/ttyACM* /dev/ttyUSB* Type CTRL+ALT+T to enter the crosh shell. You need a Chromium OS device with a test image installed (or you can use gmerge socat if you are familiar with the dev server). On a Chromium OS device with the developer mode enabled, you can use the socat command to communicate with the modem.
"AT+CGMI", "AT+CGSN", etc. Ensure that the modem is enabled with the command: "AT+CFUN=1"For example: crosh> ~ $ sudo stop ~ $ ls /dev/ttyACM* /dev/ttyUSB*/dev/ttyUSB0 /dev/ttyUSB1 ~ $ socat - /dev/ttyUSB1Depending on the modem, you can try different AT commands, e.g. Type sudo socat - /dev/ttyACM1,crnl or sudo socat - /dev/ttyUSB0 to communicate with the modem.