Hello, The Hantek 6022BL[1] LA is supported out of the box by the fx2lafw driver in libsigrok. As it identifies itself as saleae-logic it is supported only as 8-channel-LA. I made some changes to fix that:
* I changed the way the fx2lafw driver selects wide-sampling (and therefore limits the maximum samplerate). Instead of choosing it by the 16-bit-capability of the device while init it checks before it starts sampling, if one of the "higher" 8 channels is enabled. If not, it uses "normal" (8bit) sampling with possibly the full rate. The change is in a branch at github and can be pulled from [2]. * I set the 16bit capability for the saleae-logic device. This should be as the "upper" 8 channels should just deliver no data if selected. And with the on-demand-wide-sampling it has no impact on the maximum sample rate if only 8 channels are selected. The change is in a branch at github and can be pulled from [3]. Please tell me if this can be merged in this form or if I should change something. Thanks a lot, Jan.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ 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