Re: USB support for CEPC in CE5.0



It looks like the USB drivers load OK but certain PCI problems are reported.
I can't tell whether they are related to USB but it would seem that the USB
drivers would not report success if PCI problems prevented access to the USB
hardware. If you could, please tell me what you make of this trace (I'm sorry
it's so long-- I wasn't sure what might be important):
PCIBUS!PCICfgCheckBARs: WARNING: No matching registry key was found for
placed device 0/31/5.
PCIBUS!PCICfgCheckBARs: Problems can result if the device is being
used while configuring PCIbus.
PCIBUS!PCICfgAllocMemSpace: Failed to place Bridge resource: Bus 0, Device
1, Function 0
PCIBUS!PCICfgAllocMemSpace: Failed to place Bridge resource: Bus 0, Device
30, Function 0
PCIBUS!PCICfgAllocMemSpace: Failed to place Device resource: Bus 0, Device
29, Function 7
PCIBUS!PCICfgAllocMemSpace: Failed to place Device resource: Bus 0, Device
31, Function 1
PCIBUS!PCICfgAllocMemSpace: Failed to place Device resource: Bus 0, Device
31, Function 5
PCIBUS!PCICfgAllocMemSpace: Failed to place Device resource: Bus 0, Device
31, Function 5
PCIBUS!PCICfgAllocIoSpace: Failed to place Device resource: Bus 0, Device
31, Function 1
PCIBUS!PCICfgAllocIoSpace: Failed to place Device resource: Bus 0, Device
31, Function 1
PCIBUS!PCICfgAllocIoSpace: Failed to place Device resource: Bus 0, Device
31, Function 1
PCIBUS!PCICfgAllocIoSpace: Failed to place Device resource: Bus 0, Device
31, Function 1

PCIBUS::OpenNonExistInstanceKey(Drivers\BuiltIn\PCI\Instance\UHCI1) returned
open exist.continue search
PCIBUS::OpenNonExistInstanceKey(Drivers\BuiltIn\PCI\Instance\UHCI1) returned
open exist.continue search
PCIBUS::OpenNonExistInstanceKey(Drivers\BuiltIn\PCI\Instance\UHCI2) returned
open exist.continue search
PCIBUS::OpenNonExistInstanceKey(Drivers\BuiltIn\PCI\Instance\PCI-PCI-BRIDGE1) returned open exist.continue search
PCIBUS!PCIRequestResources: I/O Resource Manager request for I/O range
0x0-0x3 failed
PCIbus!PCIEnum: WARNING: Resource request for device 0:31:1 failed

DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\UHCI3\BusPrefix) returned 2
Loading module uhci.dll at address 0x02970000-0x029A4000 (RW data at 0x01F03000-0x01F037F4)
Loaded symbols for 'C:\CE\50\WP86\RELDIR\CEPC_X86_DEBUG\UHCI.DLL'

HCD driver DLL attach
HCD!HCD_Init
UHCD: Read config from registry: Base Address: 0xFF40, Length: 0x20, I/O
Port: YES, SysIntr: 0x16, Interface Type: 5, Bus Number: 0
UHCD: ioPhysicalBase 0xFF40, IoSpace 0x1
UHCD: ioPortBase 0xFF40, portBase 0xFF40
Updated eptr->e32_vsize to = 00002000

Loading module giisr.dll at address 0x802F6000-0x802F8000 (RW data at 0x8190A000-0x8190A504)
Loaded symbols for 'C:\CE\50\WP86\RELDIR\CEPC_X86_DEBUG\GIISR.DLL'
UHCD: Installed ISR handler, Dll = 'giisr.dll', Handler = 'ISRHandler', Irq
= 9
DMA buffer passed in from PDD
CPhysMem Total Alloc Region PhysAddr = 0x02C7A000, VirtAddr = 0x00290000,
size = 65536
CPhysMem Special Alloc Region PhysAddr = 0x02C7A000, VirtAddr = 0x00290000,
size = 4096
CPhysMem HighPri Alloc Region PhysAddr = 0x02C7B000, VirtAddr = 0x00291000,
size = 16384
CPhysMem Normal Alloc Region PhysAddr = 0x02C7F000, VirtAddr = 0x00295000,
size = 45056
+CHW::CHW base=0xff40, intr=0x16
+CUhcd::Initialize. Entry
+CDeviceGlobal::Initialize

