Parallel Port Plug and Play

Hi,

How does Microsoft support plug and play for parallel
port devices?

I have some information for parallel port device to
support Plug and Play:

i)Device should support nibble mode and should be IEEE
1284 compliant.

ii) Device should return Device ID on host request.

According to the documents,It is the host that always
initiate the protocol negotation and forward and
reverse data transfer.
Question is how does device announce its presence on
the port or In other words how does host recognise
device as soon as it is connected?

Any information would be great help.

Thanks,
Rakesh


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

I don’t think it is possible. Parallel ports do not have hotplug
notification like USB/Firewire. Serial operates the same way as what you
describe for parallel. The device attached to the port needs to be queried
by the host. If you took a PnP compatible parallel device and conected it
to the port, then did a scan for new hardware from device manager, it should
be located. I am only going on what I think should happen, I have never
done this before.

Best of luck, Chris

“Rakesh Angi” wrote in message news:xxxxx@ntdev…
>
> Hi,
>
> How does Microsoft support plug and play for parallel
> port devices?
>
> I have some information for parallel port device to
> support Plug and Play:
>
> i)Device should support nibble mode and should be IEEE
> 1284 compliant.
>
> ii) Device should return Device ID on host request.
>
> According to the documents,It is the host that always
> initiate the protocol negotation and forward and
> reverse data transfer.
> Question is how does device announce its presence on
> the port or In other words how does host recognise
> device as soon as it is connected?
>
> Any information would be great help.
>
> Thanks,
> Rakesh
>
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
>
>

Thanks Chris…May be you are right,Microsoft does not
support hot plugging for parallel port devices,It only
support Plug and Play for which PC needs to be
restarted to detect the device.

I assume Windows 2000 initiates nibble mode
negotiation with device ID request at start up and
look for return device ID string.If device provdies
enough information such as MANUFACTURER, COMMAND
SET, and MODEL…Windows starts found new hardware
wizard.

Please correct me if my assumption are wrong in any
way…

Thanks,
Rakesh

— Chris Doré wrote:
> I don’t think it is possible. Parallel ports do not
> have hotplug
> notification like USB/Firewire. Serial operates the
> same way as what you
> describe for parallel. The device attached to the
> port needs to be queried
> by the host. If you took a PnP compatible parallel
> device and conected it
> to the port, then did a scan for new hardware from
> device manager, it should
> be located. I am only going on what I think should
> happen, I have never
> done this before.
>
> Best of luck, Chris
>
> “Rakesh Angi” wrote in
> message news:xxxxx@ntdev…
> >
> > Hi,
> >
> > How does Microsoft support plug and play for
> parallel
> > port devices?
> >
> > I have some information for parallel port device
> to
> > support Plug and Play:
> >
> > i)Device should support nibble mode and should be
> IEEE
> > 1284 compliant.
> >
> > ii) Device should return Device ID on host
> request.
> >
> > According to the documents,It is the host that
> always
> > initiate the protocol negotation and forward and
> > reverse data transfer.
> > Question is how does device announce its presence
> on
> > the port or In other words how does host recognise
> > device as soon as it is connected?
> >
> > Any information would be great help.
> >
> > Thanks,
> > Rakesh
> >
> >
> >
> >
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> > http://mailplus.yahoo.com
> >
> >
> >
>
>
>
> —
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
%%email.unsub%%


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

The dev that owns the parallel port says:

Parallel is NOT a hot plug bus. Unlike on USB or 1394 the parallel port
driver gets no notification when a device is connected to or
disconnected from the port.

On Win2K the parallel port driver scans for new hardware on boot and
again when requested by the user (e.g., Device Manager - Scan for
hardware changes).

On WinXP and later the parallel port driver will also poll for a new
device connection if there was no device connected during the previous
scan for new devices. Note that this polling only works for “End of
Chain” devices and will not work for devices that implement the IEEE
1284.3 Daisy Chain protocol for switching between active and
pass-through. Polling will turn off after either a device is found or
after a finite (I believe 10) failed attempts at retrieving a 1284
Device ID string from the device.

D

This posting is provided “AS IS” with no warranties, and confers no
rights

-----Original Message-----
From: Rakesh Angi [mailto:xxxxx@yahoo.com]
Sent: Tuesday, December 17, 2002 11:34 AM
To: NT Developers Interest List
Subject: [ntdev] Parallel Port Plug and Play

Hi,

How does Microsoft support plug and play for parallel
port devices?

I have some information for parallel port device to
support Plug and Play:

i)Device should support nibble mode and should be IEEE
1284 compliant.

ii) Device should return Device ID on host request.

According to the documents,It is the host that always
initiate the protocol negotation and forward and
reverse data transfer.
Question is how does device announce its presence on
the port or In other words how does host recognise
device as soon as it is connected?

Any information would be great help.

Thanks,
Rakesh


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to %%email.unsub%%