Plugging and unplugging devices while Bosun runs
What Bosun does when the NMEA 2000 adapter, the microphone array, a serial adapter, a GPS or a USB drive is plugged in, pulled out or loses power.
On a boat, USB cables get knocked, hubs run short of power and adapters come back in the wrong state. You do not need to restart Bosun for any of the devices below. Plug them in, pull them out or swap them while it runs.
The NMEA 2000 adapter
Every 5 seconds Bosun checks the USB–CAN adapter. When it is down, or set to a speed other than 250 kbit/s, Bosun sets it up again.
- Unplugged and plugged in again: the instruments are back within seconds.
- Gone off the bus after errors: Bosun brings it back the same way, and tells the crew about the electrical problem. See Network check.
- A link that goes silent: if the instrument connection has been delivering data and then stays silent for 15 seconds, Bosun reconnects it.
The microphone array
Bosun uses the microphone array whenever it is plugged in, also when it is plugged in after Bosun started. Without it, Bosun listens on the computer's standard audio input, poorly or not at all.
- Each time the array is plugged in, including after a brief loss of power, the computer stops Bosun, checks the array's firmware, updates it if it is older than the version Bosun carries, and starts Bosun again. Bosun does not answer until it has started again. Leave the array plugged in while that happens.
- When the array comes back, Bosun plays its ready chime, except at night (after dark, or between 22:00 and 07:00) or with do not disturb on.
- If the health report says Bosun Couldn't open the microphone array's microphone or USB control, unplug the array's USB cable and plug it in again.
Serial adapters and NMEA 0183
Bosun reads NMEA 0183 from the port named in its serial setting, and keeps trying that port name while the adapter is away.
A USB serial adapter can come back under another name, for example /dev/ttyUSB1 instead of /dev/ttyUSB0. If the data does not return after a replug, the serial setting needs correcting. See Connecting NMEA 0183 instruments.
A USB GPS
Bosun reads position from a USB GPS only when the receiver's port is named in its serial setting, like an NMEA 0183 adapter. Bosun then keeps trying that port while the receiver is away and reads it again within half a minute of its return, as long as it comes back under the same name. See Fitting a USB GPS.
USB drives and memory cards
| What you plug in | What happens |
|---|---|
| A drive with films or music | Bosun only reads it, and adds it to the library. FAT32, exFAT, NTFS, ext4 and F2FS work. |
| A card or drive named BOSUNBACKUP | Used for backups, not for media. See Software updates, rollback and backups |
Bluetooth devices
Paired headsets and speakers reconnect by themselves when they come back in range. See Headsets and speakers.
When a device keeps dropping out
Bosun watches the NMEA 2000 adapter and the microphone array for power trouble:
| Bosun says | What it means | What to do |
|---|---|---|
| USB device … is reconnecting rapidly … | The device disconnected and reconnected four or more times in total within a minute | Use a powered USB hub, or a different socket |
| … is connected through a bus-powered USB hub on a USB 2.0 port, which may not supply enough power. | The hub may not give it enough current | Move the hub to a USB 3.0 port, or use a powered hub |
A device that drops out after a bump is usually a loose or strained cable. Secure the cable along its run so a knock does not pull on the plug.