<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div style="" class="">YES,</div><div style="" class="">this works:</div><div style="" class=""> qmicli -d /dev/cdc-wdm0  --nas-set-system-selection-preference="umts|cdma-1x|gsm"<br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">But, from a stupid users perspective, according to man-pages and qmicli -h, this should work:</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
 HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">--nas-set-system-selection-preference=[cdma-1x|cdma-1xevdo|gsm|umts|lte|td-scdma] <br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">Which is not according general syntax specs (as [ and | are treated differently), AND misses the leading/trainling " AND is a bit in contrast to the output of</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
 background-color: transparent; font-style: normal;" class="">root@voyage:/etc/qmi#  qmicli -d /dev/cdc-wdm0  --nas-get-system-selection-preference<br style="" class="">[/dev/cdc-wdm0] Successfully got system selection preference<br style="" class="">        Emergency mode: 'no'<br style="" class="">        Mode preference: 'cdma-1x, gsm, umts'<br style="" class="">Here are "," used for separation. Consistency preferred.</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">How about:<br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;"
 class="">--nas-set-system-selection-preference="cdma-1x[,cdma-1xevdo][,gsm][,umts][,lte][,td-scdma]" </div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">Good docs avoid stupid question from users.<br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;
 background-color: transparent; font-style: normal;" class="">Also having UMTS working now, but speeds fluctuate a lot. I continue checking.<br style="" class=""></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div style="" class="" dir="ltr"> <font style="" class="" face="Arial" size="2"> Aleksander Morgado <aleksander@aleksander.es> schrieb am 9:44 Donnerstag, 29.Mai 2014:<br style="" class=""> </font> </div>  <br style="" class=""><br
 style="" class=""> <div style="" class="">On Thu, May 29, 2014 at 1:32 AM, reiner otto <<a style="" class="" shape="rect" ymailto="mailto:augustus_meyer@yahoo.de" href="mailto:augustus_meyer@yahoo.de">augustus_meyer@yahoo.de</a>> wrote:<br style="" class="" clear="none">> Hurrah, I managed to have the MC7710 up and running on my embedded debian.<br style="" class="" clear="none">> But only using GSM ;-(<br style="" class="" clear="none">> PING 8.8.8.8 takes about 1s average.<br style="" class="" clear="none">> Surfing the web is quite sloooooooooooow.<br style="" class="" clear="none">><br style="" class="" clear="none">> Using the same SIM on a cheap ZTE USB-stick under WIndows is much faster,<br style="" class="" clear="none">> using UMTS.<br style="" class="" clear="none">> What I consider interesting:<br style="" class="" clear="none">><br style="" class="" clear="none">> [/dev/cdc-wdm0] Successfully got system
 selection preference<br style="" class="" clear="none">>         Emergency mode: 'no'<br style="" class="" clear="none">>         Mode preference: 'cdma-1x, gsm'<br style="" class="" clear="none">>         Band preference: 'gsm-dcs-1800, gsm-900-extended, gsm-900-primary,<br style="" class="" clear="none">> gsm-pcs-1900, wcdma-2100, bc-15'<br style="" class="" clear="none">>         LTE band preference: '1, 3, 7, 8, 20'<br style="" class="" clear="none">>         Roaming preference: 'any'<br style="" class="" clear="none">>         Network selection preference: 'automatic'<br style="" class="" clear="none">>         Service domain preference: 'cs-ps'<br style="" class="" clear="none">>         Service selection preference: 'automatic'<br style="" class=""
 clear="none">> <a style="" class="" shape="rect" ymailto="mailto:root@voyage" href="mailto:root@voyage">root@voyage</a>:/etc/firewall#  qmicli -d /dev/cdc-wdm0<br style="" class="" clear="none">> --nas-set-system-selection-preference=umts<br style="" class="" clear="none">> error: couldn't set operating mode: QMI protocol error (25):<br style="" class="" clear="none">> 'DeviceUnsupported'<br style="" class="" clear="none">><br style="" class="" clear="none">> BUT<br style="" class="" clear="none">><br style="" class="" clear="none">> [/dev/cdc-wdm0] Device capabilities retrieved:<br style="" class="" clear="none">>         Max TX channel rate: '50000000'<br style="" class="" clear="none">>         Max RX channel rate: '100000000'<br style="" class="" clear="none">>                Data Service: 'simultaneous-cs-ps'<br style="" class=""
 clear="none">>                         SIM: 'supported'<br style="" class="" clear="none">>                    Networks: 'gsm, umts, lte'<br style="" class="" clear="none">><br style="" class="" clear="none">> l# lsusb<br style="" class="" clear="none">> Bus 002 Device 002: ID 1199:68a2 Sierra Wireless, Inc.<br style="" class="" clear="none">> Using qmi_wwan.c from kernel 3.4.14<br style="" class="" clear="none">> (When I wrote device drivers in the very past, in various Assemblers, it was<br style="" class="" clear="none">> a good style to have a version number in the src, updated even in case some<br style="" class="" clear="none">> data structures were modifed only. And a modification history kept in the<br style="" class="" clear="none">> src etc. :-)<br style="" class="" clear="none">><br style="" class=""
 clear="none">> Frequencies should be these:<br style="" class="" clear="none">> uplink: 1959,9 – 1969,8 MHz<br style="" class="" clear="none">> downlink: 2149,9 – 2159,8 MHz<br style="" class="" clear="none">><br style="" class="" clear="none">> According to Mobile Provider, verified using USB-Modem Stick under WIndows<br style="" class="" clear="none">> GSM/UMTS/HSPA (3G/H/H+) is good at my place.<br style="" class="" clear="none">> Any idea, how to switch to umts ?<br style="" class="" clear="none"><br style="" class="" clear="none"><br style="" class="" clear="none">Have you tried --set-system-selection-preference="gsm|umts" ?<br style="" class="" clear="none"><br style="" class="" clear="none">-- <br style="" class="" clear="none">Aleksander<br style="" class="" clear="none"><a style="" class="" shape="rect" href="https://aleksander.es/" target="_blank">https://aleksander.es</a><div style="" class="" id="yqtfd01689"><br
 style="" class="" clear="none">_______________________________________________<br style="" class="" clear="none">libqmi-devel mailing list<br style="" class="" clear="none"><a style="" class="" shape="rect" ymailto="mailto:libqmi-devel@lists.freedesktop.org" href="mailto:libqmi-devel@lists.freedesktop.org">libqmi-devel@lists.freedesktop.org</a><br style="" class="" clear="none"><a style="" class="" shape="rect" href="http://lists.freedesktop.org/mailman/listinfo/libqmi-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libqmi-devel</a><br style="" class="" clear="none"></div><br style="" class=""><br style="" class=""></div>  </div> </div>  </div> </div></body></html>