From owner-freebsd-questions@FreeBSD.ORG Fri Apr 7 16:22:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6051B16A401 for ; Fri, 7 Apr 2006 16:22:05 +0000 (UTC) (envelope-from mirya@matrix.ua) Received: from gw.matrix.kiev.ua (gw.matrix.kiev.ua [213.159.235.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D679D43D48 for ; Fri, 7 Apr 2006 16:22:02 +0000 (GMT) (envelope-from mirya@matrix.ua) Received: from localhost (localhost [127.0.0.1]) by gw.matrix.kiev.ua (Postfix) with ESMTP id CCAD714BB06 for ; Fri, 7 Apr 2006 19:22:00 +0300 (EEST) Received: from gw.matrix.kiev.ua ([127.0.0.1]) by localhost (gw.matrix.kiev.ua [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03433-05 for ; Fri, 7 Apr 2006 19:21:54 +0300 (EEST) Received: from miryahost.matrix.local (mirya.dev.matrix.kiev.ua [192.168.1.27]) by gw.matrix.kiev.ua (Postfix) with ESMTP id EC79E14BB04 for ; Fri, 7 Apr 2006 19:21:53 +0300 (EEST) From: Kyryll A Mirnenko aka Mirya Organization: MATIX.ua To: freebsd-questions@freebsd.org Date: Fri, 7 Apr 2006 19:21:50 +0300 User-Agent: KMail/1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604071921.51280.mirya@matrix.ua> X-Virus-Scanned: amavisd-new at matrix.kiev.ua Subject: opening both tty & cua for uplcom(4) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 16:22:05 -0000 Hello, i'm trying to implement a callback scheme for COM modem via uplcom(4) connector (should be any ucom(4)). I do the same i did for direct COM and Lucent winmodem: 1) calling out (ppp communicates via /dev/cuaX) 2) starting getty on /dev/ttyX 3) it accepts incoming call and starts a script which itself starts ppp -direct on /dev/cuaX That worked fine with cuaa? and cual? (Lucent winmodem devices), but it seems that cuaU?/ttyU? can't be opened the same time, e.g. I've got a kernel message from ucom(4) about "IN_USE" error on step 3). So is that a bug or am i doing something wrong? -- Regards, Mirya ICQ #313898202