Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752888AbWLOQwd (ORCPT ); Fri, 15 Dec 2006 11:52:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752889AbWLOQwd (ORCPT ); Fri, 15 Dec 2006 11:52:33 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:42296 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752885AbWLOQwc (ORCPT ); Fri, 15 Dec 2006 11:52:32 -0500 Date: Fri, 15 Dec 2006 16:44:23 +0000 From: Alan To: Oliver Neukum Cc: Phillip Susi , Oliver Neukum , linux-kernel@vger.kernel.org Subject: Re: interface for modems with out of band signalling Message-ID: <20061215164423.26a47f14@localhost.localdomain> In-Reply-To: <200612151709.48415.oliver@neukum.name> References: <200612151514.00390.oliver@neukum.org> <4582C4FC.8040203@cfl.rr.com> <200612151709.48415.oliver@neukum.name> X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1053 Lines: 20 > No, I am talking about how to support modems which don't have a > command mode. These USB modems don't accept AT commands > through the same channel as data. They take them encapsulated in special > command messages to endpoint 0. > How do I export this capability to user space? I am thinking about having > two device nodes. But there may be a driver setting another precedent. > Therefor I am asking. ISDN4Linux provides a fake modem emulation in kernel space. The Nokia phone drivers provide a user space manager which provides the interface. So you've got precedents for both. If it's simply a case of splitting AT commands off from the data and spotting guard bands and +++ you might want to do it kernel side, if the second endpoint takes its own set of phone control messages I guess its hairier. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/