none
USB HUB not detected while booting (WinCE5.0 and S3C2440) RRS feed

  • Question

  • Hi,

    I'm using WinCE5.0 running on S3C2440 processor.

    My USB HUB is not deteced by OS if it's connect before booting the OS (Before power ON). But if i plug out and plug in again after OS boot, now OS can able to dectect the USB HUB.

    Anyone please advice me, what could be the problem?

     

    Sathesh


    Sathesh Kumar Manickaraj
    Tuesday, October 26, 2010 8:40 AM

Answers

  • Dear Michel,

    This issue has been resolved.

    From debug messages i found that, actually USB host is attaching while boot up, but immediately it's detaching when loading the USB function driver (particularly when initialize the USB clocks).

    So i have changed the order of loading the USB host and USB Function drivers in "platform.reg".

    For USB HOST, order = 2

    For USB_FUNCTION, order = 1

    Now i can able to detect USB HUB while booting and active sync also working good.

    Thanks for your support.


    manicsathesh
    • Marked as answer by manicsathesh Tuesday, November 2, 2010 3:44 AM
    Tuesday, November 2, 2010 3:44 AM

All replies

  • Try cloning \PUBLIC\COMMON\OAK\DRIVERS\USB and add a Sleep(10) to the
    beginning of the function CHW::EnterOperationalState in chw.cpp.
     
    Here's how to clone: http://guruce.com/blogpost/cloningpubliccodeanexample
     

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.
    Tuesday, October 26, 2010 12:01 PM
    Moderator
  • Dear Michel,

    Thanks for your reply.

    I've tried your suggestion (cloning and adding delay), but still the problem remain. Also I've increased the delay up to 500mSec.

    Another point is, the problem only for USB HUB (external). If i connect USB device directly (USB mouse, USB Drive), then windows detect the device while booting itself.

     

     

     

     


    manicsathesh
    Wednesday, October 27, 2010 8:41 AM
  • Ok, then a debug build and analyzing debug messages during boot is the
    way to go... Without that it'll be very hard to determine what exactly
    is going wrong. Is the hub enumerated and fails, or is it not enumerated
    at all? Do you have a USB analyzer?
     

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: http://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    http://guruce.com
    Consultancy, training and development services.
    Thursday, October 28, 2010 2:22 AM
    Moderator
  • Dear Michel,

    This issue has been resolved.

    From debug messages i found that, actually USB host is attaching while boot up, but immediately it's detaching when loading the USB function driver (particularly when initialize the USB clocks).

    So i have changed the order of loading the USB host and USB Function drivers in "platform.reg".

    For USB HOST, order = 2

    For USB_FUNCTION, order = 1

    Now i can able to detect USB HUB while booting and active sync also working good.

    Thanks for your support.


    manicsathesh
    • Marked as answer by manicsathesh Tuesday, November 2, 2010 3:44 AM
    Tuesday, November 2, 2010 3:44 AM