Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xhci: add quirk for host controllers that don't update endpoint DCS #3066

Merged
merged 1 commit into from
Jul 12, 2019

Conversation

P33M
Copy link
Contributor

@P33M P33M commented Jul 11, 2019

Seen on a VLI VL805 PCIe to USB controller. For non-stream endpoints
at least, if the xHC halts on a particular TRB due to an error then
the DCS field in the Out Endpoint Context maintained by the hardware
is not updated with the current cycle state.

Using the quirk XHCI_EP_CTX_BROKEN_DCS and instead fetch the DCS bit
from the TRB that the xHC stopped on.

See: #3060

Signed-off-by: Jonathan Bell jonathan@raspberrypi.org

@leshniak
Copy link

leshniak commented Jul 11, 2019

I've just compiled and installed your branch on my RPi 4 – no issues on tvheadend (rtl2832u dongle) nor weird messages in dmesg so far. Thank you!

@trejan
Copy link

trejan commented Jul 12, 2019

All good here. This quirk patch fixes the RTL2832U problems. Tried all the various SDR tools and no errors.

Seen on a VLI VL805 PCIe to USB controller. For non-stream endpoints
at least, if the xHC halts on a particular TRB due to an error then
the DCS field in the Out Endpoint Context maintained by the hardware
is not updated with the current cycle state.

Using the quirk XHCI_EP_CTX_BROKEN_DCS and instead fetch the DCS bit
from the TRB that the xHC stopped on.

See: raspberrypi#3060

Signed-off-by: Jonathan Bell <jonathan@raspberrypi.org>
@pelwell pelwell merged commit e95c533 into raspberrypi:rpi-4.19.y Jul 12, 2019
@jbirdlebough
Copy link

Cheers anyone know how to fix RPI4 running buster where the /dev/ttyACM0 is missing, AMA0 and USB0 do work. Have critical RPI3 app that requires /dev/ttyACM0 and no access to source. Any viable work arounds. Thanks J

@P33M
Copy link
Contributor Author

P33M commented Aug 29, 2019

This has nothing to do with this commit. Issues unrelated to the linux kernel should be posted on the community forum at https://www.raspberrypi.org/forum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants