blob: 6da401153684281500b6f260e40c7679a60e32a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
.. _faq-config:
Configuring Gammu FAQ
=====================
.. _faq-config-at:
How to configure 3G/UMTS/... modem or AT capable phone?
-------------------------------------------------------
As most modems support AT commands, this is pretty easy and you should use
``at`` :config:option:`Connection`. For :config:option:`Device` you should use
device name as modem appears in your system, for example ``/dev/ttyACM0`` or
``COM7:``.
Some modems expose more serial ports and you need to carefully choose the right
one - for example only one of them can receive USSD notifications.
.. note::
On Linux, you might have to install `usb-modeswitch`_ to make your modem
acutally behave like a modem and not like a disk containing drivers for
Windows.
.. seealso:: :ref:`faq-devname`, :ref:`gammurc`
.. _usb-modeswitch: http://www.draisberghof.de/usb_modeswitch/
Example configuration on Linux:
.. code-block:: ini
[gammu]
device = /dev/ttyACM3
connection = at
Example configuration on Windows:
.. code-block:: ini
[gammu]
device = COM12:
connection = at
.. _faq-config-symbian:
How to configure Symbian based phone?
-------------------------------------
The only support for Symbian phones is using applet installed to phone and
Bluetooth connection. You should use ``blues60`` :config:option:`Connection`
and Bluetooth address of phone as :config:option:`Device`.
.. seealso:: :ref:`s60`, :ref:`gammurc`
.. note::
Do not forget to start the applet before trying to connect to the phone.
Example configuration:
.. code-block:: ini
[gammu]
device = 11:22:33:44:55:66 # Bluetooth address of your phone
connection = blues60
.. _faq-config-nokia:
How to configure Nokia phone?
-----------------------------
If you have Series 40 (S40) phone, it should work using either Bluetooth or USB
cable.
For Bluetooth connection, ``bluephonet`` :config:option:`Connection` is always
the right choice with Bluetooth address of phone as :config:option:`Device`.
For USB cable choosing the right connection type is more tricky and depends on
generation of your phone. Newest phones usually work with ``dku2`` and the
older ones with ``dlr3`` as :config:option:`Connection`.
Should you have old phone with serial cable (and USB to serial converter),
``fbus`` :config:option:`Connection` is the right one.
.. seealso:: :ref:`gammurc`
Example configuration for Bluetooth:
.. code-block:: ini
[gammu]
device = 11:22:33:44:55:66 # Bluetooth address of your phone
connection = bluephonet
Example configuration for newer phones:
.. code-block:: ini
[gammu]
connection = dku2
Example configuration for older phones on Linux:
.. code-block:: ini
[gammu]
device = /dev/ttyACM3
connection = dlr3
Example configuration for older phones on Windows:
.. code-block:: ini
[gammu]
device = COM12:
connection = dlr3
How to configure phone not listed above?
----------------------------------------
First check whether your phone is supported. In case it is, it most likely
falls into one of above categories.
You can also find additional user experiences in `Gammu Phones Database`_.
.. seealso:: :ref:`faq-phones`, :ref:`gammurc`
.. _Gammu Phones Database: http://wammu.eu/phones/
|