Quoth Michael Spacefalcon: > Because I am the kind of guy who finds it easier to write his own > program than to learn how to use one that already exists, I've been > using my own ad hack tool called engcons to talk AT commands to the > modem in my Neo FR. The engcons.c source is appended at the end of > this post; you'll need to compile and run it on your FR. Use it like > this: > > # stop QtMoko > /etc/init.d/qtmoko-neo stop > # power-cycle the modem > echo 0 > /sys/bus/platform/devices/gta02-pm-gsm.0/power_on > echo 1 > /sys/bus/platform/devices/gta02-pm-gsm.0/power_on > # run engcons to talk AT commands > engcons /dev/ttySAC0 r115200 > > Once you do the above, you should be in a state where you can type AT > commands and see the expected responses. Try AT+CGMI, AT+CGMM, AT+CGMR, > AT+CFUN=1, AT+COPS and AT+COPS=?, and post the results you get.
OK, I compiled engcons.c on my FR. It took a bit of doing, 'cos the uSD reader is broken, so I am very space-limited (so apt-get doesn't work), but eventually I got gcc & libc6-dev installed with dpkg. Interesting results: root@neo:~# ./engcons /dev/ttySAC0 r115200 Starting session AT-Command Interpreter ready OK AT+CGMI +CGMI: FIC/OpenMoko OK AT+CGMM +CGMM: "Neo1973 GTA01/GTA02 Embedded GSM Modem" OK AT+CGMR +CGMR: "GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko11" OK AT+CFUN=1 OK AT+COPS=? +COPS: (1,"T-Mobile ","T-Mobile","310260") OK In a different session I ran AT+COPS, but it never seemed to return, so I cycled the modem power and started again, and AT+COPS=? returned. If I'm not mistaken the above means that only T-Mobile is found. Which I'm guessing implies that AT&T have decided to turn off GSM here. Which would be ... annoying. Nick _______________________________________________ Openmoko community mailing list firstname.lastname@example.org http://lists.openmoko.org/mailman/listinfo/community