Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIBUSB_ERROR_IO #2

Closed
kasbah opened this issue Apr 29, 2014 · 2 comments
Closed

LIBUSB_ERROR_IO #2

kasbah opened this issue Apr 29, 2014 · 2 comments

Comments

@kasbah
Copy link

kasbah commented Apr 29, 2014

Hey, just unpacked my shiny new DSLogic (looks great!) and compiled the software. The GUI freezes though when I run DSlogic and press the aquire (play) button. This is on 64-bit Ubuntu 12.04.4. You can get debs of my binaries (made with checkinstall) here: https://seacloud.cc/f/ad1149d592/

Here is what is printed to terminal:

sr: Sanity-checking all drivers.
sr: Sanity-checking all input modules.
sr: Sanity-checking all output modules.
sr: hwdriver: Initializing driver 'demo'.
sr: hwdriver: Initializing driver 'DSLogic'.
sr: hwdriver: Scan of 'demo' found 1 devices.
sr: Found an DSLogic device.
sr: hwdriver: Scan of 'DSLogic' found 1 devices.
DSLogic attaced!

sr: Firmware upload was not needed.
sr: Opened device 0 on 2.34, interface 0, firmware 1.0.
sr: Detected REVID=1, it's a Cypress CY7C68013A (FX2LP).
sr: Configure FPGA using /usr/local/bin/res/DSLogic.bin
sr: Configure 340604 bytes
sr: FPGA configure done
Starting a hotplug thread...

sr: session: sr_session_stop: session was NULL
sr: session: Starting...
sr: Stop Previous DSLogic acquisition!
sr: FPGA setting done. trigger_mode = 0; trigger_stages = 0; trigger_mask0 = 65535; trigger_value0 = 0; trigger_edge0 = 0
sr: GPIF delay = 0, clocksource = 30MHz.
sr: DSLogic Hardware: Starting acquisition.
sr: DSLogic Hardware: Sending SR_DF_HEADER packet.
sr: session: bus: Received SR_DF_HEADER packet.
sr: session: Running...
sr: receive trigger pos handle...
sr: receive_trigger_pos(): status 0; timeout 0; received 512 bytes.
sr: session: bus: Received SR_DF_TRIGGER packet.
sr: Failed to submit transfer: LIBUSB_ERROR_IO.
sr: receive_trigger_pos: could not start data transfer(-1)
sr: session: Stopping.
@UweBonnes
Copy link

Failed to submit transfer: LIBUSB_ERROR_IO seems to happen with high transfer rate, long transfers and/or many channel. Try with lower sample rate...

@DreamSourceLab
Copy link
Owner

We have found the cause. This issue will be fixed in next version, which will be released recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants