diff options
Diffstat (limited to 'meta/packages/libgsmd/files/default')
| -rw-r--r-- | meta/packages/libgsmd/files/default | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/packages/libgsmd/files/default b/meta/packages/libgsmd/files/default new file mode 100644 index 0000000000..761100f702 --- /dev/null +++ b/meta/packages/libgsmd/files/default | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | # gsmd This shell script configures for the gsmd init script. | ||
| 2 | |||
| 3 | . /etc/init.d/functions | ||
| 4 | |||
| 5 | case `cpuinfo_id` in | ||
| 6 | "GTA01"|"GTA02") | ||
| 7 | GSMD_OPTS="-s 115200 -F" | ||
| 8 | GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on" | ||
| 9 | GSM_RES="/sys/bus/platform/devices/gta01-pm-gsm.0/reset" | ||
| 10 | GSM_DEV="/dev/ttySAC0" | ||
| 11 | ;; | ||
| 12 | "HTC Apache"|"HTC Blueangel"|"HTC Universal") | ||
| 13 | GSMD_OPTS="-s 115200 -F" | ||
| 14 | GSM_DEV="/dev/ttyS0" | ||
| 15 | ;; | ||
| 16 | "HTC Himalaya") | ||
| 17 | GSMD_OPTS="-s 115200 -F" | ||
| 18 | GSM_DEV="/dev/ttyS2" | ||
| 19 | ;; | ||
| 20 | "HTC Magician") | ||
| 21 | GSMD_OPTS="-s 115200 -F" | ||
| 22 | GSM_DEV="/dev/ttyS1" | ||
| 23 | ;; | ||
| 24 | "Palm Treo 650") | ||
| 25 | GSMD_OPTS="-s 460800 -F -w 1" | ||
| 26 | GSM_DEV="/dev/ttyS0" | ||
| 27 | ;; | ||
| 28 | "Motorola Ezx Platform") | ||
| 29 | GSMD_OPTS="-s 115200 -F -v ti" | ||
| 30 | GSM_DEV="/dev/mux0" | ||
| 31 | ;; | ||
| 32 | *) | ||
| 33 | # Unknown board | ||
| 34 | |||
| 35 | # If you must specify special options, uncomment and modify the next line | ||
| 36 | #GSMD_OPTS="-s 115200 -F" | ||
| 37 | |||
| 38 | # If your GSM device needs to be powered up, uncomment and modify the next line | ||
| 39 | #GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on" | ||
| 40 | |||
| 41 | # If your GSM device then needs to be reset, uncomment and modify the next line | ||
| 42 | #GSM_RES="/sys/bus/platform/devices/gta01-pm-gsm.0/reset" | ||
| 43 | |||
| 44 | # This should be in a common /etc/default/serial, together with | ||
| 45 | # BT_DEV and IR_DEV for devices that have those on a serial port | ||
| 46 | #GSM_DEV="/dev/ttyS1" | ||
| 47 | ;; | ||
| 48 | esac | ||
