From owner-freebsd-questions Thu May 14 18:21:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA27773 for freebsd-questions-outgoing; Thu, 14 May 1998 18:21:28 -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 SAA27716 for ; Thu, 14 May 1998 18:21:16 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id SAA01551; Thu, 14 May 1998 18:19:32 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd001548; Fri May 15 01:19:32 1998 Date: Thu, 14 May 1998 18:19:28 -0700 (PDT) From: Julian Elischer To: Randall Hopper cc: freebsd-questions@FreeBSD.ORG Subject: Re: Rescanning SCSI-Bus without Rebooting? In-Reply-To: <19980514202755.A20813@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 if your scanner is uk0 then it has already been found and no amount of reprobing will write a driver for it. uk stands for "unknown" there is no scanner driver did it come up as uk0 in the dmesg? if so you ar ewher eyou wnt to be.. if not then do as the example you quote says AND USE sd0! 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. On Thu, 14 May 1998, Randall Hopper wrote: > Julian Elischer: > |1/ choose a moment when you are not doing much > | > |2/ use the scsi -r command. you will need to use it against an already > |existing device, e.g. /dev/rsd0 > |man 8 scsi > > Having the same need for my scanner, I tried this: > > # scsi -f /dev/uk0 -r -b 0 -t 6 > scsi: unable to open device /dev/uk0: Device not configured > > scsi(8) says rescanning isn't necessary for "fixed" SCSI devices since > reopening the device rescans, and it says to see scsi(4) for a description > of fixed scsi devices. > > scsi(4) doesn't contain the word "fixed". > > So I guess my question is, how can I set things up such that my scanner > (currently uk0) a "fixed" SCSI device so I can get access to the rescan > behavior? > > Thanks in advance, > > Randall > > > BTW, I have: > > controller ncr0 > controller scbus0 at ncr0 # Single bus device > disk sd0 at scbus0 target 5 unit 0 # sd0 = ZIP Drive > device uk0 at scbus0 target 6 unit 0 # uk0 = Scanner > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message