Preparing for 3.1.1 and doc updates
This updates the versions to 3.1.1, does some minor doc cleanup for consistency and adds the suggestion to submit the output of subsurface --version in bug reports and the udev rules to blacklist dive computers in Modem Manager (as suggested by Bearsch). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
3109f816a2
commit
c5a1b0fc4e
@ -1,4 +1,4 @@
|
|||||||
Subsurface 3.1 User Manual
|
Subsurface 3.1.1 User Manual
|
||||||
============================
|
============================
|
||||||
:author: Jacco_van_Koll,_Dirk_Hohndel,_Reinout_Hoornweg,_Linus_Torvalds,_Miika_Turkia,_Amit_Chaudhuri,_Jan_Schubert
|
:author: Jacco_van_Koll,_Dirk_Hohndel,_Reinout_Hoornweg,_Linus_Torvalds,_Miika_Turkia,_Amit_Chaudhuri,_Jan_Schubert
|
||||||
:revnumber: v3.0.0
|
:revnumber: v3.0.0
|
||||||
@ -7,6 +7,8 @@ Subsurface 3.1 User Manual
|
|||||||
:revdate: March 2013
|
:revdate: March 2013
|
||||||
:revnumber: v3.1
|
:revnumber: v3.1
|
||||||
:revdate: May 2013
|
:revdate: May 2013
|
||||||
|
:revnumber: v3.1.1
|
||||||
|
:revdate: June 2013
|
||||||
:toc:
|
:toc:
|
||||||
:icons:
|
:icons:
|
||||||
:numbered:
|
:numbered:
|
||||||
@ -327,12 +329,13 @@ Try the following:
|
|||||||
|
|
||||||
- Disconnect your USB cable of your dive computer
|
- Disconnect your USB cable of your dive computer
|
||||||
- Open a terminal
|
- Open a terminal
|
||||||
- Type the command: 'dmesg' and press enter
|
- Type the command: +*dmesg*+ and press enter
|
||||||
- Plug in your USB cable of your dive computer
|
- Plug in your USB cable of your dive computer
|
||||||
- Type the command: 'dmesg' and press enter
|
- Type the command: +*dmesg*+ and press enter
|
||||||
|
|
||||||
Within your terminal you should see a message similar to this one:
|
Within your terminal you should see a message similar to this one:
|
||||||
|
|
||||||
|
----
|
||||||
usb 2-1.1: new full speed USB device number 14 using ehci_hcd
|
usb 2-1.1: new full speed USB device number 14 using ehci_hcd
|
||||||
usbcore: registered new interface driver usbserial
|
usbcore: registered new interface driver usbserial
|
||||||
USB Serial support registered for generic
|
USB Serial support registered for generic
|
||||||
@ -348,6 +351,7 @@ Within your terminal you should see a message similar to this one:
|
|||||||
usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB3
|
usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB3
|
||||||
usbcore: registered new interface driver ftdi_sio
|
usbcore: registered new interface driver ftdi_sio
|
||||||
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
|
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
|
||||||
|
----
|
||||||
|
|
||||||
You see that in the third line from the bottom, the USB adapter is
|
You see that in the third line from the bottom, the USB adapter is
|
||||||
detected and is connected to 'ttyUSB3'. Now you use this information in
|
detected and is connected to 'ttyUSB3'. Now you use this information in
|
||||||
@ -407,9 +411,9 @@ Please make sure you have bluetooth enabled on your computer running Subsurface.
|
|||||||
On most common distributions this should be true out of the box, if not then
|
On most common distributions this should be true out of the box, if not then
|
||||||
depending on your system running initd or systemd this might be different and
|
depending on your system running initd or systemd this might be different and
|
||||||
also involve loading modules specific to your hardware. In case your system is
|
also involve loading modules specific to your hardware. In case your system is
|
||||||
running systemd manually run 'sudo systemctl start bluetooth.service' to enable
|
running systemd manually run +*sudo systemctl start bluetooth.service*+ to enable
|
||||||
it, in case of initd run something like 'sudo rc.config start bluetoothd' or
|
it, in case of initd run something like +*sudo rc.config start bluetoothd*+ or
|
||||||
'sudo /etc/init.d/buetooth start'.
|
+*sudo /etc/init.d/buetooth start*+.
|
||||||
|
|
||||||
Pairing should be straight forward. Using Gnome3 for instance will show a
|
Pairing should be straight forward. Using Gnome3 for instance will show a
|
||||||
bluetooth icon in the upper right corner of your desktop where you select 'Set
|
bluetooth icon in the upper right corner of your desktop where you select 'Set
|
||||||
@ -419,29 +423,29 @@ setting try manually setting '0000'.
|
|||||||
|
|
||||||
You may also use a manual approach by using such commands:
|
You may also use a manual approach by using such commands:
|
||||||
|
|
||||||
* 'sudo hciconfig' - shows the bluetooth devices available on your
|
* +*sudo hciconfig*+ - shows the bluetooth devices available on your
|
||||||
computer (not dive computer), most likely you will see a hci0, if not
|
computer (not dive computer), most likely you will see a hci0, if not
|
||||||
try 'sudo hcitool -a' to see inactive devices and try to run 'sudo
|
try +*sudo hcitool -a*+ to see inactive devices and try to run +*sudo
|
||||||
hciconfig hci0 up' to bring them up
|
hciconfig hci0 up*+ to bring them up
|
||||||
|
|
||||||
* 'sudo hcitool scanning'- use this to get a list of bluetooth enabled
|
* +*sudo hcitool scanning*+- use this to get a list of bluetooth enabled
|
||||||
client devices, watch out for your dive computer and remember the MAC
|
client devices, watch out for your dive computer and remember the MAC
|
||||||
address shown there
|
address shown there
|
||||||
|
|
||||||
* 'sudo bluez-simple-agent hci0 10:00:E8:C4:BE:C4' - this will pair
|
* +*sudo bluez-simple-agent hci0 10:00:E8:C4:BE:C4*+ - this will pair
|
||||||
your dive computer with the bluetooth stack of your computer, copy/paste
|
your dive computer with the bluetooth stack of your computer, copy/paste
|
||||||
the MAC address from the output of 'hcitool scanning'
|
the MAC address from the output of +*hcitool scanning*+
|
||||||
|
|
||||||
Unforturnately on Linux binding to a communication device has to be done
|
Unforturnately on Linux binding to a communication device has to be done
|
||||||
manually by running:
|
manually by running:
|
||||||
|
|
||||||
* 'sudo rfcomm bind /dev/rfcomm0 10:00:E8:C4:BE:C4' - bind the dive
|
* +*sudo rfcomm bind /dev/rfcomm0 10:00:E8:C4:BE:C4*+ - bind the dive
|
||||||
computer to a communication device in your computer, in case rfcomm is
|
computer to a communication device in your computer, in case rfcomm is
|
||||||
already taken just use rfcomm1 or up, please copy/paste the MAC address
|
already taken just use rfcomm1 or up, please copy/paste the MAC address
|
||||||
from the output of 'hcitool scanning', the MAC shown in here will not
|
from the output of +*hcitool scanning*+, the MAC shown in here will not
|
||||||
work for you :-).
|
work for you :-).
|
||||||
|
|
||||||
For downloading dives in subsurface you have then to specify '/dev/rfcomm0'
|
For downloading dives in subsurface you have then to specify +*/dev/rfcomm0*+
|
||||||
as device name to use.
|
as device name to use.
|
||||||
|
|
||||||
[[S_TroubleShooting]]
|
[[S_TroubleShooting]]
|
||||||
@ -464,7 +468,16 @@ this, but it is reported to be solved sometimes by one of these steps:
|
|||||||
|
|
||||||
Please report issues and nonworking environments at
|
Please report issues and nonworking environments at
|
||||||
http://trac.hohndel.org[our bugtracker] or send an email to
|
http://trac.hohndel.org[our bugtracker] or send an email to
|
||||||
mailto:subsurface@hohndel.org[our mailing list].
|
mailto:subsurface@hohndel.org[our mailing list]. It usually makes
|
||||||
|
sense to include the output of +*subsurface --version*+ in that email.
|
||||||
|
|
||||||
|
On Windows this involves starting +*subsurface.exe --version*+ from a
|
||||||
|
console windows and redirecting the output to a file. Ususally
|
||||||
|
starting +*cmd.exe*+ and then starting *+\Program
|
||||||
|
Files\Subsurface\subsurface.exe --version > subsurface.out*+ should do the
|
||||||
|
trick. Adjust the path depending on your install location.
|
||||||
|
|
||||||
|
On a Mac you can run +*/Applications/Subsurface.app/Contents/MacOS/subsurface-bin --version > subsurface.out+*
|
||||||
|
|
||||||
**USB**
|
**USB**
|
||||||
|
|
||||||
@ -480,6 +493,32 @@ computer.
|
|||||||
|
|
||||||
sudo /etc/init.d/modemmanager stop
|
sudo /etc/init.d/modemmanager stop
|
||||||
|
|
||||||
|
If you really need Modem Manager (highly doubtful - it is unclear why
|
||||||
|
any distribution would enable this by default) then you could also add
|
||||||
|
a blacklist entry for your dive computer. The details of doing this go
|
||||||
|
beyond what reasonably can be explained in the context of this manual
|
||||||
|
(and are somewhat distribution specific). Usually you would need to
|
||||||
|
add / edit a file with udev rules for Modem Manager. The file should
|
||||||
|
be named something like
|
||||||
|
|
||||||
|
/etc/udev/rules.d/77-modem-manager-usb-blacklist.rules
|
||||||
|
|
||||||
|
And contain something like this (with the correct data for +idVendor+
|
||||||
|
and +idProduct+ filled in for your dive computer - that data can be
|
||||||
|
found using +*lsusb*+)
|
||||||
|
|
||||||
|
----
|
||||||
|
ACTION!="add|change", GOTO="mm_usb_device_blacklist_end"
|
||||||
|
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
|
||||||
|
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_end"
|
||||||
|
|
||||||
|
# std ftdi serial port adapter
|
||||||
|
ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001",
|
||||||
|
ENV{ID_MM_DEVICE_IGNORE}="1"
|
||||||
|
|
||||||
|
LABEL="mm_usb_device_blacklist_end"
|
||||||
|
----
|
||||||
|
|
||||||
**Getting debug logs**
|
**Getting debug logs**
|
||||||
|
|
||||||
Getting debug logs or full memory dump of the dive computer might be
|
Getting debug logs or full memory dump of the dive computer might be
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ NAME = subsurface
|
|||||||
CAPITALIZED_NAME = Subsurface
|
CAPITALIZED_NAME = Subsurface
|
||||||
TARGET = $(NAME)
|
TARGET = $(NAME)
|
||||||
|
|
||||||
VERSION=3.1
|
VERSION=3.1.1
|
||||||
|
|
||||||
CC=gcc
|
CC=gcc
|
||||||
CFLAGS=-Wall -Wno-pointer-sign -g $(CLCFLAGS) -DGSEAL_ENABLE
|
CFLAGS=-Wall -Wno-pointer-sign -g $(CLCFLAGS) -DGSEAL_ENABLE
|
||||||
|
|||||||
8
README
8
README
@ -35,7 +35,7 @@ available, the tank pressure curve) in very innovative ways that give
|
|||||||
the user additional information on relative velocity (and momentary
|
the user additional information on relative velocity (and momentary
|
||||||
air consumption) during the dive through the coloring of the graphs.
|
air consumption) during the dive through the coloring of the graphs.
|
||||||
|
|
||||||
The latest public version is Subsurface 3.1, released in May of 2013.
|
The latest public version is Subsurface 3.1.1, released in June of 2013.
|
||||||
|
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
|
|
||||||
@ -51,12 +51,12 @@ You can also browse the sources via gitweb at git.hohndel.org
|
|||||||
If you want the latest release (instead of the bleeding edge
|
If you want the latest release (instead of the bleeding edge
|
||||||
development version) you can either get this via
|
development version) you can either get this via
|
||||||
|
|
||||||
git checkout v3.1 (or whatever the last release is)
|
git checkout v3.1.1 (or whatever the last release is)
|
||||||
|
|
||||||
if you have already cloned the git repository as shown above or you
|
if you have already cloned the git repository as shown above or you
|
||||||
can get a tar ball from
|
can get a tar ball from
|
||||||
|
|
||||||
http://subsurface.hohndel.org/downloads/Subsurface-3.1.tgz
|
http://subsurface.hohndel.org/downloads/Subsurface-3.1.1.tgz
|
||||||
|
|
||||||
|
|
||||||
Building subsurface under Linux
|
Building subsurface under Linux
|
||||||
@ -166,7 +166,7 @@ computer you have (and where it is connected if you need to), and hit
|
|||||||
The latest list of supported dive computers can be found at
|
The latest list of supported dive computers can be found at
|
||||||
http://subsurface.hohndel.org/documentation/supported-dive-computers/
|
http://subsurface.hohndel.org/documentation/supported-dive-computers/
|
||||||
|
|
||||||
At the time of the 3.1 release they were:
|
At the time of the 3.1.1 release they were:
|
||||||
Atomics Aquatics
|
Atomics Aquatics
|
||||||
Cobalt
|
Cobalt
|
||||||
Cressi / Zeagle / Mares
|
Cressi / Zeagle / Mares
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
Subsurface 3.1
|
Subsurface 3.1.1
|
||||||
==============
|
================
|
||||||
|
|
||||||
The Subsurface developer team is proud to announce the release of the
|
The Subsurface developer team is proud to announce the release of the
|
||||||
latest version of Subsurface.
|
latest version of Subsurface.
|
||||||
@ -38,9 +38,18 @@ available, the tank pressure curve) in very innovative ways that give
|
|||||||
the user additional information on relative velocity (and momentary
|
the user additional information on relative velocity (and momentary
|
||||||
air consumption) during the dive through the coloring of the graphs.
|
air consumption) during the dive through the coloring of the graphs.
|
||||||
|
|
||||||
|
New in version 3.1.1 (compared to Subsurface 3.1):
|
||||||
|
--------------------------------------------------
|
||||||
|
|
||||||
|
- support for the current firmware of both OSTC2 and OSTC3
|
||||||
|
- fix divelog.de uploads for Mac
|
||||||
|
- add support for Aquadivelog UDDF import
|
||||||
|
- add --version and --help command line options
|
||||||
|
- documentation updates
|
||||||
|
- translation updates
|
||||||
|
|
||||||
New in version 3.1 (compared to Subsurface 3.0.2):
|
New in version 3.1 (compared to Subsurface 3.0.2):
|
||||||
----------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
- track tags for dives (things like 'boat', 'shore', 'deep', etc)
|
- track tags for dives (things like 'boat', 'shore', 'deep', etc)
|
||||||
- enable filtering by tags
|
- enable filtering by tags
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user