Skip to content

Ports never finish "Loading..." on Ubuntu 22.04 and 22.10 #3336

@Schlaegel

Description

@Schlaegel

Describe the bug

Video demo below. Ports never finish loading on Ubuntu, so it is impossible to connect to the flight controller. In debug builds, manually restarting the app gets the ports to show and everything works.

To Reproduce

This is 100% reproducable on my system. I did two fresh installs of Ubuntu to demonstrate it. I have included a video showing 10.8 working and the behavior I get on 10.9.

Expected behavior

The ports would recognize the connected flight controller.

Configurator version

10.9

Flight controller configuration

I tried three different flight controllers. All were different, but all got the same results.

Add any other context about the problem that you think might be relevant here

Here is a link to the video demo: https://www.youtube.com/watch?v=4hq73MRrnuw

Show basic networking

ip route show
default via 10.0.0.1 dev enp7s0 proto dhcp src 10.0.0.84 metric 100
10.0.0.0/24 dev enp7s0 proto kernel scope link src 10.0.0.84 metric 100
169.254.0.0/16 dev enp7s0 scope link metric 1000

Verify packages

apt list --installed libatomic1 brltty modemmanager
Listing... Done
libatomic1/kinetic,now 12.2.0-3ubuntu1 amd64 [installed,automatic]

Remove Betaflight Config Directory

test -e ~/.config/betaflight-configurator && rm --recursive --dir --one-file-system ~/.config/betaflight-configurator

Verify Desktop Directories

test -e /usr/share/desktop-directories && echo FOUND desktop-directories
FOUND desktop-directories

View the Current Groups

groups
aaron adm dialout cdrom sudo dip plugdev lpadmin lxd sambashare

View udev Rules

cat /etc/udev/rules.d/45-stdfu-permissions.rules
# STM Device in DFU Mode
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", GROUP="plugdev", MODE="0664"
# STM Virtual COM Port
SUBSYSTEM=="tty", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740", GROUP="plugdev", MODE="0664"

Verify Permissions of FC device

test -e /dev/ttyACM0 && ls -l /dev/ttyACM0
crw-rw-r-- 1 root dialout 166, 0 Feb 10 08:57 /dev/ttyACM0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions