Hi Georg,

Sorry - seems like the device was incorrectly connected or my USB
stack got stuck somehow as after a system reboot things started
working:

sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --show
Driver functions:
    Power supply
Scan options:
    conn
    serialcomm
    force_detect
korad-kaxxxxp:conn=/dev/ttyACM0 - Tenma 72-2540 [S/N: xxxxxx] with 2
channels: V I
Supported configuration options:
    conn: /dev/ttyACM2 (current)
    continuous: on, off
    limit_samples: 0 (current)
    limit_time: 0 (current)
    voltage: 0.000000 (current)
    voltage_target: 0.000000, 31.000000, 0.010000
    current: 0.000000 (current)
    current_limit: 0.000000, 5.100000, 0.001000
    enabled: on, off (current)
    regulation: CC (current)
    ocp_enabled: on, off (current)
    ovp_enabled: on, off (current)

Thanks!
Chris

On Tue, 20 Sept 2022 at 12:39, Christopher Obbard <ch...@64studio.com> wrote:
>
> Hi Georg,
>
> > No, the patch is no more needed. Your device should work without it.
> > Can you test the latest git version?
>
> for what it's worth, with the latest libsigrok HEAD (and without my
> patch) on the Tenma 72-2540 I get:
>
> $ sigrok-cli --version
> sigrok-cli 0.8.0-git-af9fa8c5ea99
>
> Libraries and features:
> - libsigrok 0.6.0-git-68321f73b924/4:0:0 (rt: 0.6.0-git-68321f73b924/4:0:0).
>  - Libs:
>   - glib 2.73.3 (rt: 2.73.3/7303:0)
>   - zlib 1.2.11
>   - libzip 1.7.3
>   - minilzo 2.10
>   - libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1)
>   - libusb-1.0 1.0.26.11724 API 0x01000109
>   - hidapi 0.12.0
>   - libftdi 1.5
>   - Host: x86_64-pc-linux-gnu, little-endian.
>   - SCPI backends: TCP, RPC, serial, USBTMC.
>
>
> $ sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM0 --show
> Driver functions:
>     Power supply
> Scan options:
>     conn
>     serialcomm
>     force_detect
> sr: korad-kaxxxxp: Unsupported model ID '', aborting.
> No devices found.


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

Reply via email to