aboutsummaryrefslogtreecommitdiffstats
path: root/docs/headset.html
blob: d517ba52d3c33e49bfcd0f4c76574e4a249cb11b (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
<html>
<head>
<link href="style.css" rel="stylesheet" type="text/css" />
<title>osmocom-analog</title>
</head>
<body>
<center><table><tr><td>

<h2><center>Connecting headset</center></h2>

<p>
You need a headset and a second audio device.
I use a cheap 'LogiLink' USB sound adapter and a Headset with microphone.
</p>

<center><img src="headset.jpg"/></center>

<p>
You may use an USB sound adapter and a headset or a USB headset with built-in sound card.
Check 'alsamixer' if the sound adapter has been detected.
Press 'F6' to select the headset or the sound adapter connected to the headset.
</p>

<center><img src="alsa-select.png"/></center>

<p>
Mute the microphone, so you wont hear yourself if you speak into the microphone.
Be sure to press 'F3' to change into Playback view.
Mute playback and not recording from microphone.
To mute, select he microphone with the cursor keys and press 'm'.
</p>

<center><img src="alsa-mute.png"/></center>

<p>
To get the device, run 'arecord -l' and you get the following list, if you have two sound cards:
</p>

<pre>

# arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269VB Analog [ALC269VB Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

</pre>

<p>
You see your card 0 and device 0: This should be the sound card you connect to your radio equipment.
There is also the second sound device: In my case it is card 2 and device 0.
Connect the second sound device to your headset and use '-c hw:2,0" (card 2, device 0) to tell the base station to select this sound device for your headset.
</p>

<p>
To calibrate audio level, run some music player and adjust output volume, so you hear the music at regular speech volume.
Use 'alsamixer' to change the output volume of your second sound card.
This calibration must be done before calibrating the microphone.
To calibrate input level (microphone), run the B-Netz base station with loop-back test 3.
</p>

<pre>

# src/bnetz/bnetz -k 1 -L 3 -c hw:2,0
bnetz.c:268 info   : Entering IDLE state, sending 'Gruppenfreisignal' 2 on channel 1.
Base station ready, please tune transmitter to 153.010 MHz and receiver to 148.410 MHz.
To call phone, switch transmitter using pilot tone to 153.370 MHz

</pre>

<p>
Now you should hear yourself when you speak into the microphone.
You should also notice a short delay, but this is normal.
Now it is time to calibrate the microphone:
Use 'alsamixer' to adjust input level, so that you hear your voice at regular speech volume.
Be sure to select Capture view by pressing 'F4'.
</p>

<center><img src="alsa-mic.png"/></center>

<p>
I also had to mute the "Auto Gain Control", as found in the Playback View by pressing 'F4'.
I muted it using 'm' key.
</p>

<p>
Finally store the settings using "alsactl store" command.
Do this whenever you want to keep your adjustments.
</p>

[<a href="index.html">Back to main page</a>]
</td></tr></table></center>
</body>
</html>