Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Failed to open IO device error after installing Raspbian updates

    Scheduled Pinned Locked Moved Solved
    DSF Development
    5
    10
    460
    Loading More Posts
    • 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.
    • curieosundefined
      curieos
      last edited by curieos

      I updated the packages via apt this morning on a machine in SBC mode, and after restarting the Pi I'm getting this error:
      IMG_20240906_093931.jpg
      The setup is two 6XDs and two 1LCs. The Pi is a Pi 5 running the bookworm image from April 19th. Fully rebooting the machine (cutting power) does not work.

      She/Her
      I work at a local 3D printing shop.
      Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • curieosundefined curieos marked this topic as a question
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        I'd backup your configs and try flashing a freshly downloaded DuetPi image.

        Z-Bot CoreXY Build | Thingiverse Profile

        gloomyandyundefined 1 Reply Last reply Reply Quote 0
        • gloomyandyundefined
          gloomyandy @Phaedrux
          last edited by

          @Phaedrux Another user reported a similar problem and found a possible solution: https://forum.duet3d.com/topic/36515/just-upgraded-sbc-duet-6hc-now-have-error-connecting

          p8blrundefined 1 Reply Last reply Reply Quote 1
          • p8blrundefined
            p8blr @gloomyandy
            last edited by p8blr

            @curieos Hey I had this error on my last try to image my rpi 5

            https://forum.duet3d.com/topic/36442/firmware-update-bricked-printer-spi-connection-has-been-reset/16

            1 Reply Last reply Reply Quote 0
            • chrishammundefined
              chrishamm administrators @curieos
              last edited by

              @curieos @p8blr I had a chance to look at it today and it appears the new RPi 5 kernel brings the pin mapping in-line again with previous RPi versions. That means the gpiochip device and pin number are now incompatible on the Raspberry Pi 5.

              To fix this problem, log into your Pi via SSH or Linux terminal and run sudo rm /opt/dsf/conf/config.json. After a few seconds, DSF should come back up again.

              Duet software engineer

              curieosundefined p8blrundefined 2 Replies Last reply Reply Quote 1
              • curieosundefined
                curieos @chrishamm
                last edited by

                @chrishamm Will this be fixed in a DSF update? We'd like to know if our customers will have this issue if they update in the future.

                She/Her
                I work at a local 3D printing shop.
                Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

                chrishammundefined 1 Reply Last reply Reply Quote 0
                • chrishammundefined
                  chrishamm administrators @curieos
                  last edited by

                  @curieos I'm about to build new DuetPi images. If your customers use only M997 S2 to install DSF updates, they won't encounter this problem. If they use apt for updates, the one-liner above will be necessary.

                  Duet software engineer

                  curieosundefined 1 Reply Last reply Reply Quote 0
                  • p8blrundefined
                    p8blr @chrishamm
                    last edited by

                    @chrishamm can confirm this works.

                    sudo apt update
                    sudo apt full-upgrade
                    sudo rm /opt/dsf/conf/config.json
                    sudo systemctl reboot
                    
                    1 Reply Last reply Reply Quote 1
                    • curieosundefined curieos has marked this topic as solved
                    • curieosundefined
                      curieos @chrishamm
                      last edited by

                      @chrishamm When will the new duet pi images be available?

                      She/Her
                      I work at a local 3D printing shop.
                      Printers: Micron+ w/Duet 3 Mini, in-progress adaptation of the Jubilee REL onto an E3D MS, Prusa i3 MK3S.

                      chrishammundefined 1 Reply Last reply Reply Quote 0
                      • chrishammundefined
                        chrishamm administrators @curieos
                        last edited by

                        @curieos I've got new builds ready for testing, please DM me if you wish to try them as well (with 3.5.2). I expect they'll be public sometime next week.

                        Duet software engineer

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA