Hi,
found it myself. I used the sigrok and pulseview RPMs provided by official OpenSuse package store. These seem not to contain everything that is contained in source code on github. Especially the Kingst code is not contained, the rpm-provided packages did not contain any symbols or
strings related to KingST.

So I compiled the original source code from github myself, namely libsigrok, libsigrokdecode, pulseview, sigrok-cli

Then KingstST symbols are contained in libraries, and pulseview offers the KingST LA2016 driver and allows to select the LA5032.
Caputure then also works fine!

So it was just a problem with incomplete/strange versions of the software.

Dennis

Am 24.09.23 um 11:38 schrieb Dennis:

I am trying to run pulseview with my newly bought KingST LA5032. I am new to sigrok, so please excuse if I do not see the obvious :-)


Pulseview worked well with a cheap Salea 24Mhz/8channel clone on same machine. So I bought the LA5032 to do some real work.

The LA5032 works well with vendor software, but is not recognized by Pulseview. Platform is Linux (OpenSuse 15.4).


I have extracted a bunch of firmwares with the python script:

dennis-pc:/home/dennis/innomaker-la5032/sigrok/sigrok-util-HEAD-249b79d/firmware/kingst-la # ./sigrok-fwextract-kingst-la2016 /home/dennis/KingstVIS/KingstVIS

    resource fwusb/fw01A1, file kingst-la-01a1.fw, size 5350, checksum
    800fff37
    resource fwusb/fw01A2, file kingst-la-01a2.fw, size 5430, checksum
    720551a9
    resource fwusb/fw01A3, file kingst-la-01a3.fw, size 5697, checksum
    1c4f4184
    resource fwusb/fw01A4, file kingst-la-01a4.fw, size 142412,
    checksum 066af8de
    resource fwusb/fw03A1, file kingst-la-03a1.fw, size 5459, checksum
    797a67ea
    resource fwfpga/LA1010A0, file kingst-la1010a0-fpga.bitstream,
    size 124412, checksum a655cdd2
    resource fwfpga/LA1010A1, file kingst-la1010a1-fpga.bitstream,
    size 125301, checksum 2333d203
    resource fwfpga/LA1010A2, file kingst-la1010a2-fpga.bitstream,
    size 342524, checksum d2cf8e9e
    resource fwfpga/LA1016, file kingst-la1016-fpga.bitstream, size
    178151, checksum 7db70001
    resource fwfpga/LA1016A1, file kingst-la1016a1-fpga.bitstream,
    size 178379, checksum 166866be
    resource fwfpga/LA2016, file kingst-la2016-fpga.bitstream, size
    178542, checksum 20694ff1
    resource fwfpga/LA2016A1, file kingst-la2016a1-fpga.bitstream,
    size 178362, checksum 7cc894fa
    resource fwfpga/LA2016A2, file kingst-la2016a2-fpga.bitstream,
    size 577892, checksum f7377457
    resource fwfpga/LA5016, file kingst-la5016-fpga.bitstream, size
    181322, checksum c0799f49
    resource fwfpga/LA5016A1, file kingst-la5016a1-fpga.bitstream,
    size 247485, checksum d8adbcff
    resource fwfpga/LA5016A2, file kingst-la5016a2-fpga.bitstream,
    size 593076, checksum 3a555fcd
    resource fwfpga/LA5032A0, file kingst-la5032a0-fpga.bitstream,
    size 451116, checksum 6e32f945
    resource fwfpga/MS6218, file kingst-ms6218-fpga.bitstream, size
    127244, checksum 64079d0e



