Re: USB Mass Storage Device

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The "DeviceName" registry setting looks wierd. It should match the
device manager name, i.e. "DSK0:" or "DSK1:" etc. If you're not sure
what name the SD Memory Storage class driver gets when it is activated,
you should be able to find it under
[HKEY_LOCAL_MACHINE\Drivers\Active] using the remote registry editor.

Henrik Viklund
http://www.addlogic.se

Imti skrev:

Hi,

I want to expose my SD Card as a USB Mass Storage Device. Here are the
details of the target device

(1) ISP1582 Peripheral Controller
(2) WINCE 5.0
(3) Have the physical device driver(PDD) from philips.

I have included the "Mass Storage" Component from the catalog.

The Device is registered and it has activated the "Mass Storage Class"
Client driver.
But on my PC it shows as "UNKNOWN DEVICE" found.

How can I set my registry, so that it corresponds to my SD CARD. SD
Card is mounted as
"Storage Card" on my target.

Here are the registry settings

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PDCI]
"Prefix"="UFN"
"Dll"="ISP1582Function.dll"
"Order"=dword:16
"Class"=dword:06
"SubClass"=dword:80
"ProgIF"=dword:00
"Priority256"=dword:64
"VendorID"=multi_sz:"10b5"
"DeviceID"=multi_sz:"5406"
"SubVendorID"=multi_sz:"10b5"
"SubsystemID"=multi_sz:"9054"
"IsrDll"="GIISR.dll"
"IsrHandler"="ISRHandler"
"EndpointCount"=dword:7
"SupportedSpeeds"=dword:6
"BusIoctl"=dword:2a0048
"MemBase"=dword:08000000
"MemLen"=dword:100000
"SysIntr"=dword:42

"IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"


[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"ClientDriver"="\\Drivers\\USB\\FunctionDrivers\\Mass_Storage_Class"

[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
"Dll"="usbmsfn.dll"
"idVendor"=dword:04CC
"idProduct"=dword:1BA7
"InterfaceSubClass"=dword:06
"InterfaceProtocol"=dword:50
"DeviceName"="Storage Card:"
"FriendlyName"="Mass Storage"
"Manufacturer"="Philips"
"Product"="Mass Storage"
"bcdDevice"=dword:0

Here are the debug messages

UsbFnMdd!UfnMdd_RegisterDevice: Device registered

UsbFnMdd!UfnMdd_Start: Function controller running

UsbFnMdd!CUfnBus::ActivateChild: Activated client driver
"Mass_Storage_Class"


Regards,

Imtiaz Khan

.



Relevant Pages

  • Re: Clean format of monolithic filesystem
    ... filesystem is mounted as root, you'd open \VOL:, Storage Card would be ... This is set up such that the Storage Manager AutoLoad ... registry section is used to load the driver. ... registry, etc. and forcing a new test cycle for the OS build. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: mounting of the hive registry on sd card
    ... Even though i am unable to mounting the hive on Sd card. ... The actual error that you're seeing with the loading of the client driver ... It's trying to load the BusPrefix registry value from the ... ; END HIVE BOOT SECTION ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 802.11 WLAN CF card support on WinCE42
    ... Here is the registry entry that I added for WiFi card: ... And the following are the messages from kernel when card inserted, ... because HW design are different from Lubbock, but driver code didn't change ... 00052AC8, MiniBlock 00048F20, rc 1 ...
    (microsoft.public.windowsce.platbuilder)
  • Re: PPC USB device will not be re-enumerated after the Power off/on cycle
    ... The card is CFU1U from Ratoc Systems. ... Could you please tell me how to set the registry to request the reset ... > Unless you write your own OHCI or UHCI driver, it can be told from the ... if I unplug and plug the USB cable for the USB ...
    (microsoft.public.windowsce.embedded)
  • Re: TI PC Card driver + CISCO Aironet 340/350 PCMCIA WLAN Card
    ... in the registry are correct (they don't conflict with something else in the ... system memory map or I/O map). ... I uses the TI PC Card ... >>> driver in Platform Builder for Ricoh 475II. ...
    (microsoft.public.windowsce.platbuilder)