indilib / indi-3rdparty

INDI 3rd Party drivers repository
https://www.indilib.org/devices.html
GNU Lesser General Public License v2.1
123 stars 208 forks source link

indi_mi_ccd_usb for Moravian C3-26000C does not show cooler ON/OFF and camera temperature #912

Closed noldi20 closed 4 months ago

noldi20 commented 4 months ago

Describe the bug After updating my linux kstar version to 3.7.0 the cooler ON/OFF is disabled and the actual temperature for my Moravian C3-26000C CMOS Cam is not displayed, value is always zero. The previous driver was working. Indi driver is V1.9 indi_mi_ccd_usb. The cooling temperature can be set and also the cooling seems to be working. No error messages.

To Reproduce

  1. start kstar
  2. Run Ekos with camera driver MI CCD (USB)
  3. Go to CAM module and check temperature and cooler button

Expected behavior

  1. Cooler buttons ON / OFF are enabled and can be selected
  2. Actual Cam temperature is displayed e.g. 22.00 : field "Current CCD Temperature"

Screenshots

Bildschirmfoto 2024-04-05 um 08 48 22

Desktop (please complete the following information):

Log Files log_08-36-11.txt

knro commented 4 months ago

@sWski Can you please check?

sWski commented 4 months ago

Hi guys,

I looked at this problem yesterday and I'm pretty bummed about it. Summary of steps I've tried:

Then I've reverted these packages back to the latest version and:

Looking at the differences in the logs, when the buttons do not work, this is not in the listing:

Driver indi_mi_ccd: read <defSwitchVector device='MI C4-16000' name='CCD_COOLER'>
Client 9: queuing <defSwitchVector device='MI C4-16000' name='CCD_COOLER'>

This property is handled here and here. HasCooler is quite straightforward. And CCD_HAS_COOLER is set by driver here.

So it's not clear to me how when I compile the driver, it works. The library decides whether the camera has a cooler or not and it's version remained the same as the distributed version.

knro commented 4 months ago

Yes I can confirm it's a driver compile issue, sorry to waste your time, I will rebuild all packages next.

peter-englmaier commented 4 months ago

@knro Hi Jasem, I am facing the same issue now, with moravian camera C4: cooling buttons do not show up with current, latest release indi-mi/jammy,now 1.8+t202402030654~ubuntu22.04.1 amd64. When I compile the driver myself, it works again.

knro commented 4 months ago

I initiated a rebuild for this driver in the PPA

peter-englmaier commented 4 months ago

I initiated a rebuild for this driver in the PPA I just downloaded (using apt update) the new version and the cooling shows up again. Thanks!