From owner-freebsd-current Tue Dec 22 15:32:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA13567 for freebsd-current-outgoing; Tue, 22 Dec 1998 15:32:25 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles134.castles.com [208.214.165.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA13537 for ; Tue, 22 Dec 1998 15:32:14 -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 PAA01510; Tue, 22 Dec 1998 15:29:47 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812222329.PAA01510@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: brian@worldcontrol.com cc: freebsd-current@FreeBSD.ORG Subject: Re: SANE, USB, -current step 2 In-reply-to: Your message of "Tue, 22 Dec 1998 14:45:25 PST." <19981222144525.A334@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 22 Dec 1998 15:29:46 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Ok I plugged my wife's HP 4100cxi and booted with the USB extensions. > The last line look promising: > > Dec 22 22:28:40 top /kernel: ugen0: Hewlett-Packard HP ScanJet 4100C (rev 1.00/1.00) addr 2 (device class 0/0) > > Now does anyone have a primer on using the ugen device to talk to the > device? > > Perhaps /dev/ugen0 is dynamically created and I can talk serially to the > device via read/write? Dream on. 8) USB is not a simple, friendly interface like the adverts want you to think. It's fiendishly complex, and still less than completely designed. The 'ugen' driver is a catchall which will claim a device that nobody else has claimed. It supports nothing, basically. Go the the USB website (www.usb.org), hit the developer's section, and start looking for documents related to scanners. You should probably also talk to HP and ask them for scanner-specific stuff, because the generic scanner class is almost certainly only going to specify the basics of talking to the scanner; there are going to be commands and procedures which are unique to your device. -- \\ 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