Hello,
I have a WinCE 4.20 image with USB Mass Storage device support. Attaching
and Deattaching USB Sticks works well, but when I attach an USB HD the
device is not listed in Windows Explorer and not recognized.
See below for the Debug Port output of attaching an 2,5" HD and an 3,5" HD
to the USB Port. Both are not working.
Thanks in advance.
Gunnar
I get the following output on the Debug Port when I attach a 2,5" HD:
0x8765c800: CHub(Root tier 0)::HubStatusChangeThread - port 2, change =
0x0001, status = 0x0101
0x8765c800: CHub(Root tier 0)::HubStatusChangeThread - device attached on
port 2
0x8765c800: +CHub(Root tier 0)::AttachDevice - port = 2, fIsLowSpeed = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_OPENING_ENDPOINT0_PIPE, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_USING_ADDRESS0, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_RESET_AND_ENABLE_PORT, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_SET_ADDRESS, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_LEAVE_ADDRESS0, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_GET_INITIAL_DEVICE_DESCRIPTOR, failures
= 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_GET_DEVICE_DESCRIPTOR, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SETUP_CONFIGURATION_DESCRIPTOR_ARRAY, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_GET_INITIAL_CONFIG_DESCRIPTOR, failures
= 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_GET_CONFIG_DESCRIPTOR, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_DETERMINE_CONFIG_TO_CHOOSE, failures = 0
0x8765c800: WARNING!!!! Auto-selecting config #1 for new device.
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_SET_CONFIG, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_CREATE_NEW_FUNCTION, failures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_INSERT_NEW_DEVICE_INTO_UPSTREAM_HUB_PORT_ARRAY, fai
lures = 0
0x8765c800: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SIGNAL_NEW_DEVICE_ENTER_OPERATIONAL_STATE, failures
= 0
0x8765c800: +USBD:OpenPipe, EP: 129, MaxPkt: 64, Type: Bulk
0x8765c800: -USBD:OpenPipe success, hPipe = 523E20
0x8765c800: +USBD:OpenPipe, EP: 2, MaxPkt: 64, Type: Bulk
0x8765c800: -USBD:OpenPipe success, hPipe = 523F30
0x8765c800:
DEVICE!ActivateDeviceEx(Drivers\USB\ClientDrivers\Mass_Storage_Class\6)
entered
0x8765c800: BOT_DataTransfer warning(6.7.2.3, RequestLength:512
TransferLength:63 Err:0 UsbErr:0x0, dwTimeout:5000)
0x8765e800: CQueuedPipe(Bulk)::CheckForDoneTransfers - failure on TD
0x4958c0, address = 1, endpoint = 1, errorCounter = 3, sta
tus field = 0x20
0x8765c800: BOT_DataTransfer warning(6.7.x.3, RequestLength:449
TransferLength:0 Err:31 UsbErr:0x4, dwTimeout:4968)
0x8765c800: +USBD:ResetPipe
0x8765c800: ScsiGetSenseData - SenseKey:0x0 ASC:0x0 ASCQ:0x0
0x8765c800: ScsiModeSense ERROR:0
0x8765c800: Not loading a UpperDriver since partition manager
exists0x8765c800: PNP interface class {A4E7EDDA-E575-4252-9D6B-41
95D48BB865} (DSK3:) ATTACH
0x8765c800: -CHub(Root tier 0)::AttachDevice - port = 2, fIsLowSpeed = 0,
address = 1
0x801b8e20: Unsupported IOCTL:0x71c24
0x801b8e20: DSK_IOControl error: 50
0x801b8e20: Loading partition driver mspart.dll hModule=80175A68
0x801b8e20: Driver mspart.dll loaded
0x80165800: NOTIFICATION::XCeEventHasOccurred
0x80165800: NOTIFICATION::HandleSystemEvent 7 /ADD DSK3:
0x80165800: NOTIFICATION::HandleSystemEvent::Don't want
\\.\Notifications\NamedEvents\DSTTimeChange
0x80165800: NOTIFICATION::HandleSystemEvent::Don't want
\\.\Notifications\NamedEvents\DSTTzChange
0x801b8e20: Opened the store hStore=0009B5E0
0x801b8e20: NumSec=78140160 BytesPerSec=512 FreeSec=0 BiggestCreatable=0
0x801b8e20: Partition Part00 NumSectors=78140097
0x801b8e20: MSPART!PD_OpenPartition: dwStoreId=0009B5E0, PartName=Part00
0x80165800: NOTIFICATION::XCeEventHasOccurred
0x80165800: NOTIFICATION::HandleSystemEvent 7 /ADD DSK3:
0x80165800: NOTIFICATION::HandleSystemEvent::Don't want
\\.\Notifications\NamedEvents\DSTTimeChange
0x80165800: NOTIFICATION::HandleSystemEvent::Don't want
\\.\Notifications\NamedEvents\DSTTzChange
Attaching another 3,5" HD causes the following output:
0x87667df0: CHub(Root tier 0)::HubStatusChangeThread - port 2, change =
0x0001, status = 0x0101
0x87667df0: CHub(Root tier 0)::HubStatusChangeThread - device attached on
port 2
0x87667df0: +CHub(Root tier 0)::AttachDevice - port = 2, fIsLowSpeed = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_OPENING_ENDPOINT0_PIPE, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_USING_ADDRESS0, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_RESET_AND_ENABLE_PORT, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_SET_ADDRESS, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_LEAVE_ADDRESS0, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_GET_INITIAL_DEVICE_DESCRIPTOR, failures
= 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_GET_DEVICE_DESCRIPTOR, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SETUP_CONFIGURATION_DESCRIPTOR_ARRAY, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_GET_INITIAL_CONFIG_DESCRIPTOR, failures
= 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_GET_CONFIG_DESCRIPTOR, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_DETERMINE_CONFIG_TO_CHOOSE, failures = 0
0x87667df0: WARNING!!!! Auto-selecting config #1 for new device.
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SCHEDULING_SET_CONFIG, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_CREATE_NEW_FUNCTION, failures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_INSERT_NEW_DEVICE_INTO_UPSTREAM_HUB_PORT_ARRAY, fai
lures = 0
0x87667df0: CHub(Root tier 0)::AttachDevice - status =
DEVICE_CONFIG_STATUS_SIGNAL_NEW_DEVICE_ENTER_OPERATIONAL_STATE, failures
= 0
0x87667df0: +USBD:OpenPipe, EP: 129, MaxPkt: 64, Type: Bulk
0x87667df0: -USBD:OpenPipe success, hPipe = 522EE0
0x87667df0: +USBD:OpenPipe, EP: 2, MaxPkt: 64, Type: Bulk
0x87667df0: -USBD:OpenPipe success, hPipe = 522FF0
0x87667df0:
DEVICE!ActivateDeviceEx(Drivers\USB\ClientDrivers\Mass_Storage_Class\6)
entered
0x87667df0: BOT_DataTransfer warning(6.7.2.3, RequestLength:512
TransferLength:0 Err:1460 UsbErr:0x0, dwTimeout:5000)
0x87667df0: BOT_DataTransfer error(5.3.3, dwCswErr:1460, dwUsbErr:0x0,
dwTimeout:4000)
0x87667df0: BOT_DataTransfer error(5.3.3, ResetErr:0x5b4 StallCount:0)
0x87667df0: Retry BOT_MassStorageReset
0x87667df0: BOT_DataTransfer warning(6.7.2.3, RequestLength:18
TransferLength:0 Err:1460 UsbErr:0x0, dwTimeout:5000)
0x87667df0: BOT_DataTransfer error(5.3.3, dwCswErr:1460, dwUsbErr:0x0,
dwTimeout:4000)
0x87667df0: BOT_DataTransfer error(5.3.3, ResetErr:0x5b4 StallCount:0)
0x87667df0: Retry BOT_MassStorageReset
0x87667df0: ScsiGetSenseData error:1460
0x87667df0: ScsiModeSense ERROR:1460
0x87667df0: BOT_DataTransfer error(5.3.3, dwCswErr:1460, dwUsbErr:0x0,
dwTimeout:4000)
0x87667df0: BOT_DataTransfer error(5.3.3, ResetErr:0x5b4 StallCount:0)
0x87667df0: Retry BOT_MassStorageReset
0x87667df0: BOT_DataTransfer error(5.3.1, 1460, 0x0, 0, 31, 4000)
0x87667df0: Retry BOT_MassStorageReset
0x87667df0: ScsiGetSenseData error:1460
0x87667df0: ScsiTestUnitReady ERROR:1460
0x87667df0: ScsiUnitAttention:1460
0x87667df0: BOT_DataTransfer error(5.3.3, dwCswErr:1460, dwUsbErr:0x0,
dwTimeout:4000)
0x87667df0: BOT_DataTransfer error(5.3.3, ResetErr:0x5b4 StallCount:0)
0x87667df0: Retry BOT_MassStorageReset
0x87667df0: BOT_DataTransfer error(5.3.1, 1460, 0x0, 0, 31, 4000)
0x87667df0: Retry BOT_MassStorageReset
0x87667df0: ScsiGetSenseData error:1460
0x87667df0: ScsiStartStopUnit ERROR:1460
0x87667df0: BOT_DataTransfer warning(6.7.2.3, RequestLength:18
TransferLength:0 Err:1460 UsbErr:0x0, dwTimeout:5000)
0x87667df0: BOT_DataTransfer error(5.3.3, dwCswErr:1460, dwUsbErr:0x0,
dwTimeout:4000)
0x87667df0: BOT_DataTransfer error(5.3.3, ResetErr:0x5b4 StallCount:0)
0x87667df0: Retry BOT_MassStorageReset