TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Microsoft > Microsoft Device Drivers

Notices

NDIS - USB IoCallDriver returns 0xC000000E - Device does not exist while configuring USB - Regd.

Microsoft Device Drivers


Reply
 
Thread Tools Display Modes
Old 04-12-2007, 03:57 PM   #11
Eliyas Yakub [MSFT]
Guest
 
Posts: n/a
Re: NDIS - USB IoCallDriver returns 0xC000000E - Device does not exist while configuring USB - Regd.

The usbnwifi is an NDIS6.0 driver. It will not work on XP. Everything you
need is in these two samples. You just have to understand how they work and
transfer the code from one to the other. You have to do this part yourself.
I don't have any ready made sample for you. Since you are planning to write
an NDIS 5.0 driver, take the 5.0 version of NDISEDGE driver and move all the
code that is required to interface with USB stack from the usbnwifi sample
to this one and customize it to your hardware. The hardware interaction
piece is already separated out nicely in its own module in the wifi sample.
So transferring this code should be easy. Remember both ndis 5.0 and 6.0
models are conceptually similar when it comes to initialization, cleanup. So
for every callback in usbwifi sample, find out what the corresponding
callback is in ndis 5.0 and then transfer the code. This article might help
in understanding the differences between these two models.



-Eliyas


  Reply With Quote
Old 04-12-2007, 04:01 PM   #12
sudheer
Guest
 
Posts: n/a
Re: NDIS - USB IoCallDriver returns 0xC000000E - Device does not exist while configuring USB - Regd.

Hi Eliyas

Thanks for your kind support.

I have already started doing that part of transferring USB code to
NDISEDGE sample (of version NDIS 5.1) and replacing NDIS 6.0 APIs with
NDIS 5.1 that is supported for windows XP. The link provided by you is
very helpful.

Thanks once again and will be back with a new issue (if any)

Thanks & Regards
Sudheer



On Aug 15, 8:14 pm, "Eliyas Yakub [MSFT]"
<eliyasy@online.discussion.microsoft.com> wrote:
> The usbnwifi is an NDIS6.0 driver. It will not work on XP. Everything you
> need is in these two samples. You just have to understand how they work and
> transfer the code from one to the other. You have to do this part yourself.
> I don't have any ready made sample for you. Since you are planning to write
> an NDIS 5.0 driver, take the 5.0 version of NDISEDGE driver and move all the
> code that is required to interface with USB stack from the usbnwifi sample
> to this one and customize it to your hardware. The hardware interaction
> piece is already separated out nicely in its own module in the wifi sample.
> So transferring this code should be easy. Remember both ndis 5.0 and 6.0
> models are conceptually similar when it comes to initialization, cleanup. So
> for every callback in usbwifi sample, find out what the corresponding
> callback is in ndis 5.0 and then transfer the code. This article might help
> in understanding the differences between these two models.
>
>
>
> -Eliyas



  Reply With Quote
Old 04-12-2007, 04:08 PM   #13
sudheer
Guest
 
Posts: n/a
Re: NDIS - USB IoCallDriver returns 0xC000000E - Device does not exist while configuring USB - Regd.

Hi Guys

Thanks very much for your support.

Now i am using NdisEdge sample with USB stack attached to it.
The device has at present 2 endpoints (Bulk) for read and write.
The read and write request of the device is failing with NTSTATUS
error code as C0000010 - STATUS_INVALID_DEVICE_REQUEST.
Can you please tell me what would be the underlying request that the
device is sending when calling NICPostReadRequest from NDIS Driver. Is
the request is same as that of Bulk_Read request of BulkUsb? Which
endpoints are used for sending this requests.

Thanks & Regards
Sudheer


On Aug 6, 12:44 am, "Eliyas Yakub [MSFT]"
<> wrote:
> NDISminiports that interface withUSBstack should be written using KMDF.
> AFAIK, it's a WHQL requirement now. By usingUSBIoTarget and
> ContinuousReader interface of KMDF, you can write a much more simple and
> robustndisminiport driver. The realtek sample for wifiUSBdevice in the
> Server2003 WDK is a good sample to base your driver. This sample is derived
> from ndisedge sample.
>
> -Eliyas



  Reply With Quote
Old 04-12-2007, 04:20 PM   #14
sudheer
Guest
 
Posts: n/a
Re: NDIS - USB IoCallDriver returns 0xC000000E - Device does not exist while configuring USB - Regd.

Hi Eliyas

I have looked in to usbnwifi sample and compiled that sample for XP
x86 processor, but it is giving warning as the sample is invalid for
the specified OS and also i am not working on 802.11 and dont want any
hardware code to be present.

I just want to read the IP Packets from my USB device and pump the
same to Ndis layer for further processing.

As the development time is very less, I thought of modifying ndisedge
sample.

I dont think any change is required in ndisedge sample expect the
configuration of the device (i.e., in ndiswdm.h and Inf file).
(correct me if i am wrong) and I would like to know where the USB
device should be registered (like the registering the usb device in
sample usbnwifi in hardware initialize) in NICInitAdapterWorker.

Can you please let me know the steps to attach USB stack to ndisedge
sample.

Thanks in advance
Regards
Sudheer

  Reply With Quote
Old 04-12-2007, 04:23 PM   #15
Eliyas Yakub [MSFT]
Guest
 
Posts: n/a
Re: NDIS - USB IoCallDriver returns 0xC000000E - Device does not exist while configuring USB - Regd.

The usbnwifi is an NDIS6.0 driver. It will not work on XP. Everything you
need is in these two samples. You just have to understand how they work and
transfer the code from one to the other. You have to do this part yourself.
I don't have any ready made sample for you. Since you are planning to write
an NDIS 5.0 driver, take the 5.0 version of NDISEDGE driver and move all the
code that is required to interface with USB stack from the usbnwifi sample
to this one and customize it to your hardware. The hardware interaction
piece is already separated out nicely in its own module in the wifi sample.
So transferring this code should be easy. Remember both ndis 5.0 and 6.0
models are conceptually similar when it comes to initialization, cleanup. So
for every callback in usbwifi sample, find out what the corresponding
callback is in ndis 5.0 and then transfer the code. This article might help
in understanding the differences between these two models.



-Eliyas


  Reply With Quote
Old 04-12-2007, 04:27 PM   #16
sudheer
Guest
 
Posts: n/a
Re: NDIS - USB IoCallDriver returns 0xC000000E - Device does not exist while configuring USB - Regd.

Hi Eliyas

Thanks for your kind support.

I have already started doing that part of transferring USB code to
NDISEDGE sample (of version NDIS 5.1) and replacing NDIS 6.0 APIs with
NDIS 5.1 that is supported for windows XP. The link provided by you is
very helpful.

Thanks once again and will be back with a new issue (if any)

Thanks & Regards
Sudheer



On Aug 15, 8:14 pm, "Eliyas Yakub [MSFT]"
<eliyasy@online.discussion.microsoft.com> wrote:
> The usbnwifi is an NDIS6.0 driver. It will not work on XP. Everything you
> need is in these two samples. You just have to understand how they work and
> transfer the code from one to the other. You have to do this part yourself.
> I don't have any ready made sample for you. Since you are planning to write
> an NDIS 5.0 driver, take the 5.0 version of NDISEDGE driver and move all the
> code that is required to interface with USB stack from the usbnwifi sample
> to this one and customize it to your hardware. The hardware interaction
> piece is already separated out nicely in its own module in the wifi sample.
> So transferring this code should be easy. Remember both ndis 5.0 and 6.0
> models are conceptually similar when it comes to initialization, cleanup. So
> for every callback in usbwifi sample, find out what the corresponding
> callback is in ndis 5.0 and then transfer the code. This article might help
> in understanding the differences between these two models.
>
>
>
> -Eliyas



  Reply With Quote
Old 05-11-2008, 06:16 PM   #17
Newbie
 
Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 moeloek132 is an unknown quantity at this point
Re: NDIS - USB IoCallDriver returns 0xC000000E - Device does not exist while configuring USB - Regd.

Hi All,

Now, I am working with Network USB Driver too. I am trying to make NDISEDGE sample driver to interface with USB driver. Beside using usbnwifi sample driver as reference, I am also
using usbsamp and osrusbfx2 as the references. I got confused with some code...

In usbsamp and osrusbfx2, it use this lines of code to initialize pnp powercallback structure:

----
WDF_PNPPOWER_EVENT_CALLBACKS_INIT(&pnpPowerCallbac ks);

pnpPowerCallbacks.EvtDevicePrepareHardware = UsbSamp_EvtDevicePrepareHardware;

pnpPowerCallbacks.EvtDeviceReleaseHardware = UsbSamp_EvtDeviceReleaseHardware;

WdfDeviceInitSetPnpPowerEventCallbacks(DeviceInit, &pnpPowerCallbacks);

----

Yet, in usbnwifi sample, I can't find this pnp Power Callback for the usb device.
Can someone help me how to make plug and play event for usb device with ndisedge 50 sample (I am using Windows XP).

Thanks

(Btw, congratulation for "Obamania")


moeloek132 is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 07:39 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional