Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. Udev Regel für USB Serial Devices

    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

    Udev Regel für USB Serial Devices

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

      Für alle die mit Serial USB ein Problem haben:
      Manchmal wird nach dem Booten oder wenn man den Adapter in einen anderen Stecker steckt, das Device einem anderen USB Port zugewiesen. Also anstatt USB0 dann USB1.
      Ärgerlich wenn dann das Device nicht mehr angesprochen werden kann.
      Abhilfe schafft hier eine udev Regel, bei der das Device mittels mittels VendorID und ProductId rekannt wird.
      Hier ist nochmal detailliert beschrieben wie man einen Symlink macht.
      Link

      Wichtig : Der Symlink Name muß mit ttyUSB beginnen.
      Z.B. ttyUSB_myAdapter

      An ttyUSB erkennt das System wohl, daß USB verlinkt werden muß.
      Beginnt der Name nicht mit ttyUSB wird ein GPIO verlinkt und der kennt keine Baudrate.
      Wenn also Error: Invalid argument setting custom baud rate of 9600 kommt dann ist dies nicht mit USB verlinkt.

      arteck 1 Reply Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @Gargano last edited by

        @Gargano deshalb sollte man direkt das Devie ansprechen

        ls -l /dev/serial/by-id
        

        bekommst du das auch raus

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

          Ahh, again what learned ..😳

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

          Support us

          ioBroker
          Community Adapters
          Donate

          724
          Online

          31.9k
          Users

          80.2k
          Topics

          1.3m
          Posts

          symlink udev regel für usb serial devi
          2
          3
          308
          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