summaryrefslogtreecommitdiff
path: root/docs/modems
diff options
context:
space:
mode:
Diffstat (limited to 'docs/modems')
-rw-r--r--docs/modems/ninotnc.md51
-rw-r--r--docs/modems/qtsm.md143
2 files changed, 191 insertions, 3 deletions
diff --git a/docs/modems/ninotnc.md b/docs/modems/ninotnc.md
index 11ece8b..7cfb900 100644
--- a/docs/modems/ninotnc.md
+++ b/docs/modems/ninotnc.md
@@ -50,11 +50,20 @@ Superseded (but still supported) modes:
| 1100 | 300 | 300 | AFSK | AX.25 | 300 AFSK IL2P | SSB | 500Hz | Backwards compatibility with legacy HF packet modems. Modulation invented c. 1962! |
| 1101 | 300 | 300 | AFSK | IL2P | 300 AFSK IL2P+CRC | SSB | 500Hz | IL2P improvement of AFSK 300 baud AX.25. |
-Prefer:
+Our order of preference for modes at UKPR are:
+
* QPSK > BPSK > DPSK > AFSK
* IL2P+CRC > IL2P > IL2P > AX.25
* SSB > FM
+Why? Simply put, see the below three statements but tread carefully. Not all things are equal, and not all rigs are capable of 'optimum' performance. Perfection is the enemy of good enough, so please endeavour to get something working, not something perfect.
+
+Modulation: These modes offer increasing bandwidth efficiency, with QPSK being our over SSB being our preferred - AFSK over FM is the least efficient mode.
+
+Protocol: IL2P+CRC is the most resilent mode against corruption or data loss as it transits the air, with AX.25 being unprotected against this.
+
+Mode: SSB is preferred as the channels are narrower and allow for more flexibility - tigher filtering and better amplification per hz. FM is good enough, however.
+
### Signals Switch
#### Switch 1 - Transmit audio range selection - DATA/MIC
@@ -76,3 +85,43 @@ Leave in the off / down / AC position unless you have a rare case where having t
#### Switch 4 - External carrier detect - EN/CD
Leave in the off / down / CD position unless you want to provide external transmit inhibit using pin 2 of the DB9 connector.
+
+## Debugging Strategies
+
+Link not working as well as you want? Can your friends not hear you? Can you not hear them? Let's take it back to basics and see if we can find the problem.
+
+Let's strip the complete system back. Make sure that BPQ or other node software is stopped - it's going to want to take over the modem and that'll get in the way. This will be easiest if you can connect to your TNC with a client such as QtTermTCP that offers both monitor *and* interactive panes. If you're running the [linux stack](../config/linux.md), you can run `sudo axlisten -ac` to see the data decoded by your modem.
+
+### No Received Signal
+
+Not seeing anything in the monitor? We need to think about two things here: Is the modem receiving signals from the radio, and is the computer receiving signals from the modem. Let's eliminate each issue one step at a time.
+
+#### Radio -> Modem Fault
+
+First off, [check the radio](../qtsm/#check-the-radio) and [check the cable](../qtsm/#check-the-cable). Check if the radio is set up for outputting audio through the accessory socket you're using, and it's in the correct mode (1200bd vs 9600bd - check your manual). A good test here is can you *hear* the signal you want to decode? If you can hear it, we need to find out why your modem can't. As the faster modes sound quite close to white noise, this doesn't always hold true, but it's a least a starter. Perhaps combine eyes and ears and watch the S-meter too!
+
+I often confuse the 9600bd and 1200bd lines on my interface cable - have a look to see if you've done the same. More often than not, this has melted my head during cable construction, or I'm using the cable for my [UHF Radio](../equipment/ft-7900.md) on my [HF Radio](../equipment/ft-891.md).
+
+Next up: is your modem in the right mode? Look online at either the node's website or [UKPRN Website](https://ukpacketradio.network) for hints and clues or [ask questions](../../beginners-guide/#ask-for-help) of your peers - we're here to help.
+
+Finally - is your radio outputting enough audio? Is it too much audio? Look at the LEDs on your NinoTNC. Here is a guideline of how to read them:
+
+
+#### Modem -> Computer Fault
+
+Is your modem decoding a signal?
+
+You can tell by the RX DCD / Green LED lighting when a packet is successfully received & decoded.
+
+It's being powered, and that's presumably from the computer USB port, but maybe it's not connected properly.
+
+Check if it is a serial device: run `ls /dev | grep ttyACM`, unplug the modem and run the command again. If there's a difference, when you plug it back in and rerun the command (for a third time, yes!) you should see a new device appear, and appear similar to below:
+
+```
+hibby@GB7HIB:~ $ ls /dev | grep ttyACM
+ttyACM0
+```
+
+We've now identified your modem's device and we know it is appearing on your computer. If it isn't, then start by trying a new USB cable.
+
+An alternative command to look at running before and after disconnect is `sudo dmesg` - this should tell you if the kernel has detected your device disappearing and reappearing.
diff --git a/docs/modems/qtsm.md b/docs/modems/qtsm.md
index 2c4f4a7..7893da8 100644
--- a/docs/modems/qtsm.md
+++ b/docs/modems/qtsm.md
@@ -1,2 +1,141 @@
-#QtSoundModem
-hi
+# QtSoundModem
+
+QtSoundModem is a soundmodem with a GUI written by John Wiseman G8BPQ. It is a fork of UZ7HO Soundmodem.
+
+It has some compelling features - not only does it natively understand IL2P at a number of different baud and bitrates and modulations, it supports multiple modems, each with a different KISS interface. This allows for up to 4 ports with different speeds, protocols and modes in the same channel - a fantastic thing to explore on HF.
+
+
+## Software Set Up
+
+### Installation
+
+If you're using Debian, Ubuntu or a Raspberry Pi it will be easiest if you install [hibby's repo](repo.md).
+
+Once you have done that you can install the prerequisites:
+
+`sudo apt install qtsoundmodem`
+
+## Configuation
+
+Configuration is done through the menu system.
+
+### Modem Configuration
+
+
+
+## Debugging Strategies
+
+First off, make sure you have your terminal open and at the bottom right it says 'KISS Connected' or 'AGW Connected' depending on how you've configured your interface from your soundmodem to terminal.
+
+### Receive Check
+
+Sense check: are you hearing the remote station coming in to your radio? Have you heard it in the past?
+
+#### Check the radio
+
+Let's work out what's changed if you've heard the remote station in the past.
+
+ * Are you on the right frequency?
+ * Are they experiencing a temporary outage / expected break?
+ * Is your antenna OK?
+ * Is it in the same place?
+ * Is it plugged in?
+ * Is the radio even on?
+ * Is everything real or am I just living in a simulation? ...Wrong list of questions
+
+#### Check the cable
+
+Is the cable connected to both the radio and the computer -
+
+ * Are there any obvious breaks in the cable?
+ * Are the jacks at the computer end plugged in to the correct sockets?
+ * Maybe just reseat the cable to check it's plugged in correctly.
+
+#### Check the audio coming in is at the right volume
+
+!!! note
+
+ This shall use the Pulse Audio Volume Control program, which is an invaluable friend in wading through Linux audio problems. If it's not obvious where this is in your application launcher, you can open a terminal and type `pavucontrol`. If you don't have it, you should `sudo apt install pavucontrol`.
+
+Open the input devices tab - does the VU bar of your soundcard show any activity? In the below screengrab, I have a little audio that is probably just background coming to my Built in soundcard. In many scenarios you'll be using a USB or external soundcard, it might be called a CM108 or similar - be sure you're looking at the right device. Low to no audio as I am showing indicates an issue or an error in the cable. It also might indicate your radio is squelched, be sure to check your squelch is off if possible.
+
+!!! note
+ If you have no audio coming in and your radio is unsquelched, double check your cable is ok (maybe with a volt meter, or remove and reconnect the ends). Check you are looking at the right soundcard, and check each jack is going to the correct socket on the soundcard.
+
+If you receive a packet and the VU bar goes all the way or is very high, your incoming audio is too high - bring down that slider below the VU bar. If your incoming audio is too high, it might be distorting as the computer digitises it. Having it peak at half way should be more than enough volume.
+
+![receive audio window](static/img/input_devices.png)
+
+This resolves to the following questions:
+
+ * Is the computer receiving audio?
+ * Is the received audio too high?
+
+#### Check the audio coming in is going to the right application
+
+As in the above segment, open Pulse Audio Volume Control but this time go to the 'Recording' Tab. You should see an entry for QtSoundModem, or Direwolf if that is your poison of choice!
+
+The VU bar should show activity when a packet is received, just like the one in the Input Devices Tab. If not, you may need to change the device the audio is coming from - there will be a dropdown that lists all your computer's audio inputs and you can select. Again, there is a slider here for volume control - the effects of this are additional to that of the Input Tab, so dropping audio by 6dB in both locations will create a total drop of 12dB. Due to this, I generally recommend leaving it at 100% / 0dB and only modifying the Input Device slider.
+
+[insert image]
+
+If you have sorted routing, wait for more packet traffic to see if anything appears in your Terminal monitor pane.
+
+To understand if QtSoundModem is receiving audio, you can look in the waterfall window within the application:
+
+[insert image]
+
+This resolves to the questions:
+
+ * Is the application receiving audio?
+ * Is the correct soundcard selected
+ * Is the application audio too high or too low?
+
+
+### Transmit Audio
+
+#### Check the generated audio is going to the right soundcard
+
+Open Pulse Audio Volume Control but this time go to the 'Playback' Tab. You should see an entry for QtSoundModem, or Direwolf if that is your poison of choice!
+
+If your modem is not receiving audio, check in the configuration to be sure it is outputting audio to 'Pulse'. In QtSoundModem, this will look as below:
+
+[insert image]
+
+The VU bar should show activity when a packet is transmitted, just like the one in the Input Devices Tab. If not, you may need to change the application volume, and double check the soundcard the application is being sent to. Tere will be a dropdown that lists all your computer's audio inputs and you can select. Again, there is a slider here for volume control - the effects of this are additional to that of the Output Devices Tab, so dropping audio by 6dB in both locations will create a total drop of 12dB. Due to this, I generally recommend leaving it at 100% / 0dB and only modifying the Output Devices slider.
+
+[insert image]
+
+If you have sorted routing, generate more packet traffic to see if anything appears in your Terminal monitor pane.
+
+To understand if QtSoundModem is transmitting audio, you can look in the waterfall window within the application:
+
+[insert image]
+
+This resolves to the questions:
+
+ * Is the application registered in pulseaudio?
+ * Is the correct soundcard selected
+ * Is the application audio too high or too low?
+
+#### Check the audio leaving is at the right volume
+
+!!! note
+
+ This shall use the Pulse Audio Volume Control program, which is an invaluable friend in wading through Linux audio problems. If it's not obvious where this is in your application launcher, you can open a terminal and type `pavucontrol`. If you don't have it, you should `sudo apt install pavucontrol`.
+
+Open the input devices tab - does the VU bar of your soundcard show any activity? In the below screengrab, I have a little audio that is probably just background coming to my Built in soundcard. In many scenarios you'll be using a USB or external soundcard, it might be called a CM108 or similar - be sure you're looking at the right device. Low to no audio as I am showing indicates an issue or an error in the cable. It also might indicate your radio is squelched, be sure to check your squelch is off if possible.
+
+!!! note
+ If you have no audio coming in and your radio is unsquelched, double check your cable is ok (maybe with a volt meter, or remove and reconnect the ends). Check you are looking at the right soundcard, and check each jack is going to the correct socket on the soundcard.
+
+If you receive a packet and the VU bar goes all the way or is very high, your incoming audio is too high - bring down that slider below the VU bar. If your incoming audio is too high, it might be distorting as the computer digitises it. Having it peak at half way should be more than enough volume.
+
+![receive audio window](static/img/input_devices.png)
+
+This resolves to the following questions:
+
+ * Is the computer receiving audio?
+ * Is the received audio too high?
+
+