Skip to content

why event.inner.length == 4294967295 ep0_loop return #5

@imatespl

Description

@imatespl

I run usb-proxy in banana pi m2 plus, when i disconnect usb device from broad then raw_gadget return 4294967295, this number ep0_loop break, so usb_proxy main thread Segmentation fault
./usb-proxy --device=musb-hdrc.4.auto --driver=musb-hdrc
Device is: musb-hdrc.4.auto
Driver is: musb-hdrc
vendor_id is: -1
product_id is: -1
Device opened successfully
Setup USB config successfully
Start hotplug_monitor thread, thread id(10504)
Start for EP0, thread id(10487)
event: connect, length: 0
Hotplug event
Received SIGINT, stopping...
event: unknown, length: 4294967295
End for EP0, thread id(10487)
Segmentation fault

i want to known why event.inner.length == 4294967295 ep0_loop return,thanks

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