From owner-freebsd-hackers Mon Aug 26 5: 0:33 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 E0DB337B400 for ; Mon, 26 Aug 2002 05:00:30 -0700 (PDT) Received: from soulshock.mail.pas.earthlink.net (soulshock.mail.pas.earthlink.net [207.217.120.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C5CC43E75 for ; Mon, 26 Aug 2002 05:00:30 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by soulshock.mail.pas.earthlink.net (8.11.6+Sun/8.11.6) with ESMTP id g7QAueI13285 for ; Mon, 26 Aug 2002 03:56:40 -0700 (PDT) Received: from pool0027.cvx21-bradley.dialup.earthlink.net ([209.179.192.27] helo=mindspring.com) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 17jHWQ-0004zt-00; Mon, 26 Aug 2002 03:55:02 -0700 Message-ID: <3D6A08CC.8DEB339F@mindspring.com> Date: Mon, 26 Aug 2002 03:54:04 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: John Nielsen Cc: Marco Molteni , freebsd-hackers@freebsd.org Subject: Re: USB support for new HP printers? References: <200208252336.15970.john@jnielsen.net> <20020826085142.7961.qmail@cobweb.example.org> <200208260428.34175.john@jnielsen.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 John Nielsen wrote: > > have a look at hpoj.sourceforge.net > > they plan FreeBSD USB support for a next release > > I've been all over the site and read some of the docs. The most useful > piece of information I found was this: > > "FreeBSD, NetBSD, and OpenBSD are not yet supported in USB mode, due to > missing functionality in the kernel "ulpt" driver (bidirectional I/O, > device ID retrieval, switching to 7/1/3, and HP channel-change-request)." I'm pretty sure that bidirectional I/O is supported, or there would be no network devices. I'm also pretty sure device ID retrieval is in there. I don't know what the heck "switching to 7/1/3" means; most likely it's some packetization protocol that needs support... you could probably add this yourself, if they point at the documentation of what it is, as opposed to just the idea that it's necessary to have it. "HP channel-change-request" sounds like a vendor command that lives in the vendor device driver, not in ulpt. Unless that "HP" stands for "High Priced" or "Huge Packets" or something... raw USB stuff should handle this without needing to do evil things to the FreeBSD USB driver that are specific to one printer from one vendor. > The only FreeBSD information in the TODO section has to do with fixing the > build so it works [better]. Probably indicates that the "TODO" is current, and the other documentation is out of date... > I don't get the idea that they are planning to add the missing kernel > functionality themselves; they don't seem to have done any of that for > Linux--they just list using a supported kernel as a requirement for USB. > > Since I'm mostly just interested in printing to an LJ 1200, I don't know if > I'd even use the hpoj stuff unless necessary (although it does look > interesting). I'm just wondering if kernel support for these beasties is > already being worked on, and where I can get more information. Get a list of the things that actually need support, and are not specific to that printer, and documentation for how to implement, and it should not be hard to do the work yourself, or find someone who's willing to do it for you, if you send/loan them hardware. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message