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

on Ubuntu, Failed to submit transfer: LIBUSB_ERROR_IO #4

Closed
bronson opened this issue May 5, 2014 · 3 comments
Closed

on Ubuntu, Failed to submit transfer: LIBUSB_ERROR_IO #4

bronson opened this issue May 5, 2014 · 3 comments

Comments

@bronson
Copy link

bronson commented May 5, 2014

Hi, I get this error when trying to capture 4k samples at 100 MHz on Ubuntu. Any idea what's going wrong?

terminal output:

(process:25504): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-J242kZt6Kt: Connection refused
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 1.43, 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)

dmesg output:

[1167502.296094] usb 1-6.4: new high-speed USB device number 42 using ehci-pci
[1167502.404356] usb 1-6.4: New USB device found, idVendor=2a0e, idProduct=0001
[1167502.404361] usb 1-6.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[1167551.224612] DSLogic[24691]: segfault at 14 ip 0000000000522b0d sp 00007fff390da1c0 error 4 in DSLogic[400000+18f000]
[1167555.584846] usb 1-6.4: USB disconnect, device number 42
[1167557.080110] usb 1-6.4: new high-speed USB device number 43 using ehci-pci
[1167557.188727] usb 1-6.4: New USB device found, idVendor=2a0e, idProduct=0001
[1167557.188732] usb 1-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[1167557.188735] usb 1-6.4: Product: DSLogic
[1167557.188738] usb 1-6.4: Manufacturer: DreamSourceLab
@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.

@dpavlin
Copy link
Contributor

dpavlin commented Jun 26, 2014

I just got my device today, and have same issue with current master from github.

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

4 participants