Skip to content

Gadget serial locks up. #1876

@ED6E0F17

Description

@ED6E0F17

https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=167934&start=179

When using g_serial, or telnet over g_ether, the tty will lock up on certain text strings. (tested on Linux 4.9)
"dmesg|head" or "ls" tend to fail, while "dmesg|tail" or "ls -l" may succeed. This issue goes away when using ssh over g_ether.

This will be an upstream bug, since it affects the dwc2 USB driver.

EDIT:

Working with Linux 4.9-rc2 
    Working before usb-4.9.rc3
    Broken with usb-4.9-rc3
    Broken before tty-4.9-rc3
Broken with 4.9-rc3

Bisected to usb-4.9-rc3, 20+ commits.

Working with:
    Revert "usb: dwc2: gadget: change variable name to more meaningful"
Broken with
    Revert "usb: dwc2: gadget: fix TX FIFO size and address initialization"

Bisected to:
3fa9538

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions