Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Einbindung von Geräten
    5. /dev/serial/by-id: No such file or directory

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    /dev/serial/by-id: No such file or directory

    This topic has been deleted. Only users with topic management privileges can see it.
    • MartinP
      MartinP @Homoran last edited by

      Der "/dev/serial" - Tree wird anscheinend nicht aufgebaut, wenn keine serial USB-Devices gefunden werden.

      wie sieht die Ausgabe von ...

      lsusb
      

      aus?

      M Homoran 2 Replies Last reply Reply Quote 0
      • M
        Minta79 @MartinP last edited by Minta79

        pi@raspberrypi:~ $ ls -la /dev/serial/by-id
        ls: cannot access '/dev/serial/by-id': No such file or directory
        
        pi@raspberrypi:~ $ lsusb
        Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
        Bus 001 Device 003: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
        Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
        Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
        

        Silicon Labs = das ist der SONOFF Stick

        MartinP 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @MartinP last edited by Homoran

          @martinp sagte in /dev/serial/by-id: No such file or directory:

          Der "/dev/serial" - Tree wird anscheinend nicht aufgebaut, wenn keine serial USB-Devices gefunden werden.

          Das ist in der Tat so, aber @Minta79 hätte wohl erwähnt wenn seine zigbee Geräte nicht erreichbar gewesen wären.

          @Minta79
          setzt mal ein sudo davor, vielleicht stimmen deine Berechtigungen nicht.

          M MartinP 2 Replies Last reply Reply Quote 0
          • M
            Minta79 @Homoran last edited by

            @homoran

            pi@raspberrypi:~ $ sudo lsusb
            Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
            Bus 001 Device 003: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
            Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
            Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
            pi@raspberrypi:~ $ sudo ls -la /dev/serial/by-id
            ls: cannot access '/dev/serial/by-id': No such file or directory
            
            Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @Minta79 last edited by Homoran

              @minta79 Danke!

              Dann bin ich mit meinem Minimalwissen am Ende, vielleicht kann @thomas-braun weiterhelfen

              läuft bei mir einwandfrei:

              pi@ioBrokerpi5:~ $ ls -la /dev/serial/by-id/
              total 0
              drwxr-xr-x 2 root root 100 Jun  5 05:44 .
              drwxr-xr-x 4 root root  80 Apr 19 11:00 ..
              lrwxrwxrwx 1 root root  13 Apr 19 11:00 usb-FTDI_FT232R_USB_UART_A10NBMVW-if00-port0 -> ../../ttyUSB0
              lrwxrwxrwx 1 root root  13 Apr 19 11:00 usb-FTDI_FT232R_USB_UART_AB0OH9QR-if00-port0 -> ../../ttyUSB2
              lrwxrwxrwx 1 root root  13 Jun  5 05:44 usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_01066523-if00-port0 -> ../../ttyUSB1
              
              1 Reply Last reply Reply Quote 0
              • haus-automatisierung
                haus-automatisierung Developer Most Active @Minta79 last edited by haus-automatisierung

                @minta79 sagte in /dev/serial/by-id: No such file or directory:

                mein SONOFF USB Stick wird am Raspberry nicht mehr unter ls -la /dev/serial/by-id aufgelistet.

                Eventuell Bullseye mit dem "kaputten" udev-Paket, welches by-id nicht mehr angelegt hat? Was gibt

                apt policy udev

                https://www.youtube.com/watch?v=2Jsedi4IueE

                Homoran 1 Reply Last reply Reply Quote 0
                • MartinP
                  MartinP @Minta79 last edited by

                  @minta79 said in /dev/serial/by-id: No such file or directory:

                  Silicon Labs CP210x UART Bridge

                  Ich habe keinen Sonoff Stick, sondern den Conbee III. Der "UART Bridge" Eintrag könnte der Sonoff Stick sein.

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @haus-automatisierung last edited by

                    @haus-automatisierung sagte in /dev/serial/by-id: No such file or directory:

                    @minta79 sagte in /dev/serial/by-id: No such file or directory:

                    mein SONOFF USB Stick wird am Raspberry nicht mehr unter ls -la /dev/serial/by-id aufgelistet.

                    Eventuell Bullseye mit dem "kaputten" Paket, welches by-id nicht mehr angelegt hat?

                    hab ich schon wieder verdrängt!

                    @Minta79
                    dann bitte iob diag in der Langfassung.

                    M 1 Reply Last reply Reply Quote 0
                    • MartinP
                      MartinP @Homoran last edited by

                      @homoran said in /dev/serial/by-id: No such file or directory:

                      Das ist in der Tat so, aber @Minta79 hätte wohl erwähnt wenn seine zigbee Geräte nicht erreichbar gewesen wären

                      Ich bin davon ausgegangen, dass seine zigbee Geräte nicht erreichbar sind, warum sonst sollte man nach /dev/serial/by-id suchen? ... in die Linux-Tiefen taucht man doch nur ab, wenn es irgendwo klemmt ... ist jedenfalls bei mir so 😉

                      haus-automatisierung M 2 Replies Last reply Reply Quote 0
                      • haus-automatisierung
                        haus-automatisierung Developer Most Active @MartinP last edited by

                        @martinp sagte in /dev/serial/by-id: No such file or directory:

                        warum sonst sollte man nach /dev/serial/by-id suchen?

                        Wahrscheinlich, weil sich der Adapter beschwert, dass das Interface nicht in dem Pfad gefunden wurde...

                        1 Reply Last reply Reply Quote 0
                        • M
                          Minta79 @MartinP last edited by

                          @martinp

                          hab einen neuen Stick bekommen, wie weil der andere defekt war

                          1 Reply Last reply Reply Quote 0
                          • M
                            Minta79 @Homoran last edited by Minta79

                            @homoran said in /dev/serial/by-id: No such file or directory:

                            dann bitte iob diag in der Langfassung.

                            ======================= SUMMARY =======================
                            			v.2024-05-22
                            
                            
                               Static hostname: raspberrypi
                                     Icon name: computer
                              Operating System: Raspbian GNU/Linux 11 (bullseye)
                                        Kernel: Linux 6.1.21-v8+
                                  Architecture: arm64
                            
                            Installation: 		native
                            Kernel: 		aarch64
                            Userland: 		32 bit
                            Timezone: 		Europe/Berlin (CEST, +0200)
                            User-ID: 		1000
                            Display-Server: 	false
                            Boot Target: 		multi-user.target
                            
                            Pending OS-Updates: 	35
                            Pending iob updates: 	27
                            
                            Nodejs-Installation:
                            /usr/bin/nodejs 	v18.19.0
                            /usr/bin/node 		v18.19.0
                            /usr/bin/npm 		10.2.3
                            /usr/bin/npx 		10.2.3
                            /usr/bin/corepack 	0.22.0
                            
                            Recommended versions are nodejs 16.20.2 and npm 8.19.4
                            Your nodejs installation is correct
                            
                            MEMORY: 
                                           total        used        free      shared  buff/cache   available
                            Mem:            7.8G        1.3G        5.9G        0.0K        578M        6.3G
                            Swap:            99M          0B         99M
                            Total:          7.9G        1.3G        6.0G
                            
                            Active iob-Instances: 	23
                            Active repo(s): stable
                            
                            ioBroker Core: 		js-controller 		5.0.17
                            			admin 			6.3.5
                            
                            ioBroker Status: 	iobroker is running on this host.
                            
                            
                            Objects type: jsonl
                            States  type: jsonl
                            
                            Status admin and web instance:
                            + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                            + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                            
                            Objects: 		12298
                            States: 		10965
                            
                            Size of iob-Database:
                            
                            25M	/opt/iobroker/iobroker-data/objects.jsonl
                            12M	/opt/iobroker/iobroker-data/states.jsonl
                            
                            
                            
                            =================== END OF SUMMARY ====================
                            
                            1 Reply Last reply Reply Quote 0
                            • haus-automatisierung
                              haus-automatisierung Developer Most Active last edited by

                              @minta79 sagte in /dev/serial/by-id: No such file or directory:

                              Operating System: Raspbian GNU/Linux 11 (bullseye)

                              Da lag ich mit der Vermutung schonmal richtig. Rest siehe oben oder hier: https://forum.iobroker.net/topic/65017/zigbee-conbee2-funktioniert-nach-update-nicht-mehr-udev

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                Minta79 @haus-automatisierung last edited by Minta79

                                @haus-automatisierung said in /dev/serial/by-id: No such file or directory:

                                Da lag ich mit der Vermutung schonmal richtig. Rest siehe oben oder hier: https://forum.iobroker.net/topic/65017/zigbee-conbee2-funktioniert-nach-update-nicht-mehr-udev

                                Das habe ich alles gemacht, aber wenn ich dies hier ausführe bekomme ich folgende Meldung und komme nicht weiter:
                                Bildschirmfoto 2024-06-05 um 11.02.53.png

                                pi@raspberrypi:~ $ sudo apt -t bullseye-proposed-updates install udev
                                Reading package lists... Done
                                E: The value 'bullseye-proposed-updates' is invalid for APT::Default-Release as such a release is not available in the sources
                                
                                haus-automatisierung 1 Reply Last reply Reply Quote 0
                                • haus-automatisierung
                                  haus-automatisierung Developer Most Active @Minta79 last edited by

                                  @minta79 sagte in /dev/serial/by-id: No such file or directory:

                                  Das habe ich alles gemacht

                                  Also hattest Du die fehlerhafte Version?

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    Minta79 @haus-automatisierung last edited by Minta79

                                    @haus-automatisierung said in /dev/serial/by-id: No such file or directory:

                                    Also hattest Du die fehlerhafte Version?

                                    Das ist mein aktueller Stand:

                                    pi@raspberrypi:~ $ apt policy udev
                                    udev:
                                      Installed: 247.3-7+rpi1+deb11u2
                                      Candidate: 247.3-7+rpi1+deb11u2
                                      Version table:
                                     *** 247.3-7+rpi1+deb11u2 500
                                            500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                                            100 /var/lib/dpkg/status
                                    

                                    Ist die fehlerhafte oder?

                                    DJMarc75 1 Reply Last reply Reply Quote 0
                                    • DJMarc75
                                      DJMarc75 @Minta79 last edited by

                                      @minta79 hast Du die Datei

                                      bullseye-proposed-updates.list
                                      

                                      nach dem Editieren auch gespeichert ?

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        Minta79 @DJMarc75 last edited by Minta79

                                        @djmarc75 said in /dev/serial/by-id: No such file or directory:

                                        @minta79 hast Du die Datei
                                        Copy to Clipboardbullseye-proposed-updates.list

                                        nach dem Editieren auch gespeichert ?

                                        Bildschirmfoto 2024-06-05 um 11.22.48.png
                                        Ja

                                        pi@raspberrypi:~ $ sudo apt update
                                        Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                                        Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                                        
                                        Get:3 http://deb.debian.org/debian bullseye-proposed-updates InRelease [54.0 kB]                         
                                        Hit:4 https://deb.nodesource.com/node_18.x nodistro InRelease                                            
                                        Err:3 http://deb.debian.org/debian bullseye-proposed-updates InRelease
                                          The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
                                        Reading package lists... Done
                                        W: GPG error: http://deb.debian.org/debian bullseye-proposed-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
                                        E: The repository 'http://deb.debian.org/debian bullseye-proposed-updates InRelease' is not signed.
                                        N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                        N: See apt-secure(8) manpage for repository creation and user configuration details.
                                        W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/backports.list:2 and /etc/apt/sources.list.d/bullseye-proposed-updates.list:2
                                        W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/backports.list:2 and /etc/apt/sources.list.d/bullseye-proposed-updates.list:2
                                        W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/backports.list:2 and /etc/apt/sources.list.d/bullseye-proposed-updates.list:2
                                        W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/backports.list:2 and /etc/apt/sources.list.d/bullseye-proposed-updates.list:2
                                        

                                        Fehler: Err:3 http://deb.debian.org/debian bullseye-proposed-updates InRelease
                                        The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Minta79 @Minta79 last edited by Minta79

                                          pi@raspberrypi:~ $ sudo apt update
                                          Hit:1 http://deb.debian.org/debian bullseye-proposed-updates InRelease
                                          Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                                        
                                          Get:3 http://deb.debian.org/debian bullseye-backports InRelease [49.0 kB]                                
                                          Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease                                           
                                          Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease                                            
                                          Get:6 http://deb.debian.org/debian bullseye-backports/main armhf Packages [399 kB]
                                          Get:7 http://deb.debian.org/debian bullseye-backports/main Translation-en [347 kB]
                                          Fetched 795 kB in 1s (622 kB/s)                               
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          44 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                          
                                          pi@raspberrypi:~ $ sudo apt -t bullseye-proposed-updates install udev
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          udev is already the newest version (247.3-7+rpi1+deb11u2).
                                          
                                          M MartinP 2 Replies Last reply Reply Quote 0
                                          • M
                                            Minta79 @Minta79 last edited by

                                            pi@raspberrypi:~ $ sudo apt -t bullseye-backports install udev
                                            

                                            DAS HAT DAS PROBLEM GELÖST - neue Version installiert - PROBLEM BEHOBEN!!!

                                            Danke für eure Hilfe

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            741
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            27
                                            3003
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo