analogdevicesinc/scopy

ADALM2000: scopy GUI hangs at startup

mzaffalon opened this issue · 1 comments

Scopy GUI freezes at startup.

michele@gulliver:~$ flatpak run org.adi.Scopy 
QSocketNotifier: Can only be used with threads started with QThread
QIODevice::read (QFile, ":/stylesheets/themes/global.qss"): device not open
QIODevice::read (QFile, ":stylesheets/stylesheets/browserStylesheet.qss"): device not open
Warning: Using function expressions as statements in scripts is not compliant with the ECMAScript specification:
 "function(o) { for (each in o) { print(each); } }..." 
This will throw a syntax error in Qt 5.12. If you want a function expression, surround it by parentheses.
Could not create decoration from factory! Running with no decorations.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
ERROR: Unable to claim interface 1:5:5: Device or resource busy (16)
Unknown property link-color
Unknown property link-color

This is a new installation on a Ubuntu 22.04 LTS machine after updating ADALM2000 firmware using the mass storage method.

Host computer

uname  -a
Linux gulliver 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

ADALM2000

Welcome to M2k
m2k login: root
Password: 

<snip>

v0.29
https://wiki.analog.com/university/tools/m2k
uname -a
Linux m2k 5.10.0-98231-g9dfba10b795d #136 SMP PREEMPT Wed Jul 13 11:24:28 CEST 2022 armv7l GNU/Linux

Software

The installation was done using `flatpak install Scopy-v1.4.1-Linux-x86-64.flatpak` (the installer complains that org.kde.Platform 5.15 is end-of-life support)

michele@gulliver:~$ flatpak list
Name                                Application ID                                                Version           Branch           Origin                  Installation
Scopy                               org.adi.Scopy                                                                   master           scopy2-origin           system
Mesa                                org.freedesktop.Platform.GL.default                           21.1.8            20.08            flathub                 system
Intel                               org.freedesktop.Platform.VAAPI.Intel                                            20.08            flathub                 system
openh264                            org.freedesktop.Platform.openh264                             2.1.0             2.0              flathub                 system
Yaru Gtk Theme                      org.gtk.Gtk3theme.Yaru                                                          3.22             flathub                 system
KDE Application Platform            org.kde.Platform                                                                5.15             flathub                 system
QGnomePlatform                      org.kde.PlatformTheme.QGnomePlatform                                            5.15             flathub                 system
QtSNI                               org.kde.PlatformTheme.QtSNI                                                     5.15             flathub                 system
QGnomePlatform-decoration           org.kde.WaylandDecoration.QGnomePlatform-decoration                             5.15             flathub                 system

michele@gulliver:~$ iio_info -s
Library version: 0.24 (git tag: c4498c2)
Compiled with backends: local xml ip usb
Unable to create Local IIO context : No such file or directory (2)
Available contexts:
	0: 192.168.2.1 (Analog Devices M2k Rev.D (Z7010)), serial=104473ce69910007faff2e004c2c8905eb [ip:m2k.local]
	1: 0456:b672 (Analog Devices Inc. M2k (ADALM-2000)), serial=104473ce69910007faff2e004c2c8905eb [usb:1.5.5]

Oops, I didn't see the license window behind the main window. Once I agreed to the license, Scopy GUI works.