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

Resource temporarily unavailable #45

Open
huseyinkozan opened this issue Sep 6, 2022 · 1 comment
Open

Resource temporarily unavailable #45

huseyinkozan opened this issue Sep 6, 2022 · 1 comment

Comments

@huseyinkozan
Copy link

huseyinkozan commented Sep 6, 2022

Hi,

I am using module with QSerialPort at Qt 5.12 on Manjaro.

After open, there is no error. But after write(), QSerialPort returns Resource temporarily unavailable error, and closes.

I am opening /dev/tnt0 and there is no opened on the other side. I need to write without connection. Trying to implement a virtual electronics device. There is a gui which tries to connect with timer on the other side.

After some search, Resource temporarily unavailable is related with EAGAIN, I think. But I couldn't find at module c file. Specially write function.

I tried with kernels; 5.10, 5.15, 5.19.

At some trials my virtual device and gui connected. But not all the times.

How can I fix this error ?

Edit1;

  • Complete the question.
  • Added tried kernel versions.
@huseyinkozan
Copy link
Author

huseyinkozan commented Jun 9, 2023

After upgrade to Qt 5.15 and kernel 6.1.31, didn't get the error. I am able to connect the softwares.

Got same error with kernel versions 6.3.5 and 6.4.0rc2.

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

1 participant