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

[RFC] Wake HW serial device up before reading #18

Draft
wants to merge 1 commit into
base: auterion-router-latest
Choose a base branch
from

Conversation

nicovanduijn
Copy link

@nicovanduijn nicovanduijn commented Dec 24, 2019

On the a Snapdragon 845 I have found that we do not get any data out of the serial device until a write to the same device occurs.

I currently don't understand if this is "normal" or due to some misconfiguration in the BSP. Either way, I'd appreciate some expertise and creative ideas on how to solve this problem in a nicer way than this PR does.

Note: on the same chip, same BSP, using an FTDI over USB works perfectly without this hack

@LorenzMeier
Copy link

LorenzMeier commented Dec 24, 2019

No, this is not normal and a BSP / DRIVER issue.

@caleridas
Copy link

what controller does the 845 feature? Docs do not state... both this issue and the latency problems are solvable for certain, but I am unclear about prio (or whether USB is preferred anyways).

@nicovanduijn
Copy link
Author

I don't know how to answer that question. What do you mean by controller? USB is not an option, the board is already manufactured

@caleridas
Copy link

caleridas commented Jan 6, 2020

after offline inspection, driver is here: https://patchwork.kernel.org/patch/10162069/ msm_geni_serial

more precisely: https://github.com/torvalds/linux/blob/master/drivers/tty/serial/qcom_geni_serial.c

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.

4 participants