Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Raspberry PI 3 - Serial Gateway failing with Serial - write failed: Resource temporarily unavailable

Raspberry PI 3 - Serial Gateway failing with Serial - write failed: Resource temporarily unavailable

Scheduled Pinned Locked Moved Hardware
4 Posts 3 Posters 1.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    esawyja
    wrote on last edited by
    #1

    Hi all,
    Has anyone seen this before on a Raspberry PI, when I restart it is fine again
    root@mmm_gateway:~# systemctl status mysgw
    ● mysgw.service - MySensors Gateway daemon
    Loaded: loaded (/etc/systemd/system/mysgw.service; enabled)
    Active: active (running) since Mon 2017-02-20 10:06:27 SAST; 20h ago
    Main PID: 577 (mysgw)
    CGroup: /system.slice/mysgw.service
    └─577 /usr/local/bin/mysgw

    Feb 20 10:50:01 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:01 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:01 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:05 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:06 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:06 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:06 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:07 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:07 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    Feb 20 10:50:09 mmm_gateway mysgw[577]: Serial - write failed: Resource temporarily unavailable
    root@mmm_gateway:~#
    root@mmm_gateway:~# systemctl restart mysgw
    root@mmm_gateway:~# systemctl status mysgw
    ● mysgw.service - MySensors Gateway daemon
    Loaded: loaded (/etc/systemd/system/mysgw.service; enabled)
    Active: active (running) since Tue 2017-02-21 07:03:21 SAST; 1s ago
    Main PID: 30189 (mysgw)
    CGroup: /system.slice/mysgw.service
    └─30189 /usr/local/bin/mysgw

    Feb 21 07:03:21 mmm_gateway systemd[1]: Started MySensors Gateway daemon.
    Feb 21 07:03:21 mmm_gateway mysgw[30189]: Starting gateway...
    Feb 21 07:03:21 mmm_gateway mysgw[30189]: Protocol version - 2.1.1
    root@mmm_gateway:~#

    I don't see any errors in /var/log/messages

    Thanks!

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Doesn't the WiFi & Bluetooth on the RPi 3 use the serial port? Have you looked in to that?

      1 Reply Last reply
      0
      • E Offline
        E Offline
        esawyja
        wrote on last edited by
        #3

        mmmh I havent, but I don't use either on this implementation... Has not happened again.... Confusing...

        1 Reply Last reply
        0
        • gohanG Offline
          gohanG Offline
          gohan
          Mod
          wrote on last edited by
          #4

          Consider using the ethernet gateway if you keep having trouble with the serial one

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          22

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular