Bug 458932 - Device Driver does not start
Summary: Device Driver does not start
Status: RESOLVED FIXED
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: git
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-09 16:42 UTC by alain@zwingelstein.org
Modified: 2022-09-09 23:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In: 3.6.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alain@zwingelstein.org 2022-09-09 16:42:22 UTC
SUMMARY
***
Sometimes impossible to start a device driver manually where it works using Ekos.
Once it has been started wia Ekos then the manual start via Tools->Devices->Devicemanager menu works again.
So far It happens sometimes after a rebuild from git.
***

STEPS TO REPRODUCE
1. start Kstars
2. start a device driver (eg. a telescope) via Tools->Devices->Devicemanager menu
3. device does not start
4. Exit Kstars
5. Kill manually indiserver
6. Restart Kstars
7. retry step 2

OBSERVED RESULT
When starting a device driver via Tools->Devices->Devicemanager menu
- the indi control panel does not pop up
- indiserver is started but not the device driver
- When I quit Kstars indiserver is still running
- I then have to kill manually indiserver

EXPECTED RESULT
When starting a device driver via Tools->Devices->Devicemanager menu
- the indi control panel should pop up
- indiserver and device driver should be started

SOFTWARE/OS VERSIONS (by kinfocenter)
Operating System: Debian GNU/Linux 11
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.19.0
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-2450M CPU @ 2.50GHz
Memory: 7.7 Gio of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 3000

Kstars version: Version 3.6.1 Beta (built from git)
Indi Version: INDI Library: 1.9.8 (built from git)
Comment 1 Jasem Mutlaq 2022-09-09 23:32:08 UTC
Git commit ebdde43a8d2589c166b8ed76c6d87d9e43b687a6 by Jasem Mutlaq.
Committed on 09/09/2022 at 22:46.
Pushed by mutlaqja into branch 'master'.

Fix device driver manual start by waiting more on client connection.
FIXED-IN:3.6.1

M  +23   -1    kstars/indi/clientmanager.cpp
M  +4    -1    kstars/indi/drivermanager.cpp

https://invent.kde.org/education/kstars/commit/ebdde43a8d2589c166b8ed76c6d87d9e43b687a6