Bug 891 - LWLA-1016 found but can't set configuration via libusb_set_configuration()
Summary: LWLA-1016 found but can't set configuration via libusb_set_configuration()
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: sysclk-lwla (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Daniel Elstner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-09 16:55 CET by Sergey Naydenov
Modified: 2023-08-07 13:55 CEST (History)
3 users (show)



Attachments
I2C EEPROM 24c32 dump (4.00 KB, application/octet-stream)
2017-02-09 16:55 CET, Sergey Naydenov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Naydenov 2017-02-09 16:55:08 CET
Created attachment 277 [details]
I2C EEPROM 24c32 dump

Summary: LWLA-1016 found but got error when libusb_set_configuration() - LIBUSB_ERROR_NOT_FOUND.

I am using Windows 7 x64, lib-usb 1.2.6 and try operate in sigrok-cli-devel:

Using libsigrok 0.5.0-git-b020b81 (lib version 3:0:0).
Using libsigrokdecode 0.5.0-git-2bde58c (lib version 3:0:0).

C:\...am Files (x86)\sigrok\sigrok-cli>li.exe -d sysclk-lwla -l 5 --samples 10
sr: [00:00.000000] log: libsigrok loglevel set to 5.
sr: [00:00.000000] backend: libsigrok 0.5.0-git-b020b81/3:0:0 (rt: 0.5.0gitb020b81/3:0:0).
sr: [00:00.000000] backend: Libs: glib 2.44.1 (rt: 2.44.1/4401:1), libzip 1.1.3,libserialport 0.1.1/1:0:1 (rt: 0.1.1/1:0:1), libusb-1.0 1.0.20.11003-rc3, libftdi 1.2.
sr: [00:00.000000] backend: Host: i686-w64-mingw32.static.posix, little-endian.
sr: [00:00.000000] backend: SCPI backends: TCP, serial, USBTMC.
sr: [00:00.000000] backend: Sanity-checking all drivers.
sr: [00:00.000000] backend: Sanity-checking all input modules.
sr: [00:00.000000] backend: Sanity-checking all output modules.
sr: [00:00.000000] backend: Sanity-checking all transform modules.
srd: libsigrokdecode loglevel set to 5.
sr: [00:00.010000] hwdriver: Initializing driver 'sysclk-lwla'.
sr: [00:00.030000] hwdriver: Scan of 'sysclk-lwla' found 1 devices.
sr: [00:00.030000] usb: Trying to open USB device 2.3.
sr: [00:00.060000] usb: Opened USB device (VID:PID = 2961:6688, bus.address = 2.
3).
sr: [00:00.060000] sysclk-lwla: Failed to set USB configuration: LIBUSB_ERROR_NOT_FOUND.
sr: [00:00.060000] usb: Closed USB device 2.3.
Failed to open device.
Comment 1 Uwe Hermann 2018-10-02 17:50:57 CEST
Hi, please retry this with the latest sigrok-cli installer for Windows (and with "-l 5"). I can't reproduce this specific error, but unfortunately we're currently hitting bug #1092 instead (we'll have to look into that).

Bug #1092 is also happening on Linux, so not Windows-specific.

You mentioned "lib-usb 1.2.6", which is weird. The log clearly says that it's linked against libusb-1.0 1.0.20.11003-rc3 (which is correct). Btw, you have to set the driver to "WinUSB" via Zadig, any other values there are incorrect.
Comment 2 Rock12 2023-08-07 13:55:16 CEST
We will also discuss the importance of composition, background selection, and storytelling in portrait photography. Whether you are photographing individuals, couples, or families, this blog post will equip you with the necessary skills to capture stunning portraits that leave a lasting impact. https://dailyrangefinder.com/best-nikon-rangefinder/