×

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

Bi-monthly release with minor bug fixes and improvements

ATIK INDI driver and SDK 0.24

  • Posts: 712
  • Thank you received: 174
Hi, new ATIK INDI driver and ATIK SDK with the added support for ATIK VS range cameras are available for testing from our INDI Resources page. Drivers are statically linked against INDI 0.9.9 rel. 1954. Any feedback is welcome.

Peter
9 years 2 months ago #2951

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

  • Posts: 173
  • Thank you received: 10

Replied by Steve on topic ATIK INDI driver and SDK 0.24

Hi Peter
Would I notice any difference with this driver for my Atik 314 L+ than the previous one please? I`m running Kubuntu 15.04 64bit.
Steve
Last edit: 9 years 2 months ago by Steve.
9 years 2 months ago #2966

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

  • Posts: 712
  • Thank you received: 174
Hi Steve, code specific for Atik 314 is the same, but driver is statically linked against libindi and thus later is probably better. Peter
9 years 2 months ago #2967

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

  • Posts: 2255
  • Thank you received: 223
Hi Peter,

I've tried this driver on my Odroid-C1 (fresh install, Ubuntu, nothing special), I can expose to let's say 5sec for example but it's stuck on "download" in Ekos after the exposure.
Also tried the 0.20 Mac driver after connecting the Titan to the laptop and I get the same thing, expose but stuck on Download.


Stephane
9 years 2 months ago #2993

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

  • Posts: 2255
  • Thank you received: 223
Here's an strace of the process while Ekos is stuck on "Downloading":
root@lamb:~# strace -p 1427
Process 1427 attached
select(1, [0], NULL, NULL, {0, 620291}) = 0 (Timeout)
gettimeofday({1422970921, 741850}, NULL) = 0
gettimeofday({1422970921, 742192}, NULL) = 0
gettimeofday({1422970921, 742461}, NULL) = 0
select(1, [0], NULL, NULL, {0, 999730}) = 0 (Timeout)
gettimeofday({1422970922, 743851}, NULL) = 0
gettimeofday({1422970922, 744148}, NULL) = 0
gettimeofday({1422970922, 744463}, NULL) = 0
select(1, [0], NULL, NULL, {0, 999684}) = 0 (Timeout)
gettimeofday({1422970923, 745827}, NULL) = 0
gettimeofday({1422970923, 746119}, NULL) = 0
gettimeofday({1422970923, 746386}, NULL) = 0
select(1, [0], NULL, NULL, {0, 999732}^CProcess 1427 detached
 <detached ...>
root@lamb:~# 


the above loops and loops and loops.....


and here's an strace while doing a 12sec exposure:
timerfd_settime(10, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbfd29bdc) = -1 EAGAIN (Resource temporarily unavailable)
mmap2(NULL, 1298432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb62aa000
clock_gettime(CLOCK_MONOTONIC, {358, 31062140}) = 0
timerfd_settime(10, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={388, 31062000}}, NULL) = 0
ioctl(11, USBDEVFS_SUBMITURB, 0x84dc040) = 0
poll([{fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLOUT}], 4, 60000) = 1 ([{fd=11, revents=POLLOUT}])
ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbfd29b9c) = 0
timerfd_settime(10, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbfd29b9c) = -1 EAGAIN (Resource temporarily unavailable)
mmap2(NULL, 1298432, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb616d000
clock_gettime(CLOCK_MONOTONIC, {358, 34514465}) = 0
timerfd_settime(10, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={388, 34514000}}, NULL) = 0
ioctl(11, USBDEVFS_SUBMITURB, 0x84de200) = 0
poll([{fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLOUT}], 4, 60000) = 1 ([{fd=10, revents=POLLIN}])
clock_gettime(CLOCK_MONOTONIC, {388, 34908650}) = 0
ioctl(11, USBDEVFS_DISCARDURB, 0x84de200) = 0
timerfd_settime(10, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
poll([{fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLOUT}], 4, 0) = 1 ([{fd=11, revents=POLLOUT}])
ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbfd29bdc) = 0
timerfd_settime(10, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbfd29bdc) = -1 EAGAIN (Resource temporarily unavailable)
munmap(0xb616d000, 1298432)             = 0
munmap(0xb62aa000, 1298432)             = 0
clock_gettime(CLOCK_MONOTONIC, {388, 59068635}) = 0
timerfd_settime(10, TFD_TIMER_ABSTIME, {it_interval={0, 0}, it_value={418, 59068000}}, NULL) = 0
ioctl(11, USBDEVFS_SUBMITURB, 0x84de200) = 0
poll([{fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}, {fd=11, events=POLLOUT}], 4, 60000) = 1 ([{fd=11, revents=POLLOUT}])
ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbfd29b9c) = 0
timerfd_settime(10, 0, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
ioctl(11, USBDEVFS_REAPURBNDELAY, 0xbfd29b9c) = -1 EAGAIN (Resource temporarily unavailable)
time(NULL)                              = 1422971635
write(1, "<?xml version='1.0'?>\n<setNumber"..., 235) = 235
gettimeofday({1422971635, 34312}, NULL) = 0
select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
gettimeofday({1422971635, 34640}, NULL) = 0
gettimeofday({1422971635, 34798}, NULL) = 0
gettimeofday({1422971635, 34950}, NULL) = 0
select(1, [0], NULL, NULL, {0, 999848}) = 0 (Timeout)
Last edit: 9 years 2 months ago by Gonzothegreat.
9 years 2 months ago #2994

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

  • Posts: 712
  • Thank you received: 174
Please can you try to run atik_ccd_test?
9 years 2 months ago #2995

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

  • Posts: 2255
  • Thank you received: 223

Will post it later on today or in the week. I need to re-image my Odroid-C1..... made a mistake.... lol
9 years 2 months ago #2996

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

  • Posts: 2255
  • Thank you received: 223
Here's the output of the atik_ccd_test
It's running on a Odroid-C1 / eMMc card / minimum Debian install

root@odroidc1-001e06ccbd78:~# cat /etc/debian_version 
7.8
root@odroidc1-001e06ccbd78:~# uname -a
Linux odroidc1-001e06ccbd78 3.10.66 #1 SMP PREEMPT Sat Jan 31 16:23:52 MST 2015 armv7l GNU/Linux
root@odroidc1-001e06ccbd78:~# indiserver -h
2015-02-03T19:22:14: startup: indiserver -h 
Usage: indiserver [options] driver [driver ...]
Purpose: server for local and remote INDI drivers
INDI Library: 0.9.9
Code $Revision: 726523 $. Protocol 1.7.
Options:
 -l d     : log driver messages to <d>/YYYY-MM-DD.islog
 -m m     : kill client if gets more than this many MB behind, default 64
 -p p     : alternate IP port, default 7624
 -f path  : Path to fifo for dynamic startup and shutdown of drivers.
 -v       : show key events, no traffic
 -vv      : -v + key message content
 -vvv     : -vv + complete xml
driver    : executable or device@host[:port]
root@odroidc1-001e06ccbd78:~# dpkg -l | grep atik
ii  atikccd                         0.23                      armhf        INDI Driver for Atik Titan/3xx/4xx cameras and filter wheels
root@odroidc1-001e06ccbd78:~#
9 years 2 months ago #3001
Attachments:

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

  • Posts: 2255
  • Thank you received: 223
just realised the following in dmesg when the atik test is running.
[  313.613168@3] 
[  793.344978@3] WARN::hc_xfer_timeout:2719: hc_xfer_timeout: timeout on channel 10
[  793.346742@3] WARN::hc_xfer_timeout:2721:    start_hcchar_val 0x00d8c200
[  793.353255@3] WARN::hc_xfer_timeout:2726:    chn-10,ep8-IN:type:2,speed:2,len:512,addr3
[  793.353255@3] 
root@odroidc1-001e06ccbd78:~# 
9 years 2 months ago #3002

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

  • Posts: 712
  • Thank you received: 174
Strange, it is the same problem as on Pi, camera timed exposure succeed and computer timed failed. I'll look at the timing again.

Just for sure, can you check file long.fits if it is real image (maybe with missing end) or just a garble?

I don't think it will fix the problem, but there is a newer version of the driver:

download.cloudmakers.eu/atikccd-0.24-armhf.deb

Peter
9 years 2 months ago #3003

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

  • Posts: 2255
  • Thank you received: 223
testing this now
9 years 2 months ago #3004

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

  • Posts: 2255
  • Thank you received: 223
installed the 0.24 and the atik test failed.
 -> AtikCameraImpl::getIOState(4)
 <- AtikCameraImpl::getIOState 1 1
 -> AtikCameraImpl::getIOState(4)
 <- AtikCameraImpl::getIOState 1 1
 -> AtikCameraImpl::getIOState(4)
 <- AtikCameraImpl::getIOState 1 0
    copying buffer with precharge substraction 658 x 492 to 0, 0 - 658, 492
    libusb_bulk_transfer -> LIBUSB_ERROR_TIMEOUT
 -> AtikCameraImpl::setParTimeout(1000)
 <- AtikCameraImpl::setParTimeout 1
    unlock()
<- AtikCameraImpl::getImage 0 [0x38 0x26 0x9c 0xfa...]
 
data...
 9784 64156 0 65535 0 0 65535 0 11856 1548
 16686 28544 10908 0 8088 4752 36088 7958 0 0
 2158 35298 65535 65535 0 10252 0 0 18470 0
 0 42850 0 31738 34978 16294 9198 60 0 50434
 36974 0 0 63466 0 65535 65535 30480 0 0
 0 0 0 0 52478 0 0 0 0 0
 0 37726 0 65535 0 0 27796 0 31118 0
 1088 12512 0 65535 65535 0 0 65535 65535 0
 0 65535 3522 24012 49784 924 3040 65535 0 0
 0 0 0 0 0 0 11240 0 0 0
 
saved to short.fits
 
 
close --------------------
 
-> AtikCameraImpl::close()
<- AtikCameraImpl::close
 
Atik Titan test failed
root@odroidc1-001e06ccbd78:~# ls
long.fits  short.fits  spi.sh
root@odroidc1-001e06ccbd78:~# ls -la
total 1304
drwxr-xr-x  3 root root   4096 Feb  3 14:08 .
drwxr-xr-x 22 root root   4096 Dec 31  1969 ..
-rw-------  1 root root   8206 Feb  3 14:06 .bash_history
-rw-r--r--  1 root root 650880 Feb  3 12:28 long.fits
-rw-------  1 root root     13 Feb  3 13:33 .nano_history
-rw-r--r--  1 root root 650880 Feb  3 14:08 short.fits
-rwxr-xr-x  1 root root   1161 Feb  3 13:33 spi.sh
drwx------  2 root root   4096 Feb  3 12:19 .ssh
root@odroidc1-001e06ccbd78:~# file short.fits 
short.fits: FITS image data, 16-bit, two's complement binary integer
root@odroidc1-001e06ccbd78:~# file long.fits 
long.fits: FITS image data, 16-bit, two's complement binary integer
root@odroidc1-001e06ccbd78:~# 


As for the fits, they are garbage, especially the shorts.fits one
9 years 2 months ago #3006

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

Time to create page: 0.778 seconds