Manually using GSM
From Openmoko
(Difference between revisions)
HaraldWelte (Talk | contribs) |
HaraldWelte (Talk | contribs) m (→Powering up the GSM Modem) |
||
Line 26: | Line 26: | ||
* access the GSM Modem UART | * access the GSM Modem UART | ||
<pre> | <pre> | ||
− | root@fic-gta01:~$ cu -l /dev/ | + | root@fic-gta01:~$ cu -l /dev/ttySAC0 |
Connected. | Connected. | ||
AT-Command Interpreter Ready | AT-Command Interpreter Ready |
Revision as of 14:33, 8 February 2007
This is a short guide how to manually get GSM going.
Contents |
Requirements
- GTA01Bv2 or GTA01Bv3 with very recent u-boot bootloader, providing usbtty (serial over USB) support)
- Do not connect any debug board!
Walk-Through
Booting the system
- Make sure the rootfs you use has 'auto usb0' in /etc/network/interfaces
- Configure the host's usb0 interface to 192.168.0.200 netmask 255.255.255.0
- ssh to root@192.168.0.201
Powering up the GSM Modem
- load the "gta01_pm_gsm.ko" kernel module
root@fic-gta01:~$ modprobe gta01_pm_gsm.ko
- verify there is no getty or any other app running on /dev/ttySAC0
root@fic-gta01:~$ lsof | grep ttySAC0
- power-up the GSM Modem
root@fic-gta01:~$ echo "1" > /sys/bus/platform/devices/gta01-pm-gsm.0/power_on
- access the GSM Modem UART
root@fic-gta01:~$ cu -l /dev/ttySAC0 Connected. AT-Command Interpreter Ready OK
Registering with the Network
- enter the following commands:
ATE1 OK AT+CFUN=1 ERROR AT+CPIN="...." OK AT+COPS OK
Anwering an incoming call
RING ATA OK
Dialling an outgoing call
ATD012340234;
Hanging up
ATH OK