From owner-freebsd-questions Thu May 14 19:31:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA11777 for freebsd-questions-outgoing; Thu, 14 May 1998 19:31:18 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA11745 for ; Thu, 14 May 1998 19:31:07 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id TAA03311; Thu, 14 May 1998 19:22:20 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd003309; Fri May 15 02:22:18 1998 Date: Thu, 14 May 1998 19:22:15 -0700 (PDT) From: Julian Elischer To: Randall Hopper cc: freebsd-questions@FreeBSD.ORG Subject: Re: Rescanning SCSI-Bus without Rebooting? In-Reply-To: <19980514220155.B20919@ct.picker.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG wire down uk0 then just as you'd wire down sd0 then it'll be there whether or not the device is on. On Thu, 14 May 1998, Randall Hopper wrote: > Julian Elischer: > |if your scanner is uk0 then it has already been found and no > |amount of reprobing will write a driver for it. > > I'm pretty green with SCSI internals so please bear with me :-) > > uk0 (the Microtek E6 SCSI Scanner) is found when I boot with the scanner > on. It is "not" found I boot with the scanner off. > > That's the whole reason I need that unit rescan to work. I want to avoid > leaving the scanner on all the time (shortens lamp life), and I'd rather > not reboot (to configure uk0) everytime I have a need to use it. I hope > that makes sense. > > |uk stands for "unknown" > |there is no scanner driver > | > |did it come up as uk0 in the dmesg? > > Yes, but only when the scanner is on. > > |if so you ar ewher eyou wnt to be.. > |if not then do as the example you quote says > |AND USE sd0! > > Can I use sd0 (SCSI Disk?) for a SCSI device that reports itself as a > "Scanner"? > > |you cannot use uk0 until IT HAS BEEN FOUND > |so you need to ask the scsi system via some OTHER scsi device that > |actually exists. > > Ok. So there's something fundamentally different about the uk driver. I > assumed (wrongly) that it was a "generic" SCSI driver with a minimal > implementation that could be treated like any other SCSI device for generic > SCSI operations. > > So, what device is recommended for use in this case where you want to wire > a known scanner device down? > > Thanks, > > Randall > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message