1 # gsmd This shell script configures for the gsmd init script.
3 . /etc/init.d/functions
7 GSMD_OPTS="-s 115200 -F"
8 if [ -d '/sys/bus/platform/devices/gta01-pm-gsm.0' ] ; then
9 GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on"
10 GSM_RES="/sys/bus/platform/devices/gta01-pm-gsm.0/reset"
12 GSM_POW="/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on"
13 GSM_RES="/sys/bus/platform/devices/neo1973-pm-gsm.0/reset"
15 GSM_DEV="/dev/ttySAC0"
16 GSM_DL="/sys/devices/platform/neo1973-pm-gsm.0/download"
18 "htc_apache"|"htc_blueangel"|"htc_universal")
19 GSMD_OPTS="-s 115200 -F"
23 GSMD_OPTS="-s 115200 -F"
27 GSMD_OPTS="-s 115200 -F"
31 GSMD_OPTS="-s 460800 -F -w 1"
34 "motorola_ezx_platform")
35 GSMD_OPTS="-s 115200 -F -v ti"
41 # If you must specify special options, uncomment and modify the next line
42 #GSMD_OPTS="-s 115200 -F"
44 # If your GSM device needs to be powered up, uncomment and modify the next line
45 #GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on"
47 # If your GSM device then needs to be reset, uncomment and modify the next line
48 #GSM_RES="/sys/bus/platform/devices/gta01-pm-gsm.0/reset"
50 # This should be in a common /etc/default/serial, together with
51 # BT_DEV and IR_DEV for devices that have those on a serial port