Linux – How to get address of connected USB modem

deviceslinuxlinux-mintmodem

I just connected my N81 telephone as USB modem to Linux Mint 14. All works fine, just wondering how to find a full path to this device, something like /dev/tty*.

Best Answer

Probably too late, but it might help others. Wouldn't help you to use mmcli from ModemManager?

$ mmcli -L

Found 1 modems:
    /org/freedesktop/ModemManager1/Modem/4 [Lenovo] H5321 gw

$ mmcli -m 4 

/org/freedesktop/ModemManager1/Modem/4 (device id '34391e5ed3c2b2b7f11d7b36
53147e93414a8c06')
  -------------------------
  Hardware |   manufacturer: 'Lenovo'
           |          model: 'H5321 gw'
           |       revision: 'R3C11'
           |      supported: 'gsm-umts'
           |        current: 'gsm-umts'
           |   equipment id: '358993042510275'
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:14.0/usb3/3-4'
           |        drivers: 'cdc_acm, cdc_wdm, cdc_ncm'
           |         plugin: 'Ericsson MBM'
           |   primary port: 'cdc-wdm2'
           |          ports: 'cdc-wdm2 (at), wwp0s20u4i6 (net), cdc-wdm1 (at), 
ttyACM1 (at), ttyACM2 (gps), ttyACM0 (at)'
  ...
Related Question