tinwhisker / Owon-VDS1022

Run the Owon VDS1022 on OS X (And Linux?)
MIT License
28 stars 3 forks source link

can VDS3104 software running on ubuntu? #9

Open Jinwoo0503 opened 1 month ago

Jinwoo0503 commented 1 month ago

i try to run VDS3104 Software on Ubuntu 20.04 Desktop

i already try libusb-0.1.so.4, ch.ntb.usb-0.5.9.jar, libusbJava.so.old replace but not working with error log

$ LC_ALL=C java -jar ./plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
createUtilityPage!!!!
MainWindow
ch.ntb.usb.USBTimeoutException: LibusbJava.usb_bulk_read: Connection timed out
    at com.owon.uppersoft.vds.core.usb.CDevice.readBulk(CDevice.java:374)
    at com.owon.uppersoft.dso.source.usb.USBSource.acceptResponse(USBSource.java:135)
    at com.owon.uppersoft.dso.source.usb.USBSource.acceptResponse(USBSource.java:147)
    at com.owon.uppersoft.dso.circle.PortFilterSmart.collectPorts(PortFilterSmart.java:53)
    at com.owon.uppersoft.dso.source.usb.USBSourceManager.refreshUSBPort(USBSourceManager.java:110)
    at com.owon.uppersoft.dso.source.comm.detect.USBLoopChecker.checkUSBDevice(USBLoopChecker.java:94)
    at com.owon.uppersoft.dso.source.comm.USBDaemonHelper.onNotConnecting(USBDaemonHelper.java:31)
    at com.owon.uppersoft.dso.circle.InfiniteDaemonSmart.onNotConnecting(InfiniteDaemonSmart.java:78)
    at com.owon.uppersoft.dso.source.comm.Flow.run(Flow.java:77)
    at com.owon.uppersoft.dso.global.WorkBenchSmart$3$1.run(WorkBenchSmart.java:182)
ch.ntb.usb.USBTimeoutException: LibusbJava.usb_bulk_read: Connection timed out
    at com.owon.uppersoft.vds.core.usb.CDevice.readBulk(CDevice.java:374)
    at com.owon.uppersoft.dso.source.usb.USBSource.acceptResponse(USBSource.java:135)
    at com.owon.uppersoft.dso.source.usb.USBSource.acceptResponse(USBSource.java:147)
    at com.owon.uppersoft.dso.source.usb.USBSourceManager.acceptResponse(USBSourceManager.java:45)
    at com.owon.uppersoft.dso.source.manager.SourceManager.acceptResponse(SourceManager.java:124)
    at com.owon.uppersoft.dso.source.comm.ext.InterCommSmart.checkMachine_1(InterCommSmart.java:349)
    at com.owon.uppersoft.dso.source.comm.ext.InterCommSmart.initMachine(InterCommSmart.java:296)
    at com.owon.uppersoft.dso.source.comm.detect.InitLinkRunner.initLink(InitLinkRunner.java:67)
    at com.owon.uppersoft.dso.source.comm.detect.InitLinkRunner.run(InitLinkRunner.java:31)
    at com.owon.uppersoft.dso.source.comm.Flow.doStuff(Flow.java:46)
    at com.owon.uppersoft.dso.source.comm.Flow.run(Flow.java:64)
    at com.owon.uppersoft.dso.global.WorkBenchSmart$3$1.run(WorkBenchSmart.java:182)

Can you give me some advice on how to solve this problem?

Just Need to run VDS3104 Software (Not Require Any Python APIs...)

tinwhisker commented 4 weeks ago

Sorry, I can't help with the VDS3104 or Ubuntu, nor can I promise much time for this currently.

As a guess to start, I'd try without the libusb to see if the error changes, then check the usb udev rules are needed. Also, make sure you use a version of the software appropriate for VDS3104 - the one in this repo only has the FPGA bitstreams (and detection logic?) included for VDS1022 and VDS2052.