Problem with Windows CE 5.0 USB OHCI Host Controller driver
- From: JochenD <JochenD@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 3 Apr 2008 07:03:01 -0700
Hi all,
I am running Windows CE 5.0 with all available QFEs (including January 2008)
on a Samsung SMDK2410 CPU.
I have a problem with the USB OHCI (1.1) Host Controler:
-start device with a USB device attached to the single OHCI (USB 1.1) Host
Controller port
-occasionally (approximately 5-10 times out of 400 starts) the USB device is
not recognized
The problem occurs in the CHub::AttachDevice() function
(…\DRIVERS\USB\HCD\COMMON\cdevice.cpp):
-in the state machine in the
DEVICE_CONFIG_STATUS_SCHEDULING_GET_DEVICE_DESCRIPTOR_TEST step, I get an
USB_DEVICE_NOT_RESPONDING_ERROR (= 0x5).
-now the state machine goes back to the
DEVICE_CONFIG_STATUS_RESET_AND_ENABLE_PORT state and tries 2 more times
-ultimately after the 3 reties get the same error message the attach fails
The only way that I found to fix that problem is:
-physically unplugging the USB device and plugging it back in
-rebooting the system
Both solutions are not an option for me!
I also tried:
-more reties (10)
-timeout (100ms) before each retry
-powering off and repowering USB port between the reties
-making CHub::HubStatusChangeThread() belief the device was unplugged so do
a DetachDevice() and then (even after powering off and repowering the USB
port) let CHub::HubStatusChangeThread() do the AttachDevice() again
With all of these attempts the problem persisted: the device descriptor
could not be retrieved and the attach failed.
Any help is appreciated
Thanks
-Jochen
.
- Follow-Ups:
- Re: Problem with Windows CE 5.0 USB OHCI Host Controller driver
- From: Michel Verhagen (eMVP)
- Re: Problem with Windows CE 5.0 USB OHCI Host Controller driver
- Prev by Date: RE: How to get SD card/IPSM name ??
- Next by Date: RE: How to get SD card/IPSM name ??
- Previous by thread: Digest Auth in Wininet for WinCE
- Next by thread: Re: Problem with Windows CE 5.0 USB OHCI Host Controller driver
- Index(es):
Relevant Pages
- usb_insert_transfer panic with if_zyd
... When I use my ZyXEL G-220 Wireless USB Stick with the if_zyd driver, ... <ACPI
PCI bus> on pcib0 ... device problem, disabling port 1 ... <Ethernet over
FireWire> on firewire0 ... (freebsd-current) - 2.6.10-rc1 & ahci & IHC6R & 925X & raid1
... usb modules for console, usb keyboard, network and starting a shell. ... ACPI:
PM-Timer IO Port: 0x808 ... PCI: PCI BIOS revision 2.10 entry at 0xfb768, ...
usbcore: registered new driver hub ... (Linux-Kernel) - usb does not work on vias smp mainboard
... I installed kernel 2.4.21 on an via's mainboard, it seems that the usb ... number
of MP IRQ sources: ... PCI Interrupt Link ... Port indicators are
not supported ... (Linux-Kernel) - Boot time Bluetooth BUG: warning: (value > m) at hid-core.c:793
... When the USB reciever is already plugged-in at boot-time and the ... hub
2-2:1.0: USB hub found ... Interface Descriptor: ... Hub Port Status: ...
(Linux-Kernel) - USB BADPAD Quirk broken again
... PCI: PCI BIOS revision 2.10 entry at 0xfb240, ... Uniform Multi-Platform
E-IDE driver Revision: ... usb.c: new USB bus registered, ... Port indicators
are not supported ... (Linux-Kernel)