how to make virtual device or how to emulate devices if they are attached with pc

Hi All,
i want to know how virtual device can be made or if there is device (eg nic card)attached with the pc then how i can emulate it.

Like virtual nic card in vmware or microsoft virtual machine.

Any tutorial link or help will be appreciated.

Regards


Download the latest version of Windows Live Messenger NOW!
http://get.live.com/en-ie/messenger/overview

Ignoring virtualization machines for a second. A virtual, or rather a device that is not found on a pnp bus, device is a root enumerated device. These are manually installed (see devcon.exe install). These root enumerated devices more often than not do not have bus resources assigned to them (you could get away with isa resources, but not pci resources).

If you are talking about adding a virtual device to a vm, that is dependent on the vm writer. For instance, creating a virtualized NIC in a vm that represents the NIC in the physical host machine is not standardized by windows

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of nayan kumar
Sent: Wednesday, September 19, 2007 1:06 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

Hi All,
i want to know how virtual device can be made or if there is device (eg nic card)attached with the pc then how i can emulate it.

Like virtual nic card in vmware or microsoft virtual machine.

Any tutorial link or help will be appreciated.

Regards


Download the latest version of Windows Live Messenger NOW! Click here!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:>

This question is just a touch too broad and involved for a forum such as this. You might start by reading this:

http://www.vmware.com/resources/techresources/530

Good luck,

mm

Hi All,
Thanks to all of you for your help and guidence.

I have a need to emulate the device (Sd Host) the interface could be either usb or pci so that it can be used by developer internally for developing software .

How i should proceed for that.

Any suggession pointer or tutorial about emulating devices on windows will be appreciated.

Regards
Nayan


Download the latest version of Windows Live Messenger NOW!
http://get.live.com/en-ie/messenger/overview

You can use the device simulation framework (DSF) in the 6000 WDK to emulate a usb device. You don’t even need a virtual machine ;).

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of nayan kumar
Sent: Friday, September 21, 2007 7:26 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

Hi All,
Thanks to all of you for your help and guidence.

I have a need to emulate the device (Sd Host) the interface could be either usb or pci so that it can be used by developer internally for developing software .

How i should proceed for that.

Any suggession pointer or tutorial about emulating devices on windows will be appreciated.

Regards
Nayan


Download the latest version of Windows Live Messenger NOW! Click here!http:

NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</http:>

Hi ,
Thanks for your help if device is attached in the pci slots in that case how i should proceed.

Regards
Nayan

From: xxxxx@microsoft.comTo: xxxxx@lists.osr.comDate: Fri, 21 Sep 2007 09:21:39 -0700Subject: RE: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

You can use the device simulation framework (DSF) in the 6000 WDK to emulate a usb device. You don?t even need a virtual machine ;).

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of nayan kumarSent: Friday, September 21, 2007 7:26 AMTo: Windows System Software Devs Interest ListSubject: RE: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

Hi All, Thanks to all of you for your help and guidence. I have a need to emulate the device (Sd Host) the interface could be either usb or pci so that it can be used by developer internally for developing software . How i should proceed for that. Any suggession pointer or tutorial about emulating devices on windows will be appreciated. RegardsNayan

Download the latest version of Windows Live Messenger NOW! Click here!— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Download the latest version of Windows Live Messenger NOW!
http://get.live.com/en-ie/messenger/overview

I’m not sure that this is relevant; how virtualization is involved has me a little confused. So, for what it is worth, if I understand your objective correctly - to make there appear to be a fully functional PCI device in a system for development of systems software - then you might be able use something like an Agilent E2920 PCI analyzer/exerciser to simulate your device. This device is expensive, so if there is some sort of PCI equivalent of the framework Doron recommended for USB, that would be preferrable. It’s suitability also depends on what your trying to accomplish, but it might be worth a look, if the cost makes sense. I’ve used one for a much less ambitious goal than yours, so I don’t really know if it will satisfy your requirements, as it sounds like your looking for total transparency. If there isn’t a software framework or such, and you had to write one yourself, then this might be cheaper in the long run, assuming it meets your needs.

Good luck,

mm

