Skip to content

frame_get_one: libusb_bulk_transfer returned -7 #11

@Qingzaiuuuu

Description

@Qingzaiuuuu

Hi! When I run test-viewer.py with Raspberrypi 4B the fisrt time, it runs well. But when i exit the program and restart it, the Terminal shows frame_get_one: libusb_bulk_transfer returned -7
. And I have to reboot the pi then it works.
I have also tried adding libusb_clear_halt(handle, 0x81); before res = libusb_bulk_transfer(handle, 0x81, &frame.m->rawdata[done], todo, &actual_length, 500);in seek.cpp and compiling again. But it didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions