View Single Post

   
  #1 (permalink)  
Old 02-16-2008, 06:08 AM
Stefan Berglund
 
Posts: n/a
Default configure scsi device on running system

I have a scsi scanner connected to a SS10 running OpenBSD 2.8, if I
remember to have the scanner turned on when I reboot the uk-device get
properly setup and the scanner is recognized.
But if I forget the scanner the device is never configured and I can't
find any way to rescan the bus and connect all the new devices.
Is there a way to configure the device properly without rebooting?
I have search everywhere I can think of without coming up with a
solution.

If I understand this correctly the scsi -c command uses the ioctl
SCIOCCOMMAND to send commands to the scsi device and I need SCIOCREPROBE.

So I tried:

# scsi -f /dev/uk0 -p
scsi: unable to open device /dev/uk0: Device not configured

that didn't work and I'm out of ideas...

--
/Stefan
Stefan.B.Berglund@ericsson.com

Life - the ultimate practical joke
Reply With Quote