Me deparei com este post do projeto Chromium que mostra o que você deseja. É intitulado: Depurando um modem celular .
trecho dessa página
Communicating directly with a modem with the AT command set
Most modems support AT commands which control the modem and query for information. On a Chromium OS device with the developer mode enabled, you can use the socat command to communicate with the modem. 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) . For example:
- Type CTRL+ALT+T to enter the crosh shell.
- Type shell to enter the bash shell.
- Figure you which USB device to use with: ls /dev/ttyACM* /dev/ttyUSB*
- Stop modem manager if it is running: sudo stop modemmanager
- Type sudo socat - /dev/ttyACM1,crnl or sudo socat - /dev/ttyUSB0 to communicate with the modem.
- Ensure that the modem is enabled with the command: "AT+CFUN=1"
For example:
crosh> shell chronos@localhost ~ $ sudo stop modemmanager chronos@localhost ~ $ ls /dev/ttyACM* /dev/ttyUSB* /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 chronos@localhost ~ $ socat - /dev/ttyUSB1 ATZ OK AT+CFUN=1 OK ATI Manufacturer: Qualcomm Incorporated Model: ...... Revision:.... ESN: 0x80d... +GCAP: +CIS707A, .... chronos@localhost ~ $
Depending on the modem, you can try different AT commands, e.g. "AT+CGMI", "AT+CGSN", etc.