Hi again, finally I build all the required libraries and software my own. Now sigrok detects the device and I can read samples from it. But the continuous sampling mode does not work. He tells me the device does not support it. According to the driver it should. SR_CONF_CONTINUOUS is set in libsigrok/src/hardware/fx2lafw/api.c. It seems he is using the hantek-6xxx driver. Can I force him to use fx2lafw?
Best regards, Fabian Am 28.10.2017 um 18:34 schrieb Fabian Schwartau: > Hi everyone, > > I bought a Hantek 6022BE because I need continuous analog sampling of a > single channel. I wanted to use libsigrok for this in combination with > your fx2lafw driver. First off: can you confirm that this should work? > There is no clear feature list (continuous streaming), I had to look > into the source code to find the flag for the device. > Secondly: What is the difference between the hantek-6xxx and fx2lafw > driver? Does the hantek one use the original firmware? > Now to my main problem: libsigrok does not find the device. It is > detected by lsusb: > Bus 001 Device 038: ID 04b4:6022 Cypress Semiconductor Corp. > The vid/pid seems ok. > I tryied the folowing: > $ sudo sigrok-cli --scan > The following devices were found: > demo - Demo device with 12 channels: D0 D1 D2 D3 D4 D5 D6 D7 A0 A1 A2 A3 > $ sudo sigrok-cli --driver fx2lafw --scan > (no output) > $ sudo sigrok-cli --driver fx2lafw:conn=04b4.6022 --scan > (no output) > > It is interesting that "sigrok-cli -V" does not show the hantek-6xxx > driver. Is that a problem? > I am running Ubuntu 16.04, libsigrok 0.3.0-1build1, pulseview 0.2.0-1.1, > sigrok 0.2-3, sigrok-cli 0.5.0-1, sigrok-firmware-fx2lafw 0.1.2-1. I > know these are not the latest versions, is that a problem? I would like > to prevent building all this stuff my own. > > Best regards, > Fabian > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sigrok-devel mailing list > sigrok-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sigrok-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel