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

Increase delay for tty.usbmodem on macOS. #964

Merged

Conversation

niw
Copy link
Contributor

@niw niw commented Jul 5, 2021

Problems

On macOS USB CDC ACM, which appears as /dev/tty.usbmodem*,
somehow lxterm keeps failing to send a payload.

Solution

Increase delay.

It's very unknown why to me, however, probably macOS USB CDC ACM
driver implementation issue.

Testing

Tested on MacBook Air (2020, M1) for OrangeCrab (rev.0.2) target
with Linux on LiteX SoC bitstream build from current commit and
load prebuild Linux On LiteX image.

**Problems**

On macOS USB CDC ACM, which appears as `/dev/tty.usbmodem*`,
somehow `lxterm` keeps failing to send a payload.

**Solution**

Increase delay.

It's very unknown why to me, however, probably macOS USB CDC ACM
driver implementation issue.

**Testing**

Tested on MacBook Air (2020, M1) for OrangeCrab (rev.0.2) target
with Linux on LiteX SoC bitstream build from current commit and
load prebuild Linux On LiteX image.
@enjoy-digital enjoy-digital merged commit dd5413b into enjoy-digital:master Jul 6, 2021
@enjoy-digital
Copy link
Owner

Thanks for the explanations and fix @niw, this is merged.

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.

2 participants