I don’t know if a software-only solution can replace a PCI Analyzer board. I
have used VMetro boards for PCI and PCI Express for quite a while now, and,
like Heineken beer, they can reach those parts other solutions cannot reach.

I have my VMetro installed on my target machine. In fact, I have two
VMetros, one for PCI and another for PCI Express. My PCI VMetro must be
installed in the same bus of my target board, but my PCI Express VMetro sits
on the bus and I plug my board on the VMetro’s top connectors. An USB cable
connects the VMetro board to my host machine, where the analyzer software
runs. I can trigger on a number of hardware level events (such as on a
register write, register read ,memory write, memory read, a signal edge, and
many others) or on a programmable combination (through an interactive script
language), I can dump out a complete log of what happened before or after
the trigger event, and much, much more.

The VMetro has a PCI exerciser too, although I have never used it. I imagine
that the Agilent 2920 series has similar functionality. I find the cost of
the equipment is well worth it, but my boards are complex and off the beaten
track!

Alberto.

----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Friday, September 21, 2007 1:34 PM
Subject: RE:[ntdev] how to make virtual device or how to emulate devices if
they are attached with pc

> I’m not sure that this is relevant; how virtualization is involved has me
> a little confused. So, for what it is worth, if I understand your
> objective correctly - to make there appear to be a fully functional PCI
> device in a system for development of systems software - then you might be
> able use something like an Agilent E2920 PCI analyzer/exerciser to
> simulate your device. This device is expensive, so if there is some sort
> of PCI equivalent of the framework Doron recommended for USB, that would
> be preferrable. It’s suitability also depends on what your trying to
> accomplish, but it might be worth a look, if the cost makes sense. I’ve
> used one for a much less ambitious goal than yours, so I don’t really know
> if it will satisfy your requirements, as it sounds like your looking for
> total transparency. If there isn’t a software framework or such, and you
> had to write one yourself, then this might be cheaper in the long run,
> assuming it meets your needs.
>
> Good luck,
>
> mm
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Doron

Fascinating. Is the runtime for redistributable/available to 3rd parties w/o requiring the entire WDK?
----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Friday, September 21, 2007 5:21 PM
Subject: RE: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

You can use the device simulation framework (DSF) in the 6000 WDK to emulate a usb device. You don’t even need a virtual machine ;).

d

Why are you going to restribute it? This is a dev tool, this is not something that you can ship as a part of a product to create a new virtual usb device.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jerry
Sent: Friday, September 21, 2007 11:16 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

Doron

Fascinating. Is the runtime for redistributable/available to 3rd parties w/o requiring the entire WDK?
----- Original Message -----
From: Doron Holanmailto:xxxxx
To: Windows System Software Devs Interest Listmailto:xxxxx
Sent: Friday, September 21, 2007 5:21 PM
Subject: RE: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

You can use the device simulation framework (DSF) in the 6000 WDK to emulate a usb device. You don’t even need a virtual machine ;).

d


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer</mailto:xxxxx></mailto:xxxxx>

Just asking the question :slight_smile: At first glance, and for a certain class of problems, DSF might offer an alternative to kernel mode dev where the problem is incompatible with UMDF, e.g. a virtual CD recorder. This might not have been the intention but is it intriguing none the less.

Thx++

Jerry.

----- Original Message -----
From: Doron Holan
To: Windows System Software Devs Interest List
Sent: Friday, September 21, 2007 7:23 PM
Subject: RE: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

Why are you going to restribute it? This is a dev tool, this is not something that you can ship as a part of a product to create a new virtual usb device.

d

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jerry
Sent: Friday, September 21, 2007 11:16 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

Doron

Fascinating. Is the runtime for redistributable/available to 3rd parties w/o requiring the entire WDK?

----- Original Message -----

From: Doron Holan

To: Windows System Software Devs Interest List

Sent: Friday, September 21, 2007 5:21 PM

Subject: RE: [ntdev] how to make virtual device or how to emulate devices if they are attached with pc

You can use the device simulation framework (DSF) in the 6000 WDK to emulate a usb device. You don’t even need a virtual machine ;).

d


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer