×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Re:Meade DSI Pro not working any more?

  • Posts: 278
  • Thank you received: 17
Hi!

I just noticed that since december 5th 2018, my Meade DSI Pro have not been working in indi. It works fine in windows. When I start indi with indi_dsi_ccd and try to issue
 indi_setprop "DSI.CONNECTION.CONNECT=On"

I get the following error from the indi server:
.... LOADS OF LINES REMOVED ....
2019-03-11T19:32:38: Driver indi_dsi_ccd: r 81 40                                 [dt=0]
2019-03-11T19:32:38: Driver indi_dsi_ccd:     00000000: 03 3b 06                                      ACK
2019-03-11T19:32:38: Driver indi_dsi_ccd: w 1 5                                   [dt=0]
2019-03-11T19:32:38: Driver indi_dsi_ccd:     00000000: 05 3c 47 fc 00                                SET_ROW_COUNT_ODD 252
2019-03-11T19:32:38: Driver indi_dsi_ccd: r 81 40                                 [dt=0]
2019-03-11T19:32:38: Driver indi_dsi_ccd:     00000000: 03 3c 06                                      ACK
2019-03-11T19:32:38: Driver indi_dsi_ccd: w 1 5                                   [dt=1]
2019-03-11T19:32:38: Driver indi_dsi_ccd:     00000000: 05 3d 69 58 00                                AD_WRITE 88
[b]2019-03-11T19:32:38: Driver indi_dsi_ccd: terminate called after throwing an instance of 'DSI::device_read_error'
2019-03-11T19:32:38: Driver indi_dsi_ccd:   what():  libusb_bulk_transfer error Operation not permitted
2019-03-11T19:32:38: Driver indi_dsi_ccd: stderr EOF
Child process 1416 died
[/b]2019-03-11T19:32:38: Driver indi_dsi_ccd: restart #1
2019-03-11T19:32:38: Driver indi_dsi_ccd: pid=1472 rfd=0 wfd=6 efd=7
2019-03-11T19:32:38: Driver indi_dsi_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD
2019-03-11T19:32:38: Driver indi_dsi_ccd: snooping on Telescope Simulator.TELESCOPE_INFO
2019-03-11T19:32:38: Driver indi_dsi_ccd: snooping on Telescope Simulator.GEOGRAPHIC_COORD
2019-03-11T19:32:38: Driver indi_dsi_ccd: snooping on Focuser Simulator.ABS_ROTATOR_ANGLE
2019-03-11T19:32:38: Driver indi_dsi_ccd: snooping on CCD Simulator.FILTER_SLOT
2019-03-11T19:32:38: Driver indi_dsi_ccd: snooping on CCD Simulator.FILTER_NAME
2019-03-11T19:32:38: Driver indi_dsi_ccd: snooping on SQM.SKY_QUALITY

Any pointers to what is wrong?

PS: When editing this post, the forum seems to change the forum codes from square brackets to <>....
Last edit: 5 years 2 weeks ago by S.
5 years 2 weeks ago #36357

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

  • Posts: 1067
  • Thank you received: 140


Hi,
I have a Meade DSI III mono and that works fine with latest version....so I guess it’s an issue at your end.. :)
5 years 1 week ago #36741

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

  • Posts: 278
  • Thank you received: 17

Mine is NOT a DSI III, but the original Meade DSI Pro so not the same camera as you have. It have been working fine for several years, but suddenly stopped working in indi on RPI/Ubuntu 16.04. It still works fine in Windows, with the same cable. I guess the error is related to this message:
<strong>2019-03-11T19:32:38: Driver indi_dsi_ccd: terminate called after throwing an instance of 'DSI::device_read_error'
2019-03-11T19:32:38: Driver indi_dsi_ccd: what(): libusb_bulk_transfer error Operation not permitted

So SOMETHING is happening...
5 years 1 week ago #36743

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

  • Posts: 472
  • Thank you received: 165
The error relates to device access permissions which should have been set by the udev-rule included with the driver in /etc/udev/rules.d/99-meadedsi.rules which hasn't been modified since July last year.

More specifically the mode command on these lines:
# 2. Post-renumeration IDs
# Meade DSI
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="156c", ATTR{idProduct}=="0101", MODE="0666", SYMLINK+="deepskyimager.%n"

If you have a symlink in /dev/deepskyimager.0 (I guess it starts with 0, could be 1 too) that should have been run and if not, udev debug log might show a reason why not.
5 years 1 week ago #36745

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

  • Posts: 1067
  • Thank you received: 140

Sorry I should have been more clear, it’s the same driver used for all three cameras, and I Have Used all the DSI cameras with this driver, and just tried the DSI Pro again and that works fine on mine...so it’s clearly not the driver...I mentioned the DSI Pro III earlier as that’s the one I used last... :)
5 years 1 week ago #36751

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

  • Posts: 278
  • Thank you received: 17
Thanks, great to know. What OS are you running?

It is odd that it just suddenly stopped to work after having worked fine for years....
5 years 1 week ago #36754

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

  • Posts: 278
  • Thank you received: 17
This is what I have
pi@pi-Obs:~$ cat /etc/udev/rules.d/99-meadedsi.rules
ACTION=="add", ATTR{idVendor}=="156c", RUN+="/bin/sh -c '/bin/echo 256 >/sys/module/usbcore/parameters/usbfs_memory_mb'"
 
# 1. Pre-renumeration IDs
# Meade DSI
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="156c", ATTR{idProduct}=="0100", RUN+="/sbin/fxload -t fx2 -D $tempnode -I /lib/firmware/meade-deepskyimager.hex"
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="156c", ATTR{idProduct}=="01ed", RUN+="/sbin/fxload -t fx2 -D $tempnode -I /lib/firmware/meade-deepskyimager.hex"
 
# 2. Post-renumeration IDs
# Meade DSI
SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="156c", ATTR{idProduct}=="0101", MODE="0666", SYMLINK+="deepskyimager.%n"
 
pi@pi-Obs:~$ ll /dev/deepskyimager.*
lrwxrwxrwx 1 root root 15 Mar 11 20:31 /dev/deepskyimager.4 -> bus/usb/001/009

Anything wrong here?
Last edit: 5 years 1 week ago by S.
5 years 1 week ago #36757

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

  • Posts: 1067
  • Thank you received: 140
I am using Stellarmate latest on rpi 3b+, and all up to date, SM uses Ubuntu mate 16.04
Just wondering, is your DSI Pro the version 1 or 2 ....?
5 years 1 week ago #36763

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

  • Posts: 278
  • Thank you received: 17
Never heard of different versions. How do I see which one I have?
I'm also on Ubuntu 16.04....
5 years 1 week ago #36784

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

  • Posts: 1067
  • Thank you received: 140

There are three versions of Meade DSI Cameras, I, II, III and all three are made in mono and colour, the first one is a small 1/4” sensor, the version II was a 1/2” sensor, and the III, which I have is 2/3” sensor...
So that should help work out which you have... :)
A picture of the sensor would help identify..
5 years 1 week ago #36794

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

  • Posts: 278
  • Thank you received: 17
Ah, that if what you meant. I have the original Meade DSI Pro mono, 1 by your numbering.
The following user(s) said Thank You: AstroNerd
5 years 1 week ago #36795

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

  • Posts: 1067
  • Thank you received: 140

Ok, so just wondering if that camera is still supported, it’s looks like it is...maybe the driver Author is the guy to ask..?
5 years 1 week ago #36796

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

Time to create page: 1.432 seconds