question on scsiminiport fake LUN

Hi All,

How to hide the scsiminiport fake target created for the
configuration/management purpose. The device type is “processor device”.
During the installation of the driver the windows xp brings up new hardware
found for this fake target.

Thanks,
Shakeel.

Create a driver-less INF file for it.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

“shakeel” wrote in message
news:…
> Hi All,
>
> How to hide the scsiminiport fake target created for the
> configuration/management purpose. The device type is “processor device”.
> During the installation of the driver the windows xp brings up new hardware
> found for this fake target.
>
> Thanks,
> Shakeel.
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Maxim,

Sorry! I didn’t understand your answer. There is already an .INF file for
the scsiminiport driver installation. whay need another inf file? I don’t
want user to see this. want to hide this from the user.

Thanks,
Shakeel.
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
> Create a driver-less INF file for it.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> “shakeel” wrote in message
> news:…
> > Hi All,
> >
> > How to hide the scsiminiport fake target created for the
> > configuration/management purpose. The device type is “processor device”.
> > During the installation of the driver the windows xp brings up new
hardware
> > found for this fake target.
> >
> > Thanks,
> > Shakeel.
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

You can also add a chapter to the main INF file.

Any need in hiding this stuff? Trying to do this will introduce more issues
then allowing it to live “as is” with a driver-less INF.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “shakeel”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, June 30, 2004 1:24 AM
Subject: Re:[ntdev] question on scsiminiport fake LUN

> Maxim,
>
> Sorry! I didn’t understand your answer. There is already an .INF file for
> the scsiminiport driver installation. whay need another inf file? I don’t
> want user to see this. want to hide this from the user.
>
> Thanks,
> Shakeel.
> “Maxim S. Shatskih” wrote in message
> news:xxxxx@ntdev…
> > Create a driver-less INF file for it.
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> >
> > “shakeel” wrote in message
> > news:…
> > > Hi All,
> > >
> > > How to hide the scsiminiport fake target created for the
> > > configuration/management purpose. The device type is “processor device”.
> > > During the installation of the driver the windows xp brings up new
> hardware
> > > found for this fake target.
> > >
> > > Thanks,
> > > Shakeel.
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Well, once the user installs the miniport driver then has to install this
fake device as well. correct?
That may confuse the user what this device is? or why installing it?

Is putting this in Main INF file will install the processor device
automatically after the miniport driver is installed and not having the user
to install it?

Thanks,
Shakeeel.

“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
> You can also add a chapter to the main INF file.
>
> Any need in hiding this stuff? Trying to do this will introduce more
issues
> then allowing it to live “as is” with a driver-less INF.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> ----- Original Message -----
> From: “shakeel”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Wednesday, June 30, 2004 1:24 AM
> Subject: Re:[ntdev] question on scsiminiport fake LUN
>
>
> > Maxim,
> >
> > Sorry! I didn’t understand your answer. There is already an .INF file
for
> > the scsiminiport driver installation. whay need another inf file? I
don’t
> > want user to see this. want to hide this from the user.
> >
> > Thanks,
> > Shakeel.
> > “Maxim S. Shatskih” wrote in message
> > news:xxxxx@ntdev…
> > > Create a driver-less INF file for it.
> > >
> > > Maxim Shatskih, Windows DDK MVP
> > > StorageCraft Corporation
> > > xxxxx@storagecraft.com
> > > http://www.storagecraft.com
> > >
> > >
> > > “shakeel” wrote in message
> > > news:…
> > > > Hi All,
> > > >
> > > > How to hide the scsiminiport fake target created for the
> > > > configuration/management purpose. The device type is “processor
device”.
> > > > During the installation of the driver the windows xp brings up new
> > hardware
> > > > found for this fake target.
> > > >
> > > > Thanks,
> > > > Shakeel.
> > > >
> > > >
> > > >
> > > > —
> > > > Questions? First check the Kernel Driver FAQ at
> > > http://www.osronline.com/article.cfm?id=256
> > > >
> > > > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > > > To unsubscribe send a blank email to
xxxxx@lists.osr.com
> > >
> > >
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

You need another INF file that includes the hardware ID of the fake target
and which specifies that no driver is required for the target device. It’s
possible that you could use the same INF file you already have with a second
line in the Models section but I think this may be tricky given that your
fake device is a different device class from the host bus adapter.

The syntax would be something like this(VENDOR, PRIODUCT ID etc are taken
from the inquiry data for the processor device)…

[Manufacturer]
%FOO_MFG%=FOO_SYS

[FOO_SYS]
%PROC.DeviceDesc% = NO_DRV, SCSI\Processor_VENDOR___PRODUCT_ID______REV_

;**************************************************************************
; Do-nothing section used to avoid “Unknown hardware” installation prompts.
[NO_DRV]

