Hello,
Does anybody know what it means for a device to be in “RAW Mode” ? From
the DDK, I understand a device to be in this mode if there is no Function
Driver loaded for the device and the underlying Bus Driver handles all i/o
requests. Couldn’t find any other information in the Win2K DDK.
I’d like to know how can a device get into this mode, is a special Bus
Driver required for this mode to work, when is such a mode used, etc.
Can anybody offer any pointers ?
Thanks in advance,
Puja
Suppose a non-disk device is plugged into the scsi bus. The Scsiport driver
will be happy to create a PDO for it. Suppose that the PnP ID for this PDO
is not registered by any function driver. The PDO, if it is set as
‘RawModeOK’ is still useable. It is still useable because of the way
scsiport works: all IO requests (well all data transfer IO requests flow
from the FDO to the PDO and from the PDO to the bus driver (who then hands
them to the minport driver to put out on the adapter.) Consider instead a
PCI device for which there is no registered function driver. The PCI bus
driver has no clue at all how to send IO requests to the PCI device. A PCI
pdo should probably not indicate that it is ‘RawModeOK’.
Mark Roddy
Windows 2000/NT Consultant
Hollis Technology Solutions
www.hollistech.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of xxxxx@usa.net
Sent: Tuesday, August 22, 2000 6:45 PM
To: NT Developers Interest List
Subject: [ntdev] RAW mode
Hello,
Does anybody know what it means for a device to be in “RAW Mode” ? From
the DDK, I understand a device to be in this mode if there is no Function
Driver loaded for the device and the underlying Bus Driver
handles all i/o
requests. Couldn’t find any other information in the Win2K DDK.
I’d like to know how can a device get into this mode, is a special Bus
Driver required for this mode to work, when is such a mode used, etc.
Can anybody offer any pointers ?
Thanks in advance,
Puja
You are currently subscribed to ntdev as: xxxxx@wattanuck.mv.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
HI all,
One fine exapmple to this one is the 1394diag utility provided by microsoft
for testing 1394 devices, this also comes along with a set of dll and a
diag driver which does RawCommands processing through the port driver.
Regards,
Britto.
> HI all,
One fine exapmple to this one is the 1394diag utility provided by
microsoft
for testing 1394 devices, this also comes along with a set of dll and a
diag driver which does RawCommands processing through the port driver.
Regards,
Britto.
Absolutely wrong.
1394diag requires switching the 1394bus enumerator to Diagnostic Mode.
In this mode, the enumerator enumerates any 1394 devices as “1394 Test
Device”.
1394diag.sys is a functional driver for “1394 Test Device” and creates FDOs
for them. It then catched IOCTLs for them and converts them to kernel mode
only 1394 stack requests.
So, this is not a RAW mode - FDOs are present there.
Max