flutter_libserialport icon indicating copy to clipboard operation
flutter_libserialport copied to clipboard

Unhandled Exception: SerialPortError: Interrupted system call, errno = 4

Open LiveRock opened this issue 3 years ago • 4 comments

I got the above error. Can someone shed some light what this error all about? Thanks

LiveRock avatar Jun 14 '21 08:06 LiveRock

same problem

arzakmiftakhul avatar Jul 15 '21 02:07 arzakmiftakhul

I have found the solution :

  1. Enable serial port permission. You can follow https://websistent.com/fix-serial-port-permission-denied-errors-linux/. Don't forget to logout your desktop account first to take effect.
  2. Make sure the port is open. adding port.open(mode: 1);. You can check it using port.isOpen();

That's work on my ubuntu + arduino (as data source)

arzakmiftakhul avatar Jul 15 '21 07:07 arzakmiftakhul

I have this even when its open and fine :S

elgansayer avatar Oct 08 '21 19:10 elgansayer

any update on this please...i am facing the same issue even though the port is open.

rishabh2791 avatar Mar 17 '22 13:03 rishabh2791

We put permission handling in todo. Activity is tracked in #76 Closed

lucafabbri avatar Feb 21 '24 12:02 lucafabbri