From owner-freebsd-current Sun Dec 20 03:13:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27530 for freebsd-current-outgoing; Sun, 20 Dec 1998 03:13:20 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles356.castles.com [208.214.167.56]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27514 for ; Sun, 20 Dec 1998 03:13:18 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id DAA43197; Sun, 20 Dec 1998 03:09:44 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812201109.DAA43197@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: brian@worldcontrol.com cc: freebsd-current@FreeBSD.ORG Subject: Re: USB, scanners, and SANE? In-reply-to: Your message of "Sun, 20 Dec 1998 03:12:21 PST." <19981220031221.A972@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Dec 1998 03:09:34 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I've been poking around the USB website and seperatedly > noted the addition of support for USB under -current. > > Reading the www.usb.org site I mostly got the sense of Plug&Pray. > Basically, plug it in, don't worry be happy. > > My wife as a HP Scanjet 4100CXI on her PC running [censored]. > > I'd like to take a stab at getting it to work under FreeBSD. > I'm not above writing code. > > SANE has support for HP scanners of both SCSI and parallel port > versions. > > Via the existing FreeBSD USB support will it be possible for me > to create a communication channel for the SANE backend to talk > to the scanner? "a SANE backend", which someone will have to write. > HIDs and Classes (was it?) have me worried that I have to wait > for particular support for scanner class devices. But on the > other hand, maybe this is not that case, and perhaps I can use > some generic interface to access the scanner. You'll have to write a scanner class driver, yes. You *may* have to write scanner-specific code as well, depending on how nicely the scanner plays, and how useful the generic scanner class is (I haven't seen a document for it yet). > Any pointers or clarification on the FreeBSD USB interface > would be appreciated. Right now, the code is your friend. I think Nick is on the road for Christmas, but I could be wrong there. There are a couple of class drivers already implemented, so you've certainly got something to start with at least. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message