From owner-freebsd-hackers@freebsd.org Thu Oct 19 16:33:51 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 620B4E3FDDA for ; Thu, 19 Oct 2017 16:33:51 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAF546FF7C; Thu, 19 Oct 2017 16:33:50 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id u138so17690515wmu.4; Thu, 19 Oct 2017 09:33:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XrFYET5wThdpGqaBpHgdh6ChimcasUZuWSArRu1e0eM=; b=LxZ9rv+LtaSFYl7jkOPKsk0Iwyf/UsmtkfB0dzC/QRWUqPS8wRKGq1yo3GypV2Wqt/ ALBg46dhE/fJSFIyjPGTl5rl0x+LKPRfXRLKMctasFEQyLGG0kx/qQ+JiDJodyPqnJcs F3bVusoUTf25xDnv5Fl4Pl/tonnUEHb/7hWYSbFkP24ivYPVIXFXJNpViH6ornWK3g7S T8DrGfx3Tf7XNSI0W8z8Uz0rdNa3VJU1idCtSILg6YwiqQfTE3BFW4g5szRX5wBfnzLi xNtMSF8LOf3mtuWZD/iCUuR331WZlgZ5oAkE+rLqt3ibJARa7zVhvpjhNkN64OaQSUZq BibA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XrFYET5wThdpGqaBpHgdh6ChimcasUZuWSArRu1e0eM=; b=hujRklNiVqrCziLo3z4C93U9pOFJEv8TQL94wu1QqTWW2Ug3oK+sOfX6rLEnEjcM1s AjONqCx61FnfDKpWBQfg6+FgsVKPwXZeucXAeSxVH1CKHqBwjkeIOcTRCWGyiQJxgCh2 xNGUhZz2fMS5DUN8cIGRG5KEdBkRD1GB6L854jIo+9IgzzozknFhsjEYOhHWvEo0ucdj Q0yyvyFgoMyKxscXnBoZxTnk79DhAJ6Zt/c7P6OGF39IvojKg76Y5voWekJdEFwVnGW4 aSyjS5utJ+glImo4GKxtbSldMgFeHL79xOtA8Zp8tqDnH7DPlSrmfyFjksz3Z6wS6JHn 6FdA== X-Gm-Message-State: AMCzsaW5YCgQKQnQx7T6b4BpnUuVClUqCQQVSmoGgkWLmQVOgFym+Mfu UWyT7F/ydIk0JGLH9WSsj79obpxxkVQdbrVzuQ== X-Google-Smtp-Source: ABhQp+Tp9XS5ULuJfgtLxkzJ4aMjTzthP6hgJBLnUmp5wuGC/emLA1KIn4ecTp7qDfKdUeLUfiIdxq8G4YwBbfC9LFI= X-Received: by 10.80.152.103 with SMTP id h36mr3083385edb.293.1508430828925; Thu, 19 Oct 2017 09:33:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.189.139 with HTTP; Thu, 19 Oct 2017 09:33:48 -0700 (PDT) In-Reply-To: <1508425713.1383.6.camel@freebsd.org> References: <1508425713.1383.6.camel@freebsd.org> From: Zaphod Beeblebrox Date: Thu, 19 Oct 2017 12:33:48 -0400 Message-ID: Subject: Re: We do serial differently. To: Ian Lepore Cc: FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2017 16:33:51 -0000 On Thu, Oct 19, 2017 at 11:08 AM, Ian Lepore wrote: > > Use the "callout" device, /dev/cuaXX, rather than /dev/ttyXX (which is > the "callin" device). The callin device waits for a call to come in, > and that's implemented by blocking in open() until the modem/other-end > asserts DTR (or DSR, I can never remember which end is which). > > So if it's hanging with /dev/ttyU0 use /dev/cuaU0. > Is the reverse true? I have been using cuaU0.