From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] USB wireless devices From: Charles Forsyth In-Reply-To: <511a97f8a9aec3236517cd0a0e1e7e9f@plan9.bell-labs.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-paepfvisawyruwnxbhlmrxztzd" Date: Tue, 26 Aug 2003 06:57:16 +0100 Topicbox-Message-UUID: 223a8f58-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-paepfvisawyruwnxbhlmrxztzd Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit actually, it's not too hard to have an ether*.c that opens a USB device configured by user space and interacts with it. the Inferno driver that does just that is simpler than some of the other drivers in some ways. there's a fair amount of flexibility using Etherif->ctl. the harder part is dealing with the wretch on the other end of the USB (eg, configuring it). fortunately, that can be in user space, which is good because it's a fair amount of code, and that's in Limbo not C. i don't see why an etheruser.c should be that tricky, but then again, i haven't thought about it much, although i did consider it once as potentially useful for several applications. --upas-paepfvisawyruwnxbhlmrxztzd Content-Type: message/rfc822 Content-Disposition: inline Return-path: <9fans-admin@cse.psu.edu> Received: from punt-3.mail.demon.net by mailstore for forsyth@caldo.demon.co.uk id 19rK90-0006M9-9P; Mon, 25 Aug 2003 16:24:39 +0000 Received: from [130.203.4.6] (helo=mail.cse.psu.edu) by punt-3.mail.demon.net with esmtp id 19rK90-0006M9-9P for forsyth@caldo.demon.co.uk; Mon, 25 Aug 2003 16:24:39 +0000 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 1AEEB199E4; Mon, 25 Aug 2003 12:24:33 -0400 (EDT) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.23.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id A4E4919AB9; Mon, 25 Aug 2003 12:24:13 -0400 (EDT) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id 47C7D19A85; Mon, 25 Aug 2003 12:23:13 -0400 (EDT) Received: from plan9.cs.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id B02A119981 for <9fans@cse.psu.edu>; Mon, 25 Aug 2003 12:23:01 -0400 (EDT) Message-ID: <511a97f8a9aec3236517cd0a0e1e7e9f@plan9.bell-labs.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] USB wireless devices From: Sape Mullender In-Reply-To: <87k792pe67.fsf@rgristroph-austin.ath.cx> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Mon, 25 Aug 2003 12:22:59 -0400 X-Spam-Status: No, hits=-1.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) > Has any one attempted to get a device like this working with Plan 9 ? Not as far as I know. Our USB drivers run in user space, so, in order to get a user-space ethernet device to work, you'd need a mechanism to deliver packets to/rfo ertheriq and etheroq. Such a mechanism isn't there and adding one isn't trivial if you expect the user-space ether device ever to be killed or to crash. Sape --upas-paepfvisawyruwnxbhlmrxztzd--