summaryrefslogtreecommitdiff
path: root/docs/man/gammu-detect.1
blob: 9dde57610be18fda831592b674caa321860771f7 (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
.\" Man page generated from reStructuredText.
.
.TH "GAMMU-DETECT" "1" "Aug 16, 2016" "1.37.4" "Gammu"
.SH NAME
gammu-detect \- Gammu device detection
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.sp
New in version 1.28.95.

.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
gammu\-detect [OPTIONS]
.ft P
.fi
.UNINDENT
.UNINDENT
.SH DESCRIPTION
.sp
Script to detect available devices, which might be suitable for gammu\&.
.sp
\fBNOTE:\fP
.INDENT 0.0
.INDENT 3.5
This program lists all devices, which might be suitable, it does not do
any probing on devices them self.
.UNINDENT
.UNINDENT
.sp
Currently it supports following devices:
.INDENT 0.0
.IP \(bu 2
USB devices using udev
.IP \(bu 2
Serial ports using udev
.IP \(bu 2
Serial ports on Windows
.IP \(bu 2
Bluetooth devices using Bluez
.UNINDENT
.sp
\fBNOTE:\fP
.INDENT 0.0
.INDENT 3.5
Supported devices depend on platform you are using and compiled in
features. You can find out what is actually compiled in by running
\fBgammu\-detect \-v\fP\&.
.UNINDENT
.UNINDENT
.sp
This program follows the usual GNU command line syntax, with long options
starting with two dashes (\fB\-\-\fP). A summary of options is included below.
.INDENT 0.0
.TP
.B \-h, \-\-help
Show summary of options.
.UNINDENT
.INDENT 0.0
.TP
.B \-d, \-\-debug
Show debugging output for detecting devices.
.UNINDENT
.INDENT 0.0
.TP
.B \-v, \-\-version
Show version information and compiled in features.
.UNINDENT
.INDENT 0.0
.TP
.B \-u, \-\-no\-udev
Disables scanning of udev.
.UNINDENT
.INDENT 0.0
.TP
.B \-b, \-\-no\-bluez
Disables scanning using Bluez.
.UNINDENT
.INDENT 0.0
.TP
.B \-w, \-\-no\-win32\-serial
Disables scanning of Windows serial ports.
.UNINDENT
.SH OUTPUT
.sp
The output of \fI\%gammu\-detect\fP is configuration file for Gammu (see
gammurc) with configuration section for every device which might be
used with gammu\&.
.sp
\fBNOTE:\fP
.INDENT 0.0
.INDENT 3.5
You can choose which section to use in gammu by \fBgammu \-s\fP\&.
.UNINDENT
.UNINDENT
.sp
When invoked as \fBgammu\-detect \-d\fP, also all examined devices are
listed as comments in the output.
.SH EXAMPLE
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
; Configuration file generated by gammu\-detect.
; Please check The Gammu Manual for more information.

[gammu]
device = /dev/ttyACM0
name = Nokia E52
connection = at

[gammu1]
device = /dev/ttyACM1
name = Nokia E52
connection = at

[gammu2]
device = /dev/ttyS0
name = Phone on serial port 0
connection = at

[gammu3]
device = /dev/ttyS1
name = Phone on serial port 1
connection = at

[gammu4]
device = /dev/ttyS2
name = Phone on serial port 2
connection = at

[gammu5]
device = /dev/ttyS3
name = Phone on serial port 3
connection = at

[gammu6]
device = 5C:57:C8:BB:BB:BB
name = Nokia E52
connection = bluephonet
.ft P
.fi
.UNINDENT
.UNINDENT
.SH AUTHOR
Michal Čihař <michal@cihar.com>
.SH COPYRIGHT
2009-2015, Michal Čihař <michal@cihar.com>
.\" Generated by docutils manpage writer.
.