Loading module usbd.dll at address 0x03840000-0x0384D000 (RW data at 0x01F8D000-0x01F8D5C0)
Loaded symbols for 'C:\CE\50\WP86\RELDIR\CEPC_X86_DEBUG\USBD.DLL'
-CDevice::Initialize, success!
+CHW::Initialize
!!!Warning!!! Setting resume/suspend/reset bits of USBCMD
-CHW::Initialize, success!
+CUHCIFrame::Initialize
-CUHCIFrame::Initialize. Success!
+CHW::EnterOperationalState
-CHW::EnterOperationalState
-CUhcd::Initialize. Success!!

DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\UHCI2\BusPrefix) returned 2
HCD!HCD_Init
UHCD: Read config from registry: Base Address: 0xFF60, Length: 0x20, I/O
Port: YES, SysIntr: 0x12, Interface Type: 5, Bus Number: 0
UHCD: ioPhysicalBase 0xFF60, IoSpace 0x1
UHCD: ioPortBase 0xFF60, portBase 0xFF60
UHCD: Installed ISR handler, Dll = 'giisr.dll', Handler = 'ISRHandler', Irq
= 10
DMA buffer passed in from PDD
CPhysMem Total Alloc Region PhysAddr = 0x02C8A000, VirtAddr = 0x002D0000,
size = 65536
CPhysMem Special Alloc Region PhysAddr = 0x02C8A000, VirtAddr = 0x002D0000,
size = 4096
CPhysMem HighPri Alloc Region PhysAddr = 0x02C8B000, VirtAddr = 0x002D1000,
size = 16384
CPhysMem Normal Alloc Region PhysAddr = 0x02C8F000, VirtAddr = 0x002D5000,
size = 45056
+CHW::CHW base=0xff60, intr=0x12
+CUhcd::Initialize. Entry
+CDeviceGlobal::Initialize
-CDevice::Initialize, success!
+CHW::Initialize
!!!Warning!!! Setting resume/suspend/reset bits of USBCMD
-CHW::Initialize, success!
+CUHCIFrame::Initialize
-CUHCIFrame::Initialize. Success!
+CHW::EnterOperationalState
-CHW::EnterOperationalState
-CUhcd::Initialize. Success!!

DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\UHCI1\BusPrefix) returned 2
HCD!HCD_Init
UHCD: Read config from registry: Base Address: 0xFF80, Length: 0x20, I/O
Port: YES, SysIntr: 0x10, Interface Type: 5, Bus Number: 0
UHCD: ioPhysicalBase 0xFF80, IoSpace 0x1
UHCD: ioPortBase 0xFF80, portBase 0xFF80
UHCD: Installed ISR handler, Dll = 'giisr.dll', Handler = 'ISRHandler', Irq
= 11
DMA buffer passed in from PDD
CPhysMem Total Alloc Region PhysAddr = 0x02C9A000, VirtAddr = 0x00310000,
size = 65536
CPhysMem Special Alloc Region PhysAddr = 0x02C9A000, VirtAddr = 0x00310000,
size = 4096
CPhysMem HighPri Alloc Region PhysAddr = 0x02C9B000, VirtAddr = 0x00311000,
size = 16384
CPhysMem Normal Alloc Region PhysAddr = 0x02C9F000, VirtAddr = 0x00315000,
size = 45056
+CHW::CHW base=0xff80, intr=0x10
+CUhcd::Initialize. Entry
+CDeviceGlobal::Initialize
-CDevice::Initialize, success!
+CHW::Initialize
!!!Warning!!! Setting resume/suspend/reset bits of USBCMD
-CHW::Initialize, success!
+CUHCIFrame::Initialize
-CUHCIFrame::Initialize. Success!
+CHW::EnterOperationalState
-CHW::EnterOperationalState
-CUhcd::Initialize. Success!!

DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\ehci1\BusPrefix) returned 2
Loading module ehci.dll at address 0x02900000-0x02934000 (RW data at 0x01EFF000-0x01EFF908)
Loaded symbols for 'C:\CE\50\WP86\RELDIR\CEPC_X86_DEBUG\EHCI.DLL'
HCD driver DLL attach
EHCD!HCD_Init
EHCD: Read config from registry: Base Address: 0xFFA10800, Length: 0x400,
I/O Port: NO, SysIntr: 0x18, Interface Type: 5, Bus Number: 0
EHCD: ioPhysicalBase 0xFFA10800, IoSpace 0x0
EHCD: ioPortBase 0x350800, portBase 0xFFA10800
EHCD: Installed ISR handler, Dll = 'giisr.dll', Handler = 'ISRHandler', Irq
= 11
DMA buffer passed in from PDD
CPhysMem Total Alloc Region PhysAddr = 0x02CAA000, VirtAddr = 0x00360000,
size = 131072
CPhysMem Special Alloc Region PhysAddr = 0x02CAA000, VirtAddr = 0x00360000,
size = 4096
CPhysMem HighPri Alloc Region PhysAddr = 0x02CAB000, VirtAddr = 0x00361000,
size = 32768
CPhysMem Normal Alloc Region PhysAddr = 0x02CB3000, VirtAddr = 0x00369000,
size = 94208
+CHW::CHW base=0x350800, intr=0x18
+CEhcd::Initialize. Entry
+CDeviceGlobal::Initialize
-CDevice::Initialize, success!
+CHW::Initialize
-CHW::Initialize, success!
+CHW::EnterOperationalState
-CHW::EnterOperationalState
-CEhcd::Initialize. Success!!

DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\PCI-PCI-BRIDGE2\DllName)
returned 2
DEVICE!I_ActivateDeviceEx: can't find all required activation values in
'Drivers\BuiltIn\PCI\Instance\PCI-PCI-BRIDGE2'
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\PCI-PCI-BRIDGE1\DllName)
returned 2
DEVICE!I_ActivateDeviceEx: can't find all required activation values in
'Drivers\BuiltIn\PCI\Instance\PCI-PCI-BRIDGE1'
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\KITL\DllName) returned 2
DEVICE!I_ActivateDeviceEx: can't find all required activation values in
'Drivers\BuiltIn\PCI\Instance\KITL'



"Valter Minute" wrote:

=?Utf-8?B?T3JjYQ==?= <Orca@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:201AB10E-4892-4003-B308-EA3D24D643A3@xxxxxxxxxxxxx:

I too have experienced problems with the Legacy USB support in
BIOS and turn this off in a CEPC. Following Luca's advice, I
installed all CE patches from cumulative 2007-12-31 to 2880-05 and
rebuilt the platform. From the catalog I selected USB driver EHCI
and then enabled EHCI, OHCI, and UHCI in the project's
OSDesignView. When I attached a previously good target (USB
controller NEC PCI-USB OHC) a USB mouse functioned as before.
Remote registry showed HKLM\Drivers\Active..\OHCI1 and OHCI2. When
I attached a target (Intel 82801 UHC) that previously failed USB,
the USB mouse still did not function. The Registry contained
EHCI1, UHCI1, UHCI2, and UHCI3. When I boot this same computer
into XP, the USB mouse works.

Build a debug image and download it.
Then check the debug output to verify if USB drivers are loaded (UHCI
at least, I suppose) and to check if they report some errors.
Then clean the debug output and try to connect the mouse, check if
something goes wrong during detection or if no message is displayed.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

.



Relevant Pages

  • RE: USB mounting probem!!!!!
    ... Now i could be able to mount my USB drive and my USB mouse also ... 0x83fd1b30: PCIBUS!PCICfgAllocMemSpace: Failed to place Bridge resource: Bus ... 0x83fd1b30: PCIBUS!PCICfgAllocMemSpace: Failed to place Device resource: Bus ... 0x83fd1b30: OHCD: ioPortBase 0x240000, portBase 0xFDDFA000 ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Persistent storage of configuration files on CEPC X86 CE6 devi
    ... Warning: No Match template is found for following PCI Device ... PCIBUS!PCICfgAllocIoSpace: Failed to place Device resource: Bus 0, ... -CDevice::Initialize, success! ...
    (microsoft.public.windowsce.embedded)
  • DMA hangs IDE bus (cdrecord or driver?)
    ... The primary IDE bus is unused, ... 0000:00:02.0 PCI bridge: ATI Technologies Inc RS480 PCI-X Root Port ... Initializing USB Mass Storage driver... ...
    (Debian-User)
  • 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)
  • Usb keyboard problems with a Dell Precision 380
    ... The machine has an usb keyboard. ... pci0: <ACPI PCI bus> on pcib0 ... ppc0: parallel port not found. ...
    (freebsd-current)

Loading