Quantcast
Channel: Recent Topics - INDI Forum
Viewing all articles
Browse latest Browse all 14131

Hotplug devices - by: patdut

$
0
0
Hello,
As I met some problems with the qhy driver when exposure fails I wondered if it is possible to have hotplug for devices on indiserver.
Let me explain a little.
When the qhy driver crashes it remains in active process list. Then I have to pkill it before relaunching indiserver and all devices. Which suppose that I have to shutdown indiserver after disconnecting all devices and by way loose all the settings that I have done for only one driver that fails.
The idea is when you disconnect the device, only the process relative to the device is killed. Then when you reconnect the device the driver is rerun with a reset of the tab in the indi control panel.
I have seen that drivers subscribe to a FIFO, would it be possible at disconnection to unsubscribe to the FIFO, kill the driver process and rerun and subscribe it at FIFO at connection ?
My first question is : is it possible today ?
My second question is : if not, would it be possible in a future version ?

Viewing all articles
Browse latest Browse all 14131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>