Need Help Connecting to Oceanic Atom 3.1

20 views
Skip to first unread message

Mark Phillips

unread,
May 8, 2023, 11:23:37 PM5/8/23
to Subsurface Divelog
I was able to connect my Oceanic Atom 3.1 to an older version of subsurface on a different computer running Ubuntu 18.04 using a USB cable. However, on my new shiny laptop and Ubuntu 22.04 and the same cable, I can't seem to get it to connect.

This is the error from dmesg:
457691.690966] usb 2-3.1: USB disconnect, device number 9
[457723.926895] usb 2-3.1: new full-speed USB device number 10 using xhci_hcd
[457724.046475] usb 2-3.1: New USB device found, idVendor=0403, idProduct=f460, bcdDevice= 4.00
[457724.046490] usb 2-3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[457724.046495] usb 2-3.1: Product: 2002 Design,Inc. USB
[457724.046499] usb 2-3.1: Manufacturer: 2002 Design,Inc
[457724.046502] usb 2-3.1: SerialNumber: 20030001
[457724.069570] BPF: type_id=1268 bits_offset=1600
[457724.069579] BPF:  
[457724.069581] BPF: Invalid name
[457724.069583] BPF:
[457724.069587] failed to validate module [usbserial] BTF: -22


Everytime I connect, it picks a different device number - I started at 8 and now I am at 12. The Atom 3.1 automatically goes into PC mode when I connect the USB cable to my computer. I added myself to the dialout and tty groups as stated in the Appendix regarding downloading log files (I did an ls -l /dev/ to see the groups for all the ttys and ttySs). I tried connecting to /dev/ttyS9 and /dev/tty9 in subsurface and I got the error message: Unable to open /dev/ttyS9 and the red banner at the bottom of the screen that says unsupported operation.

I tried googling "failed to validate module [usbserial] BTF: -22" and didn't find anything that looks useful.

Any suggestions on how to proceed would be great!

Mark

Linus Torvalds

unread,
May 9, 2023, 1:52:24 PM5/9/23
to subsurfac...@googlegroups.com
On Mon, May 8, 2023 at 8:23 PM Mark Phillips <ma...@phillipsoasis.com> wrote:
>
> [457724.069570] BPF: type_id=1268 bits_offset=1600
> [457724.069579] BPF:
> [457724.069581] BPF: Invalid name
> [457724.069583] BPF:
> [457724.069587] failed to validate module [usbserial] BTF: -22

This is Ubuntu 2022.4 refusing to load that module for a BTF ("bpf
type format") verification reason.

This typically is because the module and the kernel aren't from the same build.

I assume you didn't build your own kernel or modules, and you probably
need to just raise this as an Ubuntu bug.

And if you *did* happen build your own kernel, you need to make sure
that you also build and install the modules to match.

Linus

Mark Phillips

unread,
May 10, 2023, 5:17:21 PM5/10/23
to subsurfac...@googlegroups.com
Linus,

Thanks for the info....you are correct, I did not build my own kernel.

Does that error message have anything to do with not being able to download my dive logs from the Atom 3.1?

I checked the older computer/Ubuntu version for how the Atom 3.1 connects, and it uses /dev/ttyUSB0. However, I don't have any ttyUSBs in /dev. Do I need to create one? How would I do that?

Thanks,

Mark

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/CAHk-%3DwjUQSRYRg0-1%3DBG9FeAJSecHyjB_GUZ6VHHA5awxOGiHg%40mail.gmail.com.

Linus Torvalds

unread,
May 10, 2023, 5:36:59 PM5/10/23
to subsurfac...@googlegroups.com
On Wed, May 10, 2023 at 4:17 PM Mark Phillips <ma...@phillipsoasis.com> wrote:
>
> Does that error message have anything to do with not being able to download my dive logs from the Atom 3.1?

Yes. Ubuntu seems to refuse to load the usbserial module due to some
Ubuntu-specific check.

> I checked the older computer/Ubuntu version for how the Atom 3.1 connects, and it uses /dev/ttyUSB0
> However, I don't have any ttyUSBs in /dev. Do I need to create one? How would I do that?

Not having ttyUSBx is a direct result of the usbserial module not loading.

I do not know what the Ubuntu rules are, but it may be just a mistake
in their kernel, or it may be that they have some extra rules to not
load "untrusted" devices, and that Oceanic cable isn't on their
trusted list.

You really do need to ask on Ubuntu forums.

Linus

Mark Phillips

unread,
May 10, 2023, 8:31:59 PM5/10/23
to Subsurface Divelog
Thanks!!

Mark

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages