Open joliveira98 opened 6 months ago
From the current information, it is challenging to determine the nature of the problem, but whatever it is, it seems unrelated to INDI.
After connecting the camera, there is an ID conversion, but not as described. Normally, USB IDs like 1618 0920 should convert to 1618 0921, and 1618 0901 should convert to 16c0 196d.
As the specific model of the device cannot be determined from the error messages, perhaps providing a photo of the device label might be necessary.
You can use the journalctl -f command to check what specifically happens during the insertion or removal of the USB device; there might be some hints.
Also, pay attention to the SDK version used during the operation and the SDK version that INDI is currently using (and its path).
# Check SDK version
ls -al /usr/local/lib/libqhy*
# Check dependency
ldd /usr/bin/qhy_ccd_test | grep libqhy*
ldd /usr/bin/indi_qhy_ccd | grep libqhy*
Providing additional system details may be helpful:
# System environment
uname -r
cat /etc/*-release
lsb_release -a
uname -m
I have built the INDI library to use my QHY5-II color camera with indi-allsky. After building the library and setting up indi-allsky, I rebooted my Raspberry Pi 3, ran "lsusb" and got the following:
After running the qhy_ccd_test I got the following output saying that my color camera was a mono camera and that my camera ID was "QHY5-M-":
In indi-allsky the same ID was found (QHY5-M-) and no image was taken. I've decided to unplug and replug the USB again and the driver shown in lsusb had switched to:
Here's the qhy_ccd_test again with the new driver loaded showing that it is indeed a color camera with ID "QHY5LII-C-6117da60£33c7354":
After this, I checked indi-allsky and the new color driver was detected and I was already getting images. I rebooted the system again and the incorrect mono driver loaded once again. After the USB unplug and replug the color driver loaded and I got image.
The expected here would be for the color driver to always load... I'm not sure why it is loading the mono driver when I reboot the system. Let me know if you require more details, I can easily reproduce this so let me know if you need more info.
PS: I would have opened this issue in the forum directly but I'm not able to register, the captcha is endlessly looping and I can't submit the register form.