Hi All
I have an USB 2.0 Device ( Camera ) and we developed a driver for the same.
The driver is working fine and all the DTM Tests are passed ( including the PnPD Test )
However the OtherSpeed Tests in USBCV are failed with my device.
Now the problem is,
in some PC’s ( for eg: PC with 82801DB ( ICH4 ) host controller )
- If I connect my device and then connected any other USB2.0 Mass Storage device to the same PC, then the enumeration of the Other device is getting failed.
However if I connect the other USB2.0 Mass Storage device first and then connect my device next then my device is enumerated properly. ( Connecting two USB2.0 Mass Storage devices in the same PC is also working properly )
This problem is not observed in some other PC with 82801GB ( ICH7 ) host controller.
Can any one help me by providing any suggestions.
Thank you
Regards
Ajay
Hi
Is it reading your CIS register correctly, On the hardware. Check the ID?
You will need a PCI test application that reads the CIS and run it on the
suspected hardware.
May be a subtle timing error in your hardware.
Regards
Steve
----- Original Message -----
From:
To: “Windows System Software Devs Interest List”
Sent: Wednesday, January 23, 2008 2:51 PM
Subject: [ntdev] USB Device Enumeration problem
> Hi All
> I have an USB 2.0 Device ( Camera ) and we developed a driver for the
> same.
> The driver is working fine and all the DTM Tests are passed (
> including the PnPD Test )
> However the OtherSpeed Tests in USBCV are failed with my device.
>
> Now the problem is,
> in some PC’s ( for eg: PC with 82801DB ( ICH4 ) host
> controller )
> - If I connect my device and then connected any other USB2.0
> Mass Storage device to the same PC, then the enumeration of the Other
> device is getting failed.
> However if I connect the other USB2.0 Mass Storage device first
> and then connect my device next then my device is enumerated properly.
> ( Connecting two USB2.0 Mass Storage devices in the same PC is also
> working properly )
>
> This problem is not observed in some other PC with 82801GB ( ICH7 )
> host controller.
>
> Can any one help me by providing any suggestions.
>
> Thank you
> Regards
> Ajay
>
>
>
> —
> 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
>
>
>
xxxxx@hotmail.com wrote:
Now the problem is,
in some PC’s ( for eg: PC with 82801DB ( ICH4 ) host controller )
- If I connect my device and then connected any other USB2.0 Mass Storage device to the same PC, then the enumeration of the Other device is getting failed.
Is your camera USB 2.x or USB 1.x?
If you go into device manager, pick the ICH4 Enhanced Host Controller
Interface, pick Properties, and look at the “Advanced” tab, you should
see the amount of bandwidth reserved by each device. How much does it
show for your device?
Are you plugging both devices into a bus-powered hub?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Hi Steve,
Thank you for the response.
As I mentioned in my mail,
the other USB 2.0 Mass Storage devices are enumerated properly, if I did’nt connected my device.
My Device is enumerated properly, if I connect the other USB 2.0 Mass Storage Device first
Anyway, I will verify the CIS Register of my device and the other device during the problematic scenario.
Thank you
Regards
Ajay
Hi Tim,
My Camera is USB2.0 Compliant.
Regarding the Bandwidth, ( in the ICH4 82801DB Host controller Machine )
If I connect my device alone, then the " Bandwidth Used " is 10 %
If I connect the other USB 2.0 Mass Storage Device alone, then the " Bandwidth Used " is 11 %
If I connect the other USB2.0 Mass Storage device first and my Device Next, then the “Bandwidth” is shown as 11%
If I connect my device first and the other USB 2.0 Mass Storage Device Next, then the Bandwidth is still 10% — In this case the Other USB2.0 Device is not getting enumerated.
However in the ICH7 (82801GB Host Controller ) Machine
The Bandwidth is changed to 11 % in the fourth case ( i.e My device connected first and the other USB 2.0 device connect next ) and the other device is getting enumerated properly
From the above observation, I can make out that the Bandwidth required for the Other USB 2.0 Mass storage device is not available / reflected in ICH4 machine, if my device is connected first.
which is reflected properly in ICH7 machine.
Is it a Host controller problem ? My Device Firmware problem ?
I am trying to find out the required information. If any one already knows about this information then can you please let me know.
Thank you
Regards
Ajay
Hi Tim,
My Camera is USB2.0 Compliant.
Regarding the Bandwidth I am not getting the individual Device Bandwidth in the mentioned window. Instead I am getting the “System Reserved” under the description of " Badnwidth consuming Devices"
The "Bandwidth Used " value against the “System Reserved” i sgiven below:
( in the ICH4 82801DB Host controller Machine )
If I connect my device alone, then the " Bandwidth Used " is 10 %
If I connect the other USB 2.0 Mass Storage Device alone, then the "
Bandwidth Used " is 11 %
If I connect the other USB2.0 Mass Storage device first and my Device
Next, then the “Bandwidth” is shown as 11%
If I connect my device first and the other USB 2.0 Mass Storage Device
Next, then the Bandwidth is still 10% — In this case the Other USB2.0 Device
is not getting enumerated.
However in the ICH7 (82801GB Host Controller ) Machine
The Bandwidth is changed to 11 % in the fourth case ( i.e My device
connected first and the other USB 2.0 device connect next ) and the other device
is getting enumerated properly
From the above observation, I can make out that the Bandwidth required for the
Other USB 2.0 Mass storage device is not available / reflected in ICH4 machine,
if my device is connected first.
which is reflected properly in ICH7 machine.
Is it a Host controller problem ? My Device Firmware problem ?
I am trying to find out the required information. If any one already knows about
this information then can you please let me know.
Both the devices are Bus Powered Devices
Thank you
Regards
Ajay
Hi
This problem is not occured in the same machine, if I boot the machine in windows 2000 ( this machine has dual boot - Windows XP and Windows 2000 ) boot mode, where the Host Controllers are “Standard Universal PCI to USB Host Controller” in windows 2000 and the Bandwidth is changed propoerly to 11% whenever I connected the USB2.0 Mass Storage device - which is expected bahaviour.
Regards
Ajay
xxxxx@hotmail.com wrote:
Hi Tim,
My Camera is USB2.0 Compliant.
Regarding the Bandwidth I am not getting the individual Device Bandwidth in the mentioned window. Instead I am getting the “System Reserved” under the description of " Badnwidth consuming Devices"
Is this happening before your device is streaming, while you still have
an alternate setting with zero bandwidth reserved? If so, then my
bandwidth question is irrelevant. I should have mentioned that before.
Are you plugging this directly in to the PC, or are you plugging in to a
hub? I have certainly seen this kind of thing in a bus-powered hub
because of borderline power limitations. For example, if your mass
storage device has inrush current requirements at power on that aren’t
accurately reflected in the device descriptor power numbers (and many
disk drives do), it can trigger failures in the hub. That’s why many
USB disk adapters require two USB slots – so they can suck more than
250mA at spin up.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Tim Roberts wrote:
Are you plugging this directly in to the PC, or are you plugging in to
a hub? I have certainly seen this kind of thing in a bus-powered hub
because of borderline power limitations. For example, if your mass
storage device has inrush current requirements at power on that aren’t
accurately reflected in the device descriptor power numbers (and many
disk drives do), it can trigger failures in the hub. That’s why many
USB disk adapters require two USB slots – so they can suck more than
250mA at spin up.
Whoops – 500mA is the max, not 250mA.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
xxxxx@hotmail.com wrote:
in some PC’s ( for eg: PC with 82801DB ( ICH4 ) host controller )
Looks like some Intel 82801 ICH versions have known USB problems.
(Google for “82801DB USB site:microsoft.com” and “82801DB USB
site:intel.com” for errata and problem descriptions.)
We learned about this when one of our customers complained that on his
PC our device connected via USB reports communication errors (or is even
not recognized during enumeration anymore) when he connects a KVM switch
to a different (!) USB port.
In some cases even just plugging another USB cable into an unused USB
port was enough to cause trouble.
In your place, I would definitely (a) try the device behind a USB2.0
hub, (b) try using a cable with a different length.
BR, -H