summaryrefslogtreecommitdiffstats
path: root/hdlcutil/smmixer.8
blob: 748e64a22b42d2d763089b6db02fce14c78a282a (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
.\" Copyright 1996 Thomas Sailer (t.sailer@alumni.ethz.ch)
.\" May be distributed under the GNU General Public License
.\" "
.TH SMMIXER 8 "1 October 1996" "Smmixer 0.1" "Linux Programmer's Manual"
.SH NAME
smmixer \- get/set Linux soundcard packet radio modem driver mixer
.SH SYNOPSIS
.B smmixer
.B "[\-i device]"
.BR "[ " params " ]"

.SH DESCRIPTION
.B smmixer
displays and/or sets the input source and input and output levels of a
soundcard modem port.

.SH OPTIONS
.B smmixer
accepts the following option:

.TP
.B \-i
The
.I device
argument specifies the soundcard modem device which should be configured or
interrogated.  It will usually have the following form:
.I sm[0-3].

.SH PARAMETERS
The
.B AD1848 (WSS)
mixer accepts the following parameters:
.TP
.B ol=val
sets the level of the left output to the specified value. Legal values are from
-100..0dB.
.TP
.B or=val
sets the level of the right output to the specified value. Legal values are from
-100..0dB.
.TP
.B o=val
sets the level of both outputs to the specified value. Legal values are from
-100..0dB.
.TP
.B il=val
sets the level of the left input to the specified value. Legal values are from
0..43dB.
.TP
.B ir=val
sets the level of the right input to the specified value. Legal values are from
0..43dB.
.TP
.B i=val
sets the level of both inputs to the specified value. Legal values are from
0..43dB.
.TP
.B sl=val
sets the source of the left input to the specified value. Legal values are
.I line, aux1, mic
or
.I dac.
.TP
.B sr=val
sets the source of the right input to the specified value. Legal values are
.I line, aux1, mic
or
.I dac.
.TP
.B s=val
sets the source of both inputs to the specified value. Legal values are
.I line, aux1, mic
or
.I dac.

.in \n[IN]u
The
.B CT1335 (SB2.x)
mixer accepts the following parameter:
.TP
.B o=val
sets the output level to the specified value. Legal values are from -46..0dB.

.in \n[IN]u
The
.B CT1345 (SBPro)
mixer accepts the following parameters:
.TP
.B ol=val
sets the level of the left output to the specified value. Legal values are from
-46..0dB.
.TP
.B or=val
sets the level of the right output to the specified value. Legal values are from
-46..0dB.
.TP
.B o=val
sets the level of both outputs to the specified value. Legal values are from
-46..0dB.
.TP
.B s=val
sets the input source to the specified value. Legal values are
.I mic, cd
or
.I line.

.in \n[IN]u
The
.B CT1745 (SB16, SB32 AWE)
mixer accepts the following parameters:
.TP
.B ol=val
sets the level of the left output to the specified value. Legal values are from
-62..18dB.
.TP
.B or=val
sets the level of the right output to the specified value. Legal values are from
-62..18dB.
.TP
.B o=val
sets the level of both outputs to the specified value. Legal values are from
-62..18dB.
.TP
.B il=val
sets the level of the left input to the specified value. Legal values are from
-62..18dB.
.TP
.B ir=val
sets the level of the right input to the specified value. Legal values are from
-62..18dB.
.TP
.B i=val
sets the level of both inputs to the specified value. Legal values are from
-62..18dB.
.TP
.B s=val
enables the specified value as a source. Legal values are
.I line, line.l, line.r, midi, midi.l, midi.r, cd, cd.l, cd.r
or
.I mic.

.SH CONSIDERATIONS
It is important that the audio levels of your radio match those of the
soundcard. To help achieve this, use the
.I smdiag
utility.

This utility can only be used after the interface is started up, i.e. after
ifconfig sm? up.

The sound driver and the soundcard modem driver are mutually exclusive, i.e. they
cannot both access the same soundcard at the same time. Even worse, the sound driver
reserves the soundcard as soon as it gets loaded. The souncard modem driver however
reserves the card only when the interface is started, i.e. during ifconfig if up.

9600 baud may not currently work on SoundBlaster cards with DSP revision 4.x, i.e.
SB16 and SB32 AWE. This is because they seem to not be fully backwards compatible.

.SH "SEE ALSO"
.BR smdiag " (8), " sethdlc " (8),"
linux/drivers/net/soundmodem.c

.SH AUTHOR
smmixer was written by Thomas Sailer (t.sailer@alumni.ethz.ch).