Date: Thu, 14 May 1998 18:19:28 -0700 (PDT) From: Julian Elischer <julian@whistle.com> To: Randall Hopper <rhh@ct.picker.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Rescanning SCSI-Bus without Rebooting? Message-ID: <Pine.BSF.3.95.980514181551.11967F-100000@current1.whistle.com> In-Reply-To: <19980514202755.A20813@ct.picker.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.980514181551.11967F-100000>