×

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

Bi-monthly release with minor bug fixes and improvements

Moravian G2-8300FW getting libusb_bulk_transfer_failed

  • Posts: 37
  • Thank you received: 4
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
6 years 1 day ago #25235

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

  • Posts: 1185
  • Thank you received: 370
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
5 years 11 months ago #25803

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

  • Posts: 37
  • Thank you received: 4
If anyone is interested on this: the discussion follows on github (issue 580) .
5 years 11 months ago #26107

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

Time to create page: 0.404 seconds