Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst]CC2531 an proxmox an LXC durchreichen scheitert...

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [gelöst]CC2531 an proxmox an LXC durchreichen scheitert...

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

      Hallo liebe Freunde,

      mal wieder das leidige Thema, trotz aller threads dazu, die ich gelesen habe komme ich aber nicht weiter:
      Ich möchte meinen ioBroker von einem schwachen NUC(1) auf einen neuen NUC(2) umziehen.
      Auf 1 läuft ioBroker unter Debian 10 mit allen Updates und einem CC2531. Der zigbee-Stick wird erkannt, die Instanz ist grün, die Ausgaben der Geräte stimmen.
      Auf 2 läuft ioBroker unter proxmox 6.1-5 in einem LXC. Ich habe nun das Problem, den CC2531 an den Container durchzureichen. Die Instanz bleibt gelb, im Log steht

      zigbee.02020-02-04 13:48:01.626error(763) Error while starting zigbee-shepherd!. Error: Error: No such file or directory, cannot open /dev/ttyACM0
      zigbee.02020-02-04 13:48:01.623info(763) Starting zigbee-shepherd
      zigbee.02020-02-04 13:47:01.621info(763) Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds)
      zigbee.02020-02-04 13:47:01.612info(763) Reset coordinator
      zigbee.02020-02-04 13:47:01.606warn(763) adapter.getMessage is deprecated and will be removed in js-controller 2.3. Please report this warning to the developer of this adapter!
      zigbee.02020-02-04 13:47:01.590info(763) Queue is: true
      zigbee.02020-02-04 13:47:01.589info(763) Start on port: /dev/ttyACM0 with panID 6754 channel 11
      zigbee.02020-02-04 13:47:01.575info(763) starting. Version 0.10.2 in /opt/iobroker/node_modules/iobroker.zigbee, node: v10.18.1
      

      Folgendes habe ich als Ausgaben unter proxmox pve Host:

      root@pve:~# ls -la /dev/serial/by-id/
      total 0
      drwxr-xr-x 2 root root 60 Feb  4 12:19 .
      drwxr-xr-x 4 root root 80 Feb  4 12:19 ..
      lrwxrwxrwx 1 root root 13 Feb  4 12:19 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0014D9D6A3-if00 -> ../../ttyACM0
      

      Ich interpretiere das so, dass der Host den Stick erkennt. Jetzt sollen ja die IDs herausgefunden werden. Dazu

      root@pve:~# ls -l /dev/ttyACM0
      crw-rw---- 1 root dialout 166, 0 Feb  4 12:19 /dev/ttyACM0
      

      Daraus interpretiere ich die ID 166:0

      Mit

      root@pve:/etc/pve/lxc# lsusb
      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 004: ID 8087:0aaa Intel Corp. 
      Bus 001 Device 003: ID 0451:16a8 Texas Instruments, Inc. 
      Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      

      interpretiere ich, dass der Stick an Bus 001, Device 003 steckt

      In der LXC Konfiguration des ioBroker Containers habe ich jetzt also folgendes eingetragen:

      arch: amd64
      cores: 4
      features: keyctl=1,nesting=1
      hostname: ioBrokerDebian10
      memory: 8192
      net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.178.1,hwaddr=2E:81:9B:26:E3:3A,ip=192.168.178.6/24,type=veth
      onboot: 1
      ostype: debian
      rootfs: local-lvm:vm-202-disk-0,size=20G
      swap: 0
      unprivileged: 1
      lxc.cgroup.devices.allow: c 166:0 rwm
      lxc.mount.entry: /dev/bus/usb/001/003 dev/bus/usb/001/003 none bind,optional,create=file
      
      

      Wenn ich nun den LXC stoppe und wieder starte, dann sollte der Stick nun durchgreicht werden. Die Instanz bleibt aber gelb und es kommt das o.g. Log.

      Wenn ich in der Shell des LXC von ioBroker folgendes mache:

      root@ioBrokerDebian10:~# ls -l /dev/ttyACM0
      ls: Zugriff auf '/dev/ttyACM0' nicht möglich: Datei oder Verzeichnis nicht gefunden
      root@ioBrokerDebian10:~# ls -l /dev/tty*
      crw-rw-rw- 1 nobody nogroup   5, 0 Feb  4 14:36 /dev/tty
      crw------- 1 jo     tty     136, 0 Feb  4 14:37 /dev/tty1
      crw--w---- 1 root   tty     136, 1 Feb  4 13:46 /dev/tty2
      

      Damit interpretiere ich, dass das Durchreichen nicht funktioniert hat...

      Hat jemand noch eine Idee dazu. Trotz genügender Ressourcen des NUC möchte ich lieber bei einem LXC statt einer VM verwenden. Andere haben das doch auch am Laufen.

      Kann mir noch jemand einen Tip geben?

      XxJooO 1 Reply Last reply Reply Quote 0
      • XxJooO
        XxJooO @XxJooO last edited by

        @XxJooO sagte in CC2531 an proxmox an LXC durchreichen scheitert...:

        lxc.mount.entry: /dev/bus/usb/001/003 dev/bus/usb/001/003 none bind,optional,create=file

        Ich habe diese Zeile jetzt mal geändert in

        lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
        

        Somit bekomme ich im LXC bei einem

        root@ioBrokerDebian10:~# ls -l /dev/tty*
        crw-rw-rw- 1 nobody nogroup   5, 0 Feb  4 15:55 /dev/tty
        crw------- 1 jo     tty     136, 0 Feb  4  2020 /dev/tty1
        crw--w---- 1 root   tty     136, 1 Feb  4 15:54 /dev/tty2
        crw-rw---- 1 nobody nogroup 166, 0 Feb  4 15:40 /dev/ttyACM0
        

        Demnach wäre jetzt dem LXC ein Device /dev/ttyACM0 bekannt.

        Das führt dazu, dass ich im ioBroker jetzt auch das angezeigt bekomme
        40efd3ae-09a6-439f-9f95-8316897ca57c-image.png

        Ich kann also /dev/ttyACM0 auswählen. Allerdings ändert sich das Log nicht

        zigbee.0	2020-02-04 16:06:01.746	error	(847) Error while starting zigbee-shepherd!. Error: Error: Permission denied, cannot open /dev/ttyACM0
        

        , die Instanz bleibt gelb. Was ich nicht verstehe ist: "Permission denied." Ich interpretiere das als ein Rechteproblem. Allerdings weist doch

        crw-rw---- 1 nobody nogroup 166, 0 Feb  4 15:40 /dev/ttyACM0
        

        darauf hin, dass der LXC die Rechte hätte...

        Was mich noch irritiert ist die Anzeige in dem Bild aus ioBroker oben. Auf dem NUC 1 sieht das ganz anders aus.

        XxJooO 1 Reply Last reply Reply Quote 0
        • XxJooO
          XxJooO @XxJooO last edited by

          @XxJooO sagte in CC2531 an proxmox an LXC durchreichen scheitert...:

          Was mich noch irritiert ist die Anzeige in dem Bild aus ioBroker oben. Auf dem NUC 1 sieht das ganz anders aus.

          Das hat sich in diesem Moment erledigt, jetzt sieht es wieder so aus wie auf NUC 1. Hab in einem anderen thread gesehen, dass @arteck die Benamsung auf git korrigiert hat.

          1 Reply Last reply Reply Quote 0
          • XxJooO
            XxJooO last edited by XxJooO

            Mmmmhhh,

            nachdem @arteck die Benamsung korrigiert hat wurde der Adapter neu installiert. Auf NUC 2 sieht die Oberfläche jetzt wieder wie die auf NUC 1 aus.

            Auch hat sich das Log jetzt komplett geändert:

            zigbee.0	2020-02-04 16:38:02.353	error	(1204) Error: Error while opening serialport 'Error: Error: Permission denied, cannot open /dev/ttyACM0' at Znp.<anonymous> (/opt/iobroker/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp
            zigbee.0	2020-02-04 16:38:02.352	error	(1204) Failed to start Zigbee
            

            Da steht noch viel mehr
            21fba2e9-c7dc-4f2d-b4b0-288b8852d759-image.png

            1 Reply Last reply Reply Quote 0
            • XxJooO
              XxJooO last edited by

              Irgendjemand hat doch wohl seinen CC2531 unter proxmox an einen LXC durchgereicht - wenn ja wie?

              1 Reply Last reply Reply Quote 0
              • XxJooO
                XxJooO last edited by

                Hallo Leute,

                ich habe die Lösung gefunden!

                Folgendes muss gemacht werden:

                root@pve:~# lsusb
                Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                Bus 001 Device 004: ID 8087:0aaa Intel Corp. 
                Bus 001 Device 003: ID 0451:16a8 Texas Instruments, Inc. 
                Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
                Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                root@pve:~# ls -l /dev/ttyACM0
                crw-rw-rw- 1 root dialout 166, 0 Feb  5 09:35 /dev/ttyACM0
                root@pve:~# ls -l /dev/bus/usb/001/003
                crw-rw-r-- 1 root root 189, 2 Feb  5 08:05 /dev/bus/usb/001/003
                

                Man sieht also den Stick an Bus 001 Device 003.
                Dies ergibt die ID 189:2.
                Der Stick wird als ttyACM0 angelegt und der hat die ID 166:0
                Man muss einfach beides in die .conf-Datei des LXC eintragen, das sieht dann so aus:

                arch: amd64
                cores: 4
                features: keyctl=1,nesting=1
                hostname: ioBrokerDebian10
                memory: 8192
                net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.178.1,hwaddr=2E:81:9B:26:E3:3A,ip=192.168.178.6/24,type=veth
                onboot: 1
                ostype: debian
                rootfs: local-lvm:vm-202-disk-1,size=20G
                swap: 0
                unprivileged: 1
                lxc.cgroup.devices.allow: c 189:* rwm
                lxc.mount.entry: /dev/bus/usb/001/003 dev/bus/usb/001/003 none bind,optional,create=file
                lxc.cgroup.devices.allow: c 166:* rwm
                lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
                

                Danach noch ein

                chmod o+rw /dev/ttyACM0
                

                Danach wird der Container neu gestartet und die Instanz wird grün...

                metaxa 1 Reply Last reply Reply Quote 1
                • XxJooO
                  XxJooO last edited by XxJooO

                  Ergänzung:

                  im letzten Post ist das

                  chmod o+rw /dev/ttyACM0
                  

                  der entscheidende Schritt, aber nicht alleine, da das zum Einen einen Reboot des proxmox-Host nicht übersteht und zum Anderen noch etwas fehlt.

                  Ich habe mich deshalb schlau gemacht, wie man unter Debian 10 rc.local wieder reaktiviert und dann eine rc.local mit folgendem Inhalt erstellt:

                  #!/bin/sh -e
                  #
                  # rc.local
                  #
                  # This script is executed at the end of each multiuser runlevel.
                  # Make sure that the script will "exit 0" on success or any other
                  # value on error.
                  #
                  # In order to enable or disable this script just change the execution
                  # bits.
                  #
                  # By default this script does nothing.
                  
                  chmod o+rw /dev/ttyACM0
                  chmod o+rw /dev/bus/usb/001/003
                  exit 0
                  

                  jetzt wird der ganze Eingriff persistent und übersteht problemlos einen Host-Reboot!

                  XxJooO amg_666 2 Replies Last reply Reply Quote 3
                  • H
                    hoktar last edited by

                    Hi,
                    danke für die umfängliche Anleitung. ich habe nur noch nicht verstanden wo ich die rc.local finde/erstelle. kannst du das auch noch mal näher erklären?

                    Was mir an der ganzen Sache aber auch schon aufgefallen ist und bei mir zu Problemen geführt hat, ist: wenn man den Stick abzieht und wieder in dieselbe Buchse steckt, bekommt der immer eine neue Device Nummer. Muss ich dann jedes Mal trotzdem alles neu machen?

                    mfg

                    1 Reply Last reply Reply Quote 0
                    • XxJooO
                      XxJooO @XxJooO last edited by

                      @hoktar
                      wenn Du dem rc.local-Link folgst, dann werden da die Verzeichnisse gezeigt, in denen die Files erstellt werden. In dem Link wird allerdings der Inhalt über den Befehl

                      cat
                      

                      erzeugt. Das hat bei mir auch nicht funktioniert. Ich habe die Dateien dann mit

                      nano
                      

                      erstellt und dann ging es. Auf Deine letzte Frage kann ich Dir leider keine Antwort geben. Allerdings verstehe ich gar nicht, warum dazu die Notwendigkeit besteht. Seitdem ich meinen Stick eingesteckt habe, hat er den NUC nicht mehr verlassen...
                      Grüße

                      Kalle Blomquist 1 Reply Last reply Reply Quote 0
                      • Kalle Blomquist
                        Kalle Blomquist @XxJooO last edited by

                        @XxJooO Dank Dir!! Hat sehr gut funktioniert. Es läuft iobroker bei mir auch im Container mit dem CC2531.
                        👍 👏

                        1 Reply Last reply Reply Quote 0
                        • metaxa
                          metaxa @XxJooO last edited by

                          @XxJooO sagte in [gelöst]CC2531 an proxmox an LXC durchreichen scheitert...:

                          ich habe die Lösung gefunden!
                          Folgendes muss gemacht werden:

                          Servus!
                          Irgendetwas mache ich falsch, du empfiehlst:

                          root@pve:~# lsusb
                          Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                          Bus 001 Device 004: ID 8087:0aaa Intel Corp. 
                          Bus 001 Device 003: ID 0451:16a8 Texas Instruments, Inc. 
                          Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
                          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                          

                          Ich mache das auch dirket am NUC in Proxmox:

                          root@proxmox:~# lsusb
                          Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                          Bus 001 Device 003: ID 8087:0aa7 Intel Corp.
                          Bus 001 Device 005: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
                          Bus 001 Device 002: ID 0451:16c8 Texas Instruments, Inc.
                          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                          

                          In meinem Fall geht es um das Durchreichen des USV USB Anschlusses Bus 001 Device 005. Gebe ich jetzt deinen nächsten Befehl ein:

                          root@proxmox:~# ls -l /dev/ttyACM0
                          ls: cannot access '/dev/ttyACM0': No such file or directory
                          

                          Kanst du mir bitte weiterhelfen?
                          LG aus Wien, mxa

                          wendy2702 1 Reply Last reply Reply Quote 0
                          • XxJooO
                            XxJooO last edited by

                            @metaxa sagte in [gelöst]CC2531 an proxmox an LXC durchreichen scheitert...:

                            American Power Conversion Uninterruptible Power Supply

                            Hallo @metaxa,

                            bei dem Gerät handelt es sich um ein USV. Ich bin absolut kein Linux-Kenner... es wird aber am ehesten damit zu tun haben, dass das Gerät unter Linux eben keines aus /dev/ttyACM0 sein wird. Leider kannst Du da nur weiter googeln.

                            z.B. Link Text

                            Grüße
                            Jo

                            1 Reply Last reply Reply Quote 0
                            • wendy2702
                              wendy2702 @metaxa last edited by wendy2702

                              @metaxa Warum macht Ihr das nicht über den Proxmox WEBGUI?

                              Ich habe das gestern noch für meine USV gemacht.

                              Dauerte keine 5 Minuten.

                              P.S. Bin Proxmox Anfänger.

                              metaxa 1 Reply Last reply Reply Quote 0
                              • metaxa
                                metaxa @wendy2702 last edited by

                                @wendy2702 sagte in [gelöst]CC2531 an proxmox an LXC durchreichen scheitert...:

                                Warum macht Ihr das nicht über den Proxmox WEBGUI?

                                Bin mir nicht sicher dich richtig zu verstehen, den USB zu einer VM durchzureichen = machbar über die Proxmox Oberfläche. Bei einem Container geht das meiner Meinung nach nicht.

                                wendy2702 1 Reply Last reply Reply Quote 0
                                • XxJooO
                                  XxJooO last edited by

                                  @metaxa,

                                  ich habe kein USV. Allerdings ist es doch so, dass nicht der Container, in dem der ioBroker läuft, mit dem USV kommunizieren muss, sondern Proxmox selbst, da Proxmox die VMs und LXC herunterfahren muss, wenn der Strom weg geht. Siehe die Diskussion in dem von mir verlinkten Beitrag im Proxmox-Forum.

                                  oberfragger 1 Reply Last reply Reply Quote 0
                                  • wendy2702
                                    wendy2702 @metaxa last edited by

                                    @metaxa Sorry, hast recht.

                                    Sag ja, ich bin Anfänger. Habe das LXC nicht auf dem Schirm gehabt und das gestern für eine VM gemacht.

                                    1 Reply Last reply Reply Quote 0
                                    • metaxa
                                      metaxa last edited by

                                      @XxJooO Du hast vollkommen recht mit "dirket unter Proxmox", da traue ich mich aber nicht drüber.
                                      @wendy2702 Dennoch lieben Dank für deine Rückmeldung.
                                      Ich habs fürs Erste aufgegeben und den NUT Dienst lt. dieser Anleitung in der VM des ioBroker gemacht. USB durchgereicht und läuft auch schon im ioBroker Adapter. Jetzt muss ich mich mal mit den gelieferten Daten beschäftigen, aufs Erste habe ich noch keinen DP "wie lange tät die Batterie bei Netzausfall aushalten" gefunden.
                                      LG, mxa

                                      wendy2702 1 Reply Last reply Reply Quote 0
                                      • wendy2702
                                        wendy2702 @metaxa last edited by

                                        @metaxa Habe im Forum noch das gefunden.

                                        https://forum.iobroker.net/topic/26933/frage-zu-usv/22?page=2

                                        So macht es aus meiner Sicht am meisten Sinn die USV mit dem Server zu verbinden.

                                        Ich werde mein Setup auch dahingehend ändern.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Malz1902 last edited by

                                          kann man auch die dev/serial/by-id durchreichen?
                                          Hatte den Host neugestartet und lsusb sagt nun das die Geräte nicht mehr an Bus 001 Device 004 und 005 sind sonder plötzlich Device 002 und 006

                                          1 Reply Last reply Reply Quote 0
                                          • oberfragger
                                            oberfragger @XxJooO last edited by oberfragger

                                            @XxJooO Danke für deine Anleitungen. Ich bekomme es nicht gebacken! Ich will nur einen Lesekopf für Smartmeter durchreichen...!

                                            root@pve:~# lsusb
                                            Bus 001 Device 002: ID 8087:8000 Intel Corp. 
                                            Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                            Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
                                            Bus 002 Device 005: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
                                            Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                            
                                            root@pve:~# ls -l /dev/tty*
                                            crw-rw-rw- 1 root tty       5,  0 Oct  5 00:19 /dev/tty
                                            crw--w---- 1 root tty       4,  0 Oct  4 00:59 /dev/tty0
                                            crw--w---- 1 root tty       4,  1 Oct  4 00:59 /dev/tty1
                                            crw--w---- 1 root tty       4, 10 Oct  4 00:59 /dev/tty10
                                            crw--w---- 1 root tty       4, 11 Oct  4 00:59 /dev/tty11
                                            crw--w---- 1 root tty       4, 12 Oct  4 00:59 /dev/tty12
                                            crw--w---- 1 root tty       4, 13 Oct  4 00:59 /dev/tty13
                                            crw--w---- 1 root tty       4, 14 Oct  4 00:59 /dev/tty14
                                            crw--w---- 1 root tty       4, 15 Oct  4 00:59 /dev/tty15
                                            crw--w---- 1 root tty       4, 16 Oct  4 00:59 /dev/tty16
                                            crw--w---- 1 root tty       4, 17 Oct  4 00:59 /dev/tty17
                                            crw--w---- 1 root tty       4, 18 Oct  4 00:59 /dev/tty18
                                            crw--w---- 1 root tty       4, 19 Oct  4 00:59 /dev/tty19
                                            crw--w---- 1 root tty       4,  2 Oct  4 00:59 /dev/tty2
                                            crw--w---- 1 root tty       4, 20 Oct  4 00:59 /dev/tty20
                                            crw--w---- 1 root tty       4, 21 Oct  4 00:59 /dev/tty21
                                            crw--w---- 1 root tty       4, 22 Oct  4 00:59 /dev/tty22
                                            crw--w---- 1 root tty       4, 23 Oct  4 00:59 /dev/tty23
                                            crw--w---- 1 root tty       4, 24 Oct  4 00:59 /dev/tty24
                                            crw--w---- 1 root tty       4, 25 Oct  4 00:59 /dev/tty25
                                            crw--w---- 1 root tty       4, 26 Oct  4 00:59 /dev/tty26
                                            crw--w---- 1 root tty       4, 27 Oct  4 00:59 /dev/tty27
                                            crw--w---- 1 root tty       4, 28 Oct  4 00:59 /dev/tty28
                                            crw--w---- 1 root tty       4, 29 Oct  4 00:59 /dev/tty29
                                            crw--w---- 1 root tty       4,  3 Oct  4 00:59 /dev/tty3
                                            crw--w---- 1 root tty       4, 30 Oct  4 00:59 /dev/tty30
                                            crw--w---- 1 root tty       4, 31 Oct  4 00:59 /dev/tty31
                                            crw--w---- 1 root tty       4, 32 Oct  4 00:59 /dev/tty32
                                            crw--w---- 1 root tty       4, 33 Oct  4 00:59 /dev/tty33
                                            crw--w---- 1 root tty       4, 34 Oct  4 00:59 /dev/tty34
                                            crw--w---- 1 root tty       4, 35 Oct  4 00:59 /dev/tty35
                                            crw--w---- 1 root tty       4, 36 Oct  4 00:59 /dev/tty36
                                            crw--w---- 1 root tty       4, 37 Oct  4 00:59 /dev/tty37
                                            crw--w---- 1 root tty       4, 38 Oct  4 00:59 /dev/tty38
                                            crw--w---- 1 root tty       4, 39 Oct  4 00:59 /dev/tty39
                                            crw--w---- 1 root tty       4,  4 Oct  4 00:59 /dev/tty4
                                            crw--w---- 1 root tty       4, 40 Oct  4 00:59 /dev/tty40
                                            crw--w---- 1 root tty       4, 41 Oct  4 00:59 /dev/tty41
                                            crw--w---- 1 root tty       4, 42 Oct  4 00:59 /dev/tty42
                                            crw--w---- 1 root tty       4, 43 Oct  4 00:59 /dev/tty43
                                            crw--w---- 1 root tty       4, 44 Oct  4 00:59 /dev/tty44
                                            crw--w---- 1 root tty       4, 45 Oct  4 00:59 /dev/tty45
                                            crw--w---- 1 root tty       4, 46 Oct  4 00:59 /dev/tty46
                                            crw--w---- 1 root tty       4, 47 Oct  4 00:59 /dev/tty47
                                            crw--w---- 1 root tty       4, 48 Oct  4 00:59 /dev/tty48
                                            crw--w---- 1 root tty       4, 49 Oct  4 00:59 /dev/tty49
                                            crw--w---- 1 root tty       4,  5 Oct  4 00:59 /dev/tty5
                                            crw--w---- 1 root tty       4, 50 Oct  4 00:59 /dev/tty50
                                            crw--w---- 1 root tty       4, 51 Oct  4 00:59 /dev/tty51
                                            crw--w---- 1 root tty       4, 52 Oct  4 00:59 /dev/tty52
                                            crw--w---- 1 root tty       4, 53 Oct  4 00:59 /dev/tty53
                                            crw--w---- 1 root tty       4, 54 Oct  4 00:59 /dev/tty54
                                            crw--w---- 1 root tty       4, 55 Oct  4 00:59 /dev/tty55
                                            crw--w---- 1 root tty       4, 56 Oct  4 00:59 /dev/tty56
                                            crw--w---- 1 root tty       4, 57 Oct  4 00:59 /dev/tty57
                                            crw--w---- 1 root tty       4, 58 Oct  4 00:59 /dev/tty58
                                            crw--w---- 1 root tty       4, 59 Oct  4 00:59 /dev/tty59
                                            crw--w---- 1 root tty       4,  6 Oct  4 00:59 /dev/tty6
                                            crw--w---- 1 root tty       4, 60 Oct  4 00:59 /dev/tty60
                                            crw--w---- 1 root tty       4, 61 Oct  4 00:59 /dev/tty61
                                            crw--w---- 1 root tty       4, 62 Oct  4 00:59 /dev/tty62
                                            crw--w---- 1 root tty       4, 63 Oct  4 00:59 /dev/tty63
                                            crw--w---- 1 root tty       4,  7 Oct  4 00:59 /dev/tty7
                                            crw--w---- 1 root tty       4,  8 Oct  4 00:59 /dev/tty8
                                            crw--w---- 1 root tty       4,  9 Oct  4 00:59 /dev/tty9
                                            crw------- 1 root root      5,  3 Oct  4 00:59 /dev/ttyprintk
                                            crw-rw---- 1 root dialout   4, 64 Oct  4 00:59 /dev/ttyS0
                                            crw-rw---- 1 root dialout   4, 65 Oct  4 00:59 /dev/ttyS1
                                            crw-rw---- 1 root dialout   4, 74 Oct  4 00:59 /dev/ttyS10
                                            crw-rw---- 1 root dialout   4, 75 Oct  4 00:59 /dev/ttyS11
                                            crw-rw---- 1 root dialout   4, 76 Oct  4 00:59 /dev/ttyS12
                                            crw-rw---- 1 root dialout   4, 77 Oct  4 00:59 /dev/ttyS13
                                            crw-rw---- 1 root dialout   4, 78 Oct  4 00:59 /dev/ttyS14
                                            crw-rw---- 1 root dialout   4, 79 Oct  4 00:59 /dev/ttyS15
                                            crw-rw---- 1 root dialout   4, 80 Oct  4 00:59 /dev/ttyS16
                                            crw-rw---- 1 root dialout   4, 81 Oct  4 00:59 /dev/ttyS17
                                            crw-rw---- 1 root dialout   4, 82 Oct  4 00:59 /dev/ttyS18
                                            crw-rw---- 1 root dialout   4, 83 Oct  4 00:59 /dev/ttyS19
                                            crw-rw---- 1 root dialout   4, 66 Oct  4 00:59 /dev/ttyS2
                                            crw-rw---- 1 root dialout   4, 84 Oct  4 00:59 /dev/ttyS20
                                            crw-rw---- 1 root dialout   4, 85 Oct  4 00:59 /dev/ttyS21
                                            crw-rw---- 1 root dialout   4, 86 Oct  4 00:59 /dev/ttyS22
                                            crw-rw---- 1 root dialout   4, 87 Oct  4 00:59 /dev/ttyS23
                                            crw-rw---- 1 root dialout   4, 88 Oct  4 00:59 /dev/ttyS24
                                            crw-rw---- 1 root dialout   4, 89 Oct  4 00:59 /dev/ttyS25
                                            crw-rw---- 1 root dialout   4, 90 Oct  4 00:59 /dev/ttyS26
                                            crw-rw---- 1 root dialout   4, 91 Oct  4 00:59 /dev/ttyS27
                                            crw-rw---- 1 root dialout   4, 92 Oct  4 00:59 /dev/ttyS28
                                            crw-rw---- 1 root dialout   4, 93 Oct  4 00:59 /dev/ttyS29
                                            crw-rw---- 1 root dialout   4, 67 Oct  4 00:59 /dev/ttyS3
                                            crw-rw---- 1 root dialout   4, 94 Oct  4 00:59 /dev/ttyS30
                                            crw-rw---- 1 root dialout   4, 95 Oct  4 00:59 /dev/ttyS31
                                            crw-rw---- 1 root dialout   4, 68 Oct  4 00:59 /dev/ttyS4
                                            crw-rw---- 1 root dialout   4, 69 Oct  4 00:59 /dev/ttyS5
                                            crw-rw---- 1 root dialout   4, 70 Oct  4 00:59 /dev/ttyS6
                                            crw-rw---- 1 root dialout   4, 71 Oct  4 00:59 /dev/ttyS7
                                            crw-rw---- 1 root dialout   4, 72 Oct  4 00:59 /dev/ttyS8
                                            crw-rw---- 1 root dialout   4, 73 Oct  4 00:59 /dev/ttyS9
                                            crw-rw-rw- 1 root dialout 188,  0 Oct  5 23:13 /dev/ttyUSB0
                                            
                                            root@pve:~# ls -l /dev/bus/usb/002/005
                                            crw-rw-r-- 1 root root 189, 132 Oct  5 23:13 /dev/bus/usb/002/005
                                            
                                            arch: amd64
                                            cores: 2
                                            hostname: iobroker
                                            memory: 3072
                                            net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=7A:8D:76:2A:03:3B,ip=dhcp,ip6=auto,type=veth
                                            onboot: 1
                                            ostype: debian
                                            rootfs: local-lvm:vm-101-disk-0,size=15G
                                            swap: 512
                                            lxc.cgroup.devices.allow: c 189:* rwm
                                            lxc.mount.entry: /dev/bus/usb/002/005 dev/bus/usb/002/005 none bind,optional,create=file
                                            lxc.cgroup.devices.allow: c 189:* rwm
                                            lxc.mount.entry: /dev/ttyUSB0 /dev/ttyUSB0 none bind,optional,create=file
                                            
                                            root@pve:~# chmod o+rw /dev/ttyUSB0
                                            
                                            oberfragger 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            1.0k
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            proxmox lxc cc2531
                                            15
                                            62
                                            12008
                                            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