From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 31 00:40:34 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3863737B401 for ; Thu, 31 Jul 2003 00:40:34 -0700 (PDT) Received: from bluejay.mail.pas.earthlink.net (bluejay.mail.pas.earthlink.net [207.217.120.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BABDD43FBD for ; Thu, 31 Jul 2003 00:40:33 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-38lc0sl.dialup.mindspring.com ([209.86.3.149] helo=mindspring.com) by bluejay.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19i82v-0000GW-00; Thu, 31 Jul 2003 00:40:22 -0700 Message-ID: <3F28C7AD.4E1942CA@mindspring.com> Date: Thu, 31 Jul 2003 00:39:25 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "M. Warner Losh" References: <200307301041.16162.jrhoden@unimelb.edu.au> <20030730.001013.53573754.imp@bsdimp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4098888a8d10a37d2bf8cb240ff2b1f04350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: freebsd-hackers@freebsd.org cc: jrhoden@unimelb.edu.au Subject: Re: usb (ucom) driver code comments..? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jul 2003 07:40:34 -0000 "M. Warner Losh" wrote: > In message: <200307301041.16162.jrhoden@unimelb.edu.au> > JacobRhoden writes: > : I am trying to get a device working which uses ucom, and the ucom code has no > : comments whatsoever, I am able to work bits out, I was wondering if there was > : any sort of documentation whatsoever on this area? > > Use the source luke. However, you'll need to look closely at > sys/kern/tty* as well. Looking at something like umodem that > implements a ucom plug in might be useful too. You might check out > the handbook too, but I think that the usb docs there don't > specifically cover usb. There was also a patch posted to the -current or -hackers mailing list around about the end of May that switched 0 and 1 and made made this wort of thing work for another USB device. -- Terry