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

Circuits.UART.enumerate no work on Ubuntu 20.04 #114

Open
braulio opened this issue Nov 6, 2021 · 3 comments
Open

Circuits.UART.enumerate no work on Ubuntu 20.04 #114

braulio opened this issue Nov 6, 2021 · 3 comments

Comments

@braulio
Copy link

braulio commented Nov 6, 2021

Hello.

Hello
I created a small application to test Circuits.UART. But I cannot enumerate the ports. I use iex -S mix and Circuits.UART.enumerate.

The result is always %{}

Need help.

Thanks.

@fhunleth
Copy link
Contributor

fhunleth commented Nov 8, 2021

Could you check that it's possible to use the ports outside of Elixir? Are you a member of the dialout group?

@braulio
Copy link
Author

braulio commented Nov 12, 2021 via email

@fhunleth
Copy link
Contributor

/dev/pts/2 and /dev/pts/3 are not UARTs, so it's expected that Circuits.UART.enumerate won't return them.

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

No branches or pull requests

2 participants