and copied all these files (or do I need that LA5032A0 bitstream file only?) to systems location for
firmware, /usr/share/sigrok-firmware/:

    dennis-pc:/usr/share/sigrok-firmware # ls /usr/share/sigrok-firmware/
    fx2lafw-braintechnology-usb-lps.fw fx2lafw-sigrok-fx2-8ch.fw      
    kingst-la1016-fpga.bitstream
    fx2lafw-cwav-usbeeax.fw fx2lafw-yixingdianzi-mdso.fw   
    kingst-la2016a1-fpga.bitstream
    fx2lafw-cwav-usbeedx.fw kingst-la-01a1.fw              
    kingst-la2016a2-fpga.bitstream
    fx2lafw-cwav-usbeesx.fw kingst-la-01a2.fw              
    kingst-la2016-fpga.bitstream
    fx2lafw-cwav-usbeezx.fw kingst-la-01a3.fw              
    kingst-la5016a1-fpga.bitstream
    fx2lafw-cypress-fx2.fw kingst-la-01a4.fw              
    kingst-la5016a2-fpga.bitstream
    fx2lafw-hantek-6022be.fw kingst-la-03a1.fw              
    kingst-la5016-fpga.bitstream
    fx2lafw-hantek-6022bl.fw kingst-la1010a0-fpga.bitstream 
    kingst-la5032a0-fpga.bitstream
    fx2lafw-sainsmart-dds120.fw kingst-la1010a1-fpga.bitstream 
    kingst-ms6218-fpga.bitstream
    fx2lafw-saleae-logic.fw kingst-la1010a2-fpga.bitstream
    fx2lafw-sigrok-fx2-16ch.fw kingst-la1016a1-fpga.bitstream


Starting pulseview and selecting the fx2lafw driver (I am not even sure that this is the right one, but assume it), gives no devices selectable.

After checking this forum, I also executed sigrok-cli:

    dennis-pc:/usr/share/sigrok-firmware # sigrok-cli -L -l 5 --scan
    sr: [00:00.000001] log: libsigrok loglevel set to 5.
    sr: [00:00.000026] backend: libsigrok 0.5.2/5:1:1.
    sr: [00:00.000052] backend: Libs: glib 2.70.4 (rt: 2.70.5/7005:5),
    libzip 1.8.0, libserialport 0.1.1/1:0:1 (rt:
    0.1.1/1:0:1), libusb-1.0 1.0.24.11584 API 0x01000108, hidapi
    0.10.1, bluez 5.62, libftdi 1.5.
    sr: [00:00.000057] backend: Host: x86_64-suse-linux-gnu,
    little-endian.
    sr: [00:00.000061] backend: SCPI backends: TCP, RPC, serial, USBTMC.
    sr: [00:00.000064] backend: Firmware search paths:
    sr: [00:00.000078] backend:  - /root/.local/share/sigrok-firmware
    sr: [00:00.000081] backend:  - /usr/share/sigrok-firmware
    sr: [00:00.000084] backend:  -
    /home/dennis/.local/share/flatpak/exports/share/sigrok-firmware
    sr: [00:00.000088] backend:  -
    /var/lib/flatpak/exports/share/sigrok-firmware
    sr: [00:00.000090] backend:  - /usr/local/share/sigrok-firmware
    sr: [00:00.000094] backend:  - /usr/share/sigrok-firmware
    sr: [00:00.000111] backend: Sanity-checking all drivers.
    sr: [00:00.000117] backend: Sanity-checking all input modules.
    sr: [00:00.000121] backend: Sanity-checking all output modules.
    sr: [00:00.000128] backend: Sanity-checking all transform modules.
    srd: libsigrokdecode loglevel set to 5.
    Supported hardware drivers:
     agilent-dmm          Agilent U12xx series DMMs
      ...

      fx2lafw              fx2lafw (generic driver for FX2 based LAs)
      ...

    srd: Exiting libsigrokdecode.

    sr: [00:00.076048] hwdriver: Cleaning up all drivers.


In the log output I can see nothing related to recognition of any device. The string "kingst" also does not appear.

lsusb gives

    Bus 001 Device 036: ID 77a1:01a2 Kingst Kingst Logic Analyzer


and as said, the vendor software can work with the analyzer. I did installed the udev rule from with vendor install.sh .


Is there a step by step procedure that I can follow to find out the issue here? I would be happy to use pulseview...

Dennis





_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to