On Mon, Jul 16, 2012 at 11:19 PM, Aleksander Morgado <aleksan...@lanedo.com> wrote: > >>>> Hello, it works now! nearly perfect, but still another problem, how >>>> could I lock the >>>> network to 3g(td-scdma), and not automaticly switch back and forth >>>> between >>>> 3g and 2g(edge, sometimes even gprs)? My signal here is sometimes a >>>> little >>>> low, >>>> and I'd like to not switch back to 2g. >>>> >>>> I tried the option 'Type', change it from 'any' to '3G(UMTS/HSPA)', >>>> then the profile >>>> didn't work. >>>> >>>> Again the detailed log. >>>> >>> >>> I cannot see any "AT^SYSCFG" call in that log, which is the >>> Huawei-specific >>> way to get/set allowed modes.. so there's something wrong somewhere. >>> Specifying the allowed mode in the Simple Connect settings should trigger >>> mode change if the current allowed modes are different than the requested >>> ones. >>> >>> Anyway, can you try to run the following between plugging the modem and >>> launching the connection request (assuming here the modem gets index 0)? >>> >>> $> sudo dbus-send \ >>> --system \ >>> --dest=org.freedesktop.ModemManager \ >>> --print-reply \ >>> /org/freedesktop/ModemManager/Modems/0 \ >>> org.freedesktop.ModemManager.Modem.Gsm.Network.SetAllowedMode \ >>> uint32:4 >> >> >> It simply return the following line: >> Error org.freedesktop.ModemManager.Modem.OperationNotSupported: >> Operation not supported >> > > Probably your modem doesn't support mode switching with AT^SYSCFG then...
I just found some manual [1], the command need an '?' after it, thus should be 'AT^SYSCFG?'. [1] http://www.letswireless.com.cn/cn/down/download.asp?id=81&t=en , section 10.6 on page 43 -- Emfox Zhou GnuPG Public Key: 0xF7142EC2
Welcome to minicom 2.6.1 OPTIONS: I18n Compiled on Feb 11 2012, 18:12:55. Port /dev/ttyACM0 Press CTRL-A Z for help on special keys AT^SYSCFG +CME ERROR: 3 AT^SYSCFG? ^SYSCFG: 15,2,,0,2 OK AT^SYSCONFIG? ^SYSCONFIG: 15,2,0,2 OK
_______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list