Instrustar ISDS205A USB Oscilloscope Linux Driver - Page 1
Forum section: electronics / testgear

author: KSP
author_rank: Regular Contributor
timestamp: January 26, 2022, 04:00:47 pm
content: Hi All,I've got an IDS205A USB oscilloscope, and I've been playing with the Instrustar SDK atCode:https://github.com/instrustar-dev/SDKattempting to get their Linux example working. After raising a bug regarding their header file, they quickly updated the repo and I now have code which compiles and runs, but it does not see any devices attached.The scope is recognised by lsusb and dmesg but the example program just can't find it. I've added udev rules, run as root but still no joy. The program initialises the library just fine, but as soon as it tries to make a function call to check if the device is available the program halts.The github repo states it was tested on Ubuntu, and I'm using Fedora 35, but other than that I've done everything as instructed.Anyone had any joy with this?

author: paf
author_rank: Regular Contributor
timestamp: January 26, 2022, 07:41:54 pm
content: It does not work, and even if it worked, it would not be advisable.By their instructions:you need to compile their version of libusbyou overwrite your Linux libraries with their versionswhen the libraries have different names they have the name on file, instead of a symbolic linkYou can run it without messing with the libraries on your system like this:Code:LD_LIBRARY_PATH=../SharedLibrary/Linux/X64/Release/ ./DllTestRunning it this way (as root) it gives these messages:Code:Vdso Test...InitDll..............**********UsbDevAddRemoveCallBack DEVICE_NOTICE_ID=1********************CreateOscDevice 0********************SetDevNoticeCallBack********************SetDataReadyCallBack**********Then it does nothing.Removing the USB cable givesCode:**********UsbDevAddRemoveCallBack DEVICE_NOTICE_ID=2********************DestoryOscDevice Success********************DestoryDdsDevice********************DestoryIODevice**********DevNoticeRemoveCallBack**********DestoryOscDevice Success********************DestoryDdsDevice**********This was tested on a Debian (antiX) Linux machine.

author: KSP
author_rank: Regular Contributor
timestamp: January 26, 2022, 07:51:42 pm
content: Quote from: paf on January 26, 2022, 07:41:54 pmThanks for your response, at least it’s not just me!I tried it with their libusb and my system’s libusb, got the same result with both. The output I get is the same as you’ve shown. I inserted some debug lines into the code to check device status etc., and it showed that the reason it pauses at that particular point is because it can’t talk to the device for whatever reason.It just seems so cumbersome to have an entire windows VM solely for my scope!

author: simba15
author_rank: Regular Contributor
timestamp: January 26, 2022, 09:14:21 pm
content: I think there was some requests to add the Iisds205a to Sigrok. ( it shows "in progress" currently).There were also a fair number of requests to add the device to OpenHantek ( from the user Gyro).It would be great to have some open source software for this device as its not bad for the price.Tristan.

author: KSP
author_rank: Regular Contributor
timestamp: January 27, 2022, 07:47:06 am
content: Quote from: simba15 on January 26, 2022, 09:14:21 pmYes I noticed that, it would be really handy if it was added to Sigrok. Though from what I can tell it has been 'in progress' for a couple years now, so no telling when it will actually be complete