[NO_DRV.Services]
AddService = , 0x00000002 ; null service install

Simon

-----Original Message-----
From: shakeel [mailto:xxxxx@yahoo.com]
Sent: Tuesday, June 29, 2004 5:24 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] question on scsiminiport fake LUN

Maxim,

Sorry! I didn’t understand your answer. There is already an .INF file for
the scsiminiport driver installation. whay need another inf file? I don’t
want user to see this. want to hide this from the user.

Thanks,
Shakeel.
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
> Create a driver-less INF file for it.
>
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> “shakeel” wrote in message
> news:…
> > Hi All,
> >
> > How to hide the scsiminiport fake target created for the
> > configuration/management purpose. The device type is “processor device”.
> > During the installation of the driver the windows xp brings up new
hardware
> > found for this fake target.
> >
> > Thanks,
> > Shakeel.
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

> Well, once the user installs the miniport driver then has to install this

fake device as well. correct?
That may confuse the user what this device is? or why installing it?

Is putting this in Main INF file will install the processor device
automatically after the miniport driver is installed and not having the user
to install it?

Yes, just add a chapter in the INF file.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

Thanks Simon and Max for your help. I have added this driverless INF section
to the main INF file and to hide this from user during install, I have added
the vender id into [ControlFlags Section]

I have noticed one behaviour on W2K and another on WXP.

  1. On WXP, During install under device selection the fake LUN does not show
    up. which is good and that is what I wanted;
    However, After installing the driver for the controller it brings up New
    Hardware Found for the Processor Device and again prompts with the device
    selection window as normanly it would for any driver install. I don’t know
    why?

  2. On W2K, During install under device selection the fake LUN (Processor
    device) is also listed along with the RAID Controller.which is not I wanted;
    However, After installing the driver for the controller and says New
    Hardware Found for the Processor Device and finishes installation. Here it
    does NOT bring the device selection window as it deos for XP. Which is good
    and that is what I wanted.

Any Idea why this one behaviour W2K and another on WXP?

Thanks,
Shakeel.

[Manufacturer]
%NETCELL% = NETCELL

;
; MOdels section

[NETCELL]
%NetCell.DeviceDesc0% = NetCell_Inst, PCI\VEN_169C&DEV_0044
%SCSI\ProcessorNetCell_RMD_DEVICE______.DeviceDesc% = NODRV,
SCSI\ProcessorNetCell_RMD_DEVICE______

[NODRV]
AddReg=NODRV_AddReg

[NODRV.Services]
AddService = , %SPSVCINST_ASSOCSERVICE% ; null service install

“Graham, Simon” wrote in message
news:xxxxx@ntdev…
> You need another INF file that includes the hardware ID of the fake target
> and which specifies that no driver is required for the target device. It’s
> possible that you could use the same INF file you already have with a
second
> line in the Models section but I think this may be tricky given that your
> fake device is a different device class from the host bus adapter.
>
> The syntax would be something like this(VENDOR, PRIODUCT ID etc are taken
> from the inquiry data for the processor device)…
>
> [Manufacturer]
> %FOO_MFG%=FOO_SYS
>
> [FOO_SYS]
> %PROC.DeviceDesc% = NO_DRV,
SCSI\Processor_VENDOR PRODUCT_ID___ REV_
>
>
; **************************************************************************
> ; Do-nothing section used to avoid “Unknown hardware” installation
prompts.
> [NO_DRV]
>
> [NO_DRV.Services]
> AddService = , 0x00000002 ; null service install
>
>
> Simon
>
> -----Original Message-----
> From: shakeel [mailto:xxxxx@yahoo.com]
> Sent: Tuesday, June 29, 2004 5:24 PM
> To: Windows System Software Devs Interest List
> Subject: Re:[ntdev] question on scsiminiport fake LUN
>
> Maxim,
>
> Sorry! I didn’t understand your answer. There is already an .INF file for
> the scsiminiport driver installation. whay need another inf file? I don’t
> want user to see this. want to hide this from the user.
>
> Thanks,
> Shakeel.
> “Maxim S. Shatskih” wrote in message
> news:xxxxx@ntdev…
> > Create a driver-less INF file for it.
> >
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > xxxxx@storagecraft.com
> > http://www.storagecraft.com
> >
> >
> > “shakeel” wrote in message
> > news:…
> > > Hi All,
> > >
> > > How to hide the scsiminiport fake target created for the
> > > configuration/management purpose. The device type is “processor
device”.
> > > During the installation of the driver the windows xp brings up new
> hardware
> > > found for this fake target.
> > >
> > > Thanks,
> > > Shakeel.
> > >
> > >
> > >
> > > —
> > > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> > >
> > > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@stratus.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>