From owner-freebsd-hackers Tue Jun 24 22:02:26 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA00883 for hackers-outgoing; Tue, 24 Jun 1997 22:02:26 -0700 (PDT) Received: from bcarsbf5.localhost (x400bnr.nortel.ca [192.58.194.78]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA00875 for ; Tue, 24 Jun 1997 22:02:16 -0700 (PDT) Message-Id: <199706250502.WAA00875@hub.freebsd.org> Received: from bcarsfbb.ott.bnr.ca (actually bcarsfbb.bnr.ca) by bcarsbf5.localhost; Wed, 25 Jun 1997 01:01:22 -0400 Received: from bnr.ca by bcarsfbb.bnr.ca id <04978-0@bcarsfbb.bnr.ca>; Wed, 25 Jun 1997 01:01:01 -0400 Date: 25 Jun 1997 01:00 EDT To: hackers@freebsd.org From: "Andrew Atrens" Subject: newbie device driver question. Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi Folks, You may have answered this one many times, but I couldn't find exactly the info I needed in the mail archive (laziness+slow link), so I thought I'd ask it here. Besides, its short :) I'd really like to buy a hand scanner that I can use under FreeBSD ( rebooting into Windows is a hassle ). Since Logitech is the only hand-scanner vendor in my neck of the woods, and no Logitech drivers exist for FreeBSD, I gather this means that I need to write a device driver for it. Now, Logitech appears to have two models to choose from. The newest model connects via parallel port and communicates via a proprietary protocol with the PC. The second, older variety has its own ISA card. A partially complete (alpha quality) linux driver already exists for this beastie. So, to get to the point, I suppose the older model ( the one with the proprietary ISA card ), would require a (standard) ISA device driver much like what one of Julian's scripts would produce. BUT the newer model, requiring only a parallel port connection, would that need an ISA dev driver, or else a `pseudo device' driver? Or perhaps just a simple userland program? As I said, this is a *newbie* question. Regardless, I think I've resigned myself to buying the older model, since I'm not sure how to begin to reverse-engineer the newer's port protocol. Thanks in advance. Andrew Atrens ( opinions are mine, not Nortel's ) Nortel