You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I try run testusb samples and simple program with libusb. But only can write to device. Reading from device fail with timeout. And event not call
As described heresamples/subsys/usb/testusb is there to test drivers and device stack. Sample works fine on nRF52840 and passes all the tests.
Of course you can write an application that communicates with the sample. loopback is unfortunately not quite the right class name and may be confusing. In your application, the host should make Set Interface request before the first IN transfer.
Describe the bug
I try run
testusb
samples and simple program with libusb. But only can write to device. Reading from device fail with timeout. And event not callzephyr/subsys/usb/class/loopback.c
Line 80 in 67f4311
To Reproduce
Steps to reproduce the behavior:
cmake -B usb_loopback -GNinja -DBOARD=nrf52840dongle_nrf52840 zephyrproject/zephyr/samples/subsys/usb/testusb
cmake --build usb_loopback
Expected behavior
Output
Instead libusb_bulk_transfer read from device fail with timout
Impact
How to read data from usb device/
Logs and console output
Environment (please complete the following information):
Additional context
In log no entry for loopback_in_cb. Maybe I wrong call libusb_bulk_transfer?
The text was updated successfully, but these errors were encountered: