Welcome, Guest
Username: Password: Remember me
25 Jul 2018
Glad to announce of release of INDI Library v1.7.4 on 2018-07-25. A few drivers were added in this release as we continue to improve & stabilize existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Moravian G2-8300FW getting libusb_bulk_transfer_failed

Moravian G2-8300FW getting libusb_bulk_transfer_failed 5 months 3 weeks ago #25235

  • sergiod
  • sergiod's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 3
Hi everyone. I'm facing random issues with my MI G2-8300FW, hope you can help me.

When I'm imaging (or focusing) sooner o later I start to get errors from indi_mi_ccd_usb driver ("[ERROR] Getting voltage failed: Camera is not connected. ", "[ERROR] Getting image ready failed: Camera is not connected. ", and so on). At this point the only thing I could do is shutdown the indi server and start it again.

Here is the relevant section of the log, where you can see that the driver is reporting an error on libusb_bulk_transfer failed():
[2018-04-18T13:50:40.138 CEST INFO ][   org.kde.kstars.ekos.capture] - "Capturing image..."
[2018-04-18T13:50:41.080 CEST DEBG ][           org.kde.kstars.indi] - MI CCD G2-8300 : "[DEBUG] Taking a 1.000 seconds frame... "
[2018-04-18T13:50:41.121 CEST DEBG ][           org.kde.kstars.indi] - MI CCD G2-8300 : "[DEBUG] Exposure in progress: Time left 0.97s "
[2018-04-18T13:51:42.218 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  "2018-04-18T11:51:42: Driver indi_mi_ccd_usb: [gxccd] error: libusb_bulk_transfer failed(): cmd: 0x11, write: false, ret: -7, Operation timed out, transferred: 0, in_len: 2, out_len: 5"
[2018-04-18T13:51:42.219 CEST DEBG ][           org.kde.kstars.indi] - INDI Server:  ""
[2018-04-18T13:51:42.220 CEST INFO ][           org.kde.kstars.indi] - MI CCD G2-8300 :  "[ERROR] Getting voltage failed: Camera is not connected. "
[2018-04-18T13:51:42.222 CEST INFO ][           org.kde.kstars.indi] - MI CCD G2-8300 :  "[ERROR] Getting image ready failed: Camera is not connected. "
[2018-04-18T13:51:43.222 CEST INFO ][           org.kde.kstars.indi] - MI CCD G2-8300 :  "[ERROR] Getting temperature failed: Camera is not connected. "
[...repeats...]

I'm running indiserver and kstars/ekos (latest versions) under Ubuntu Mate 17.10 (up to date) on an Intel NUC6CAYH (BIOS up to date). USB controller seems to be using Linux 4.13.0-38-generic xhci-hcd driver.

dmesg output shows two warnings about "invalid maxpacket" upon plugging (not sure if it's related to the issue):
--- inmediately after I plugged the camera: ---
[Wed Apr 18 13:45:10 2018] usb 1-2: new high-speed USB device number 4 using xhci_hcd
[Wed Apr 18 13:45:10 2018] usb 1-2: New USB device found, idVendor=1347, idProduct=0406
[Wed Apr 18 13:45:10 2018] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
--- when I start indiserver ---
[Wed Apr 18 13:46:15 2018] usb 1-2: USB disconnect, device number 4
[Wed Apr 18 13:46:16 2018] usb 1-2: new high-speed USB device number 5 using xhci_hcd
[Wed Apr 18 13:46:16 2018] usb 1-2: config 1 interface 0 altsetting 0 bulk endpoint 0x1 has invalid maxpacket 64
[Wed Apr 18 13:46:16 2018] usb 1-2: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64
[Wed Apr 18 13:46:16 2018] usb 1-2: New USB device found, idVendor=1347, idProduct=0406
[Wed Apr 18 13:46:16 2018] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Wed Apr 18 13:46:16 2018] usb 1-2: Product: G2-1600
[Wed Apr 18 13:46:16 2018] usb 1-2: Manufacturer: Moravian Instruments
[Wed Apr 18 13:46:16 2018] usb 1-2: SerialNumber: G2-1600-0001
--- when I shut down indiserver: ---
[Wed Apr 18 13:53:52 2018] usb 1-2: USB disconnect, device number 5

Tests I've done:
- Changed the usb cable. Same result.
- Tested the camera (with original cable) in a windows box. No issues found (tested through six hours of continuous shooting).

I didn't experience any of these problems before on my previous astro box, which was based on a RPi3 but I was running earlier versions of indi and moravian driver.

Any ideas? Thanks in advance.
Sergio

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

Moravian G2-8300FW getting libusb_bulk_transfer_failed 5 months 1 week ago #25803

Hi Sergio,
I can confirm the problem, my Moravian G2-8300 with external filter wheel shows the same behavior.
My setup: Raspberry Pi 3b with Raspbian 9.0 and INDI 1.7.2.
Wolfgang

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

Moravian G2-8300FW getting libusb_bulk_transfer_failed 4 months 3 weeks ago #26107

  • sergiod
  • sergiod's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 17
  • Thank you received: 3
If anyone is interested on this: the discussion follows on github (issue 580) .

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

  • Page:
  • 1
Time to create page: 0.074 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica