gsm-ussd gives device busy or error (100)

Posted by mydoghasworms on Ask Ubuntu See other posts from Ask Ubuntu or by mydoghasworms
Published on 2012-03-26T16:48:16Z Indexed on 2012/03/26 17:39 UTC
Read the original article Hit count: 359

Filed under:
|
|

I am using gsm-ussd to try and query my data balance from my 3G modem.

When I issue the commands

gsm-ussd -m /dev/ttyUSB0 '*188#'

or

gsm-ussd -m /dev/ttyUSB2 '*188#'

I get either "Device or resource busy" (when it is in used and connected) or "Unknown error (100)".

My device (Huawei E173) seems to create 3 devices in /dev, namely ttyUSB0, ttyUSB1 and ttyUSB2. None of them work, and ttyUSB1 gives a somewhat different problem, as it just give the following message:

* Wrong modem device (use -m <dev>)?
* Modem broken (no reaction to AT)

© Ask Ubuntu or respective owner

Related posts about networking

Related posts about modem