×

INDI Library v1.7.9 Released (23 Jun 2019)

INDI Library v1.7.9 is mostly a maintenance release to fix a few bugs in several drivers.

Re:Meade DSI Pro not working any more?

  • Posts: 88
  • Thank you received: 6

Meade DSI Pro not working any more? was created by universalmaster

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
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
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: 3 months 2 weeks ago by universalmaster.
3 months 2 weeks ago #36357

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

  • Posts: 420
  • Karma: 1
  • Thank you received: 64

Replied by AstroNerd on topic Meade DSI Pro not working any more?

universalmaster wrote: 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
<code>
indi_setprop "DSI.CONNECTION.CONNECT=On"
</code>

I get the following error from the indi server:
<code>
.... 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
<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
2019-03-11T19:32:38: Driver indi_dsi_ccd: stderr EOF
Child process 1416 died
</strong>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
</code>

Any pointers to what is wrong?

PS: When editing this post, the forum seems to change the forum codes from square brackets to <>....



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.. :)
Stellarmate OS on Raspberry pi3b+ controlled with Kubuntu laptop
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes
3 months 1 week ago #36741

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

  • Posts: 88
  • Thank you received: 6

Replied by universalmaster on topic Meade DSI Pro not working any more?

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.. :)


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...
3 months 1 week ago #36743

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

  • Posts: 188
  • Karma: 5
  • Thank you received: 78

Replied by jpaana on topic Meade DSI Pro not working any more?

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.
Remote observatory running Ubuntu 19.04 x64 with ScopeDome 2M, Skywatcher EQ8 and HEQ5, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, USB_Focus V3, Gemini SnapCap, USB_DewPoint, KomaHub
3 months 1 week ago #36745

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

  • Posts: 420
  • Karma: 1
  • Thank you received: 64

Replied by AstroNerd on topic Meade DSI Pro not working any more?

universalmaster wrote:

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.. :)


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:
<code>
<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
</code>

So SOMETHING is happening...


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... :)
Stellarmate OS on Raspberry pi3b+ controlled with Kubuntu laptop
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes
3 months 1 week ago #36751

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

  • Posts: 88
  • Thank you received: 6

Replied by universalmaster on topic Meade DSI Pro not working any more?

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....
3 months 1 week ago #36754

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

  • Posts: 88
  • Thank you received: 6

Replied by universalmaster on topic Meade DSI Pro not working any more?

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: 3 months 1 week ago by universalmaster.
3 months 1 week ago #36757

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

  • Posts: 420
  • Karma: 1
  • Thank you received: 64

Replied by AstroNerd on topic Meade DSI Pro not working any more?

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 ....?
Stellarmate OS on Raspberry pi3b+ controlled with Kubuntu laptop
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes
3 months 1 week ago #36763

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

  • Posts: 88
  • Thank you received: 6

Replied by universalmaster on topic Meade DSI Pro not working any more?

Never heard of different versions. How do I see which one I have?
I'm also on Ubuntu 16.04....
3 months 6 days ago #36784

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

  • Posts: 420
  • Karma: 1
  • Thank you received: 64

Replied by AstroNerd on topic Meade DSI Pro not working any more?

universalmaster wrote: Never heard of different versions. How do I see which one I have?
I'm also on Ubuntu 16.04....


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..
Stellarmate OS on Raspberry pi3b+ controlled with Kubuntu laptop
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes
3 months 6 days ago #36794

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

  • Posts: 88
  • Thank you received: 6

Replied by universalmaster on topic Meade DSI Pro not working any more?

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
3 months 6 days ago #36795

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

  • Posts: 420
  • Karma: 1
  • Thank you received: 64

Replied by AstroNerd on topic Meade DSI Pro not working any more?

universalmaster wrote: Ah, that if what you meant. I have the original Meade DSI Pro mono, 1 by your numbering.


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..?
Stellarmate OS on Raspberry pi3b+ controlled with Kubuntu laptop
Skywatcher EQ8 pro
Meade series 5000 80mm triplet Apo & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar Guide Camera
Pegasus Ultimate Hub for all USB & Power
Pegasus focus motors on both scopes
3 months 6 days ago #36796

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

Time to create page: 1.295 seconds