Skip to content

Reading data from my Scuba Diving computer after Linux removed IrDA support

When I go Scuba Diving, I use two diving computers. It's always good to have a fallback, right? My main computer is a ScubaPro Uwatec Galileo Luna. That's a wrist mounted computer with hoseless air-integration. That means that a sender is connected to the first stage of the regulator, and it transmits data to the wrist computer. In addition the computer records data like depths, consumption, temperature, alarms ect. My fallback is an air-integrated console mounted Suuntu Cobra. I check this computer too when I'm under water, but mostly for the most conservative reading for the safety stop.

The Luna computer has an IrDA port, and using a USB Infrared Adapter (I'm using an IRwave 3902B500) I was able to read all the dive logs from the computer into Subsurface. However at some point, Linux decided that IrDA is no longer worth supporting, and they removed the support and modules in Linux 4.17.


It's possible to read the most basic data about each dve on the computer display itself, but you won't get all the details, and the profiles.


After pondering the problem for a while, I decided to setup an old laptop, and use this system for the dive computer. Looking back, I found that Ubuntu 18.04 LTS is already "too young", and the kernel too new. IrDA support is no longer available. Therefore I had to go back to 16.04 LTS, download the DVD installer image, find a DVD writer somewhere, and burn the image on a blank disk - which I also had to buy first. Anyway, after a while I had a working Linux system on the old laptop, installed Subsurface and irda-utils.


When I plug-in the USB IrDA Adapter, I see the following in "lsusb":

ID 9710:7780 MosChip Semiconductor MCS7780 4Mbps Fast IrDA Adapter

From there, I need a root shell, and have to enter the following commands:

modprobe mcs7780
modprobe ircomm-tty
iwconfig irda0
ifconfig irda0 up
irattach irda0 -s

Once you place the activated dive computer in front of the USB adapter, you should see that both deviced exchange information. Stop the dump with Ctrl+C.

In Subsurface, you can now use device /dev/ircomm0 to communicate with the dive computer.


No Trackbacks


Display comments as Linear | Threaded

hackbyte on :

Well, while i just like your approach to use some spare hardware for that task... did you consider to set up some qemu vm instead? I imagine, that would make it a bit more portable .. as in, you can potentially migrate it over to new desktops as needed.... The only thing is, you need to pass trough your IrDA dongle for it to work.... Humm... Regards, hacky ;)
Comments ()

Andreas Scherbaum on :

Yes, I did consider that, but in the end found it too much work to handle all the USB-passthrough. At some point I will need a new diving computer, the new one will have Bluetooth. But not rigt now.
Comments ()

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options