From owner-freebsd-hackers Mon Aug 26 16: 1:47 2002 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 ADAAF37B400 for ; Mon, 26 Aug 2002 16:01:45 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50CE443E42 for ; Mon, 26 Aug 2002 16:01:45 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0294.cvx21-bradley.dialup.earthlink.net ([209.179.193.39] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17jSrb-0006q8-00; Mon, 26 Aug 2002 16:01:39 -0700 Message-ID: <3D6AB319.791060CF@mindspring.com> Date: Mon, 26 Aug 2002 16:00:41 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Mikko =?iso-8859-1?Q?Ty=F6l=E4j=E4rvi?= Cc: John Nielsen , Marco Molteni , freebsd-hackers@freebsd.org Subject: Re: USB support for new HP printers? References: <20020826082508.X356-100000@atlas.home> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mikko Ty=F6l=E4j=E4rvi wrote: > > I'm pretty sure that bidirectional I/O is supported, or there > > would be no network devices. > = > [...] > = > Though the USB stack handles bi-directional communication, ulpt does no= t: > = > Static struct cdevsw ulpt_cdevsw =3D { > /* open */ ulptopen, > /* close */ ulptclose, > /* read */ noread, <---- ! > ... > = > In -current, an input routine has been added, but all it does is > discard any data that comes from the printer. That should be trivial to correct, for anyone who wants to use their printer, and requires bidirecitonal I/O... But I stand corrected. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message