×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Atik_ccd & Qhy_ccd not working since SVN r1748

  • Posts: 2255
  • Thank you received: 223
Creating a new thread (linked to indilib.org/forum/general/312-eqmod-mount-limits.html?start=12).
Since I had to compile indiserver from r1748 to be able to compile indi_eqmod_telescope (r1748 contains horizons limits), I am unable to use my Atik-ccd and Qhy-ccd.
On the qhy front, it doesn't detect the camera at all. And on the atik front, I get a libusb time out error whenever you try to get a picture out of it (I have a Titan Atik).
Both were working perfectly fine on the previous commit (can't remember the SVN version number) and are working fine too on the same laptop running Windows (main partition is Debian, had to install Windows XP on a small partition for other stuff :( ).
Typing this from a different laptop, I don't have the exact output error.



Regards
Stephane
9 years 8 months ago #1771

Please Log in or Create an account to join the conversation.

Are you using QHY from INDI 3rd party repo or somewhere else?
9 years 8 months ago #1772

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223

To be honest, I cannot remember. But I just thought that I should compile it from the r1748 version and see how it goes. Will do that later on today.
As for the Atik, I'll email Peter about it.


Thanks
Stephane
9 years 8 months ago #1774

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
Just compile the QHY_CCD from r1748 and the camera is back online. thanks.
Now need to wait for the Atik :D
9 years 8 months ago #1776

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
9 years 8 months ago #1777

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
Stephane, ATIK driver is statically linked so INDI change should not affect it. Are you using the same USB port for the camera? Did you changed libusb or some other system libraries? Titan is very sensitive for timing, it does work with some hardware and doesn't work with another and we can't figure out why. This change can be a hint what's wrong. Peter
9 years 8 months ago #1780

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
I'm using the Atik on the same USB port on this laptop.
Here's the error output:
2014-08-20T07:31:11: Driver indi_atik_ccd: read <setNumberVector device='ATIK CCD Atik Titan' name='CCD_EXPOSURE'>
2014-08-20T07:31:11: Client 0: queuing <setNumberVector device='ATIK CCD Atik Titan' name='CCD_EXPOSURE'>
2014-08-20T07:31:11: Client 0: sending <setNumberVector device="ATIK CCD Atik Titan" name
2014-08-20T07:31:11: Driver indi_atik_ccd: read <setNumberVector device='ATIK CCD Atik Titan' name='CCD_EXPOSURE'>
2014-08-20T07:31:11: Client 0: queuing <setNumberVector device='ATIK CCD Atik Titan' name='CCD_EXPOSURE'>
2014-08-20T07:31:11: Client 0: sending <setNumberVector device="ATIK CCD Atik Titan" name
2014-08-20T07:31:12: Driver indi_atik_ccd: -> ATIKCCD::ExposureTimerHit()
2014-08-20T07:31:18: Driver indi_atik_ccd:     libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
2014-08-20T07:31:18: Driver indi_atik_ccd: <- ATIKCCD::ExposureTimerHit
2014-08-20T07:31:18: Driver indi_atik_ccd: read <setNumberVector device='ATIK CCD Atik Titan' name='CCD_EXPOSURE'>
2014-08-20T07:31:18: Client 0: queuing <setNumberVector device='ATIK CCD Atik Titan' name='CCD_EXPOSURE'>
2014-08-20T07:31:18: Client 0: sending <setNumberVector device="ATIK CCD Atik Titan" name


libsub:
root@lamb:~# libusb-config --version
0.1.12
root@lamb:~# cat /etc/debian_version 
7.6
root@lamb:~# 
root@lamb:~# dpkg -l | grep libusb
ii  libgusb2                             0.1.3-5                            i386         GLib wrapper around libusb1
ii  libusb-0.1-4:i386                    2:0.1.12-20+nmu1                   i386         userspace USB programming library
ii  libusb-1.0-0:i386                    2:1.0.11-1                         i386         userspace USB programming library
ii  libusb-1.0-0-dev                     2:1.0.11-1                         i386         userspace USB programming library development files
ii  libusb-dev                           2:0.1.12-20+nmu1                   i386         userspace USB programming library development files
ii  libusbmuxd1                          1.0.7-2                            i386         USB multiplexor daemon for iPhone and iPod Touch devices - library
root@lamb:~#


Just want to point out that this Titan works perfectly on the same laptop but while running Windows XP (separate partition).
I can eliminate the hardware compatibility issue.

looking at my install logs, libusb hasn't been updated since March this year on my laptop running Debian.
Last edit: 9 years 8 months ago by Gonzothegreat.
9 years 8 months ago #1781

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
You can try ldd /usr/bin/indi_atik_ccd to make sure the driver is statically linked and contains no reference to INDI libraries.

I know that Titan works with Windows on every hardware but doesn't work with some of them with linux. I don't know why but it seems this one is now one of them :-( It will be very helpful if you can identify what's changed.
9 years 7 months ago #1782

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223


stephane@lamb:~$ ldd /usr/bin/indi_atik_ccd
linux-gate.so.1 => (0xb7790000)
libusb-1.0.so.0 => /lib/i386-linux-gnu/libusb-1.0.so.0 (0xb7768000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb774f000)
libcfitsio.so.3 => /usr/lib/i386-linux-gnu/libcfitsio.so.3 (0xb7565000)
libnova-0.14.so.0 => /usr/lib/i386-linux-gnu/libnova-0.14.so.0 (0xb7208000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb711c000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb70f6000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb70d9000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb6f74000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6f5b000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb6f52000)
/lib/ld-linux.so.2 (0xb7791000)
stephane@lamb:~$


Very strange, it worked fine on the same laptop running Debian/Windows XP.
I can definitely eliminate hardware issues.


I will see what has changed on my laptop. This is an odd one :(
9 years 7 months ago #1783

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223


On the 17th I have installed Gpotho2 on this laptop, and done a dselect update the same day.
2014-08-17 15:33:18 startup packages configure
2014-08-17 15:33:18 configure libssl-doc:all 1.0.1e-2+deb7u12 <none>
2014-08-17 15:33:19 configure libssl1.0.0:i386 1.0.1e-2+deb7u12 <none>
2014-08-17 15:33:20 configure libssl-dev:i386 1.0.1e-2+deb7u12 <none>
2014-08-17 15:33:20 configure libkrb5support0:i386 1.10.1+dfsg-5+deb7u2 <none>
2014-08-17 15:33:20 configure libk5crypto3:i386 1.10.1+dfsg-5+deb7u2 <none>
2014-08-17 15:33:20 configure libkrb5-3:i386 1.10.1+dfsg-5+deb7u2 <none>
2014-08-17 15:33:20 configure libgssapi-krb5-2:i386 1.10.1+dfsg-5+deb7u2 <none>
2014-08-17 15:33:20 configure libcups2:i386 1.5.3-5+deb7u4 <none>
2014-08-17 15:33:20 configure libcupsimage2:i386 1.5.3-5+deb7u4 <none>
2014-08-17 15:33:21 configure libnss3:i386 2:3.14.5-1+deb7u1 <none>
2014-08-17 15:33:21 configure libnss3-1d:i386 2:3.14.5-1+deb7u1 <none>
2014-08-17 15:33:21 configure google-chrome-stable:i386 36.0.1985.143-1 <none>
2014-08-17 15:33:23 configure linux-image-3.2.0-4-686-pae:i386 3.2.60-1+deb7u3 <none>
2014-08-17 15:34:01 configure krb5-locales:all 1.10.1+dfsg-5+deb7u2 <none>
2014-08-17 15:34:01 configure acpi-support-base:all 0.140-5+deb7u2 <none>
2014-08-17 15:34:02 configure libkdecore5:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:02 configure libkdeui5:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:02 configure libnepomuk4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:03 configure libsolid4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:03 configure libkio5:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:03 configure libnepomukquery4a:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:03 configure libnepomukutils4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:03 configure libkparts4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:04 configure libkpty4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:04 configure libkde3support4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:04 configure libkdewebkit5:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:04 configure libkemoticons4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:04 configure libkfile4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:04 configure libkjsapi4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure libktexteditor4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure libkhtml5:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure libkjsembed4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure libkntlm4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure libkrosscore4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure kdelibs5-data:all 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure kdoctools:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure kdelibs-bin:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure kdelibs5-plugins:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure libkdesu5:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure libknewstuff2-4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:05 configure libknewstuff3-4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:06 configure libkcmutils4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:06 configure libkidletime4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:06 configure libkprintutils4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:06 configure libkutils4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:06 configure libthreadweaver4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:06 configure libkimproxy4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:06 configure libkmediaplayer4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:06 configure libknotifyconfig4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:07 configure libkdnssd4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:07 configure libkrossui4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:07 configure libplasma3:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:07 configure libkunitconversion4:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:07 configure libkdeclarative5:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:07 configure kdelibs5-dev:i386 4:4.8.4-4+deb7u1 <none>
2014-08-17 15:34:07 configure linux-libc-dev:i386 3.2.60-1+deb7u3 <none>
2014-08-17 15:34:07 configure openssl:i386 1.0.1e-2+deb7u12 <none>
2014-08-17 21:14:13 startup packages configure
2014-08-17 21:14:13 configure libcdk5:i386 5.0.20060507-4 <none>
2014-08-17 21:14:14 configure libexif-gtk5:i386 0.3.5-5 <none>
2014-08-17 21:14:14 configure gphoto2:i386 2.4.14-1 <none>
2014-08-17 21:14:14 configure gtkam:i386 0.1.18-1 <none>

I have re-installed your atik-ccd deb package, thinking it would fix it but no go.
root@lamb:/home/stephane/Downloads# grep 2014-08-19 /var/log/dpkg.log  | grep configure | grep -Ev half
2014-08-19 00:51:36 configure atikccd:i386 0.8 0.8
root@lamb:/home/stephane/Downloads#
9 years 7 months ago #1784

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223
What the ... :blink: :pinch: :blink: !!!!
Without doing anything in particular to the laptop, it started working!!!!

The only difference is that I have started the indiserver with the -vv option to see more stuff.
So to make sure, I started everything from Kstars/Ekos and not from the command line.
All working fine.


I have NO IDEA what happened !!!!
9 years 7 months ago #1785

Please Log in or Create an account to join the conversation.

  • Posts: 712
  • Thank you received: 174
Your computer has a personality :-)
9 years 7 months ago #1786

Please Log in or Create an account to join the conversation.

Time to create page: 0.351 seconds