Hi,

I have Iomega Floppy drive, it works on Windows XP.
But, unfortunately it does not work on WCE4.2.

WCE USBdisk6 driver recognize it as bInterfaceSubClass = 0x04 : USB Floppy
Interface (UFI)
but it can not communicate with it, and always return an error:
ERROR_GEN_FAILURE.
There is no difference if floppy is inserted or not.

Here is my registry settings and debug output.

Thanks for any help,
Dusko

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBFDProfile]
"Name"="USB Floppy Disk Drive"
"Folder"="Floppy Drive"
"DefaultFileSystem"="FATFS"
"PartitionDriver"=""
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBFDProfile\FATFS]
"CacheSize"=dword:0

; USB - SL811HS
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SL811HCD]
"Prefix"="HCD"
"Dll"="sl811hcd.dll"
"Order"=dword:2
"UseExistingSettings"=dword:0
"DataBase"=dword:310
"MemOffset"=dword:10 ;offset to the data memory

; USB - HID driver
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\3\Hid_Class]
"DLL"="USBHID.DLL"
"Prefix"="HID"
"Order"=dword:2
"Index"=dword:1

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Hid_Class]
"DLL"="USBHID.DLL"
"Prefix"="HID"

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_2\Mouse]
"DLL"="MOUHID.DLL"

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\1_6\Keyboard]
"DLL"="KBDHID.DLL"

[HKEY_LOCAL_MACHINE\Drivers\HID\ClientDrivers\Keyboard]
"DLL"="KBDHID.DLL"
"Prefix"="KBD"
"IClass"="{CBE6DDF2-F5D4-4e16-9F61-4CCC0B6695F3}"

[HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\12_1\Consumer]
"DLL"="CONSHID.DLL"

; USB - Storage device
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_C
lass]
"DLL"="USBMSC.DLL"
"Prefix"="DSK"

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class]
"DLL"="USBMSC.DLL"
"Prefix"="DSK"
;please added following.
"ReadSectorTimeout"=dword:400
"WriteSectorTimeout"=dword:400
"ScsiCommandTimeout"=dword:200
"MediaPollInterval"=dword:400
"UnitAttnRepeat"=dword:10

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\2]
"DLL"="USBDISK6.DLL"
"Prefix"="DSK"
"FSD"="UDFS.DLL"
"Folder"="USB Disk"
"IOCTL"=dword:4
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\6]
"DLL"="USBDISK6.DLL"
"Prefix"="DSK"
"FSD"="FATFS.DLL"
"Folder"="USB Disk"
"IOCTL"=dword:4
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

; USB - Printer
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\7\Printer_Class]
"DLL"="USBPRN.DLL"
"Prefix"="LPT"

[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Printer_Class]
"DLL"="USBPRN.DLL"
"Prefix"="LPT"
"PortStatusTimeout"=dword:2000
"DeviceIdTimeout"=dword:2000
"SoftResetTimeout"=dword:2000
"ReadTimeoutMultiplier"=dword:10
"ReadTimeoutConstant"=dword:100
"WriteTimeoutMultiplier"=dword:50
"WriteTimeoutConstant"=dword:1000

SL811: PortStatusChangeThread-Before running HCD_AttachDevice g_portSpeed=0

USBDISK6>DiskAttach

bInterfaceSubClass:0x4

ActivePath:Drivers\USB\ClientDrivers\Mass_Storage_Class\6

USBDISK6>DiscoverLuns

USBDISK6>ScsiUnitAttention

USBDISK6>ScsiTestUnitReady

USBDISK6>ScsiGetSenseData

USBDISK6>ScsiRequestSense

USBDISK6<ScsiRequestSense:0

ScsiGetSenseData - SenseKey:0x6 ASC:0x29 ASCQ:0x0

SENSE_UNIT_ATTENTION : ASC_RESET

USBDISK6<ScsiGetSenseData:20

ScsiTestUnitReady ERROR:20

USBDISK6<ScsiTestUnitReady:20

ScsiUnitAttention:20

USBDISK6>ScsiStartStopUnit

USBDISK6>ScsiGetSenseData

USBDISK6>ScsiRequestSense

USBDISK6<ScsiRequestSense:31

ScsiGetSenseData error:31

USBDISK6<ScsiGetSenseData:31

ScsiStartStopUnit ERROR:31

USBDISK6<ScsiStartStopUnit:31

USBDISK6>ScsiGetSenseData

USBDISK6>ScsiRequestSense

USBDISK6<ScsiRequestSense:31

ScsiGetSenseData error:31

USBDISK6<ScsiGetSenseData:31

USBDISK6>ScsiTestUnitReady

USBDISK6>ScsiGetSenseData

USBDISK6>ScsiRequestSense

USBDISK6<ScsiRequestSense:31

ScsiGetSenseData error:31

USBDISK6<ScsiGetSenseData:31

ScsiTestUnitReady ERROR:31

Re: USB Floppy drive does not work by Dusko

Dusko
Mon Jun 07 02:52:11 CDT 2004

Hi,

I have tested another USB Floppy drive, for Dell laptop, and it does not
work with WCE 4.2, too.

Since there were some kind of confirmation from MS:
"I have seen USB floppy drives that do not work with CE. This is because
they incorrectly report the absence/presence of media."
my questions are:
1. I there a list of USB floppy drives that work without any problems with
WCE 4.2 devices?
2. Will current problems with USB floppy drives be fixed in QFE or perhaps
in WCE 5.0?

Thanks in advance,
Dusko Stajic


"Dusko Stajic" <dstajic@xylon.hr.NO SPAM> wrote in message
news:OW$hhoJREHA.4016@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I have Iomega Floppy drive, it works on Windows XP.
> But, unfortunately it does not work on WCE4.2.
>
> WCE USBdisk6 driver recognize it as bInterfaceSubClass = 0x04 : USB Floppy
> Interface (UFI)
> but it can not communicate with it, and always return an error:
> ERROR_GEN_FAILURE.
> There is no difference if floppy is inserted or not.
>
> Here is my registry settings and debug output.
>
> Thanks for any help,
> Dusko
>
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBFDProfile]
> "Name"="USB Floppy Disk Drive"
> "Folder"="Floppy Drive"
> "DefaultFileSystem"="FATFS"
> "PartitionDriver"=""
> [HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\USBFDProfile\FATFS]
> "CacheSize"=dword:0
>
> ; USB - SL811HS
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SL811HCD]
> "Prefix"="HCD"
> "Dll"="sl811hcd.dll"
> "Order"=dword:2
> "UseExistingSettings"=dword:0
> "DataBase"=dword:310
> "MemOffset"=dword:10 ;offset to the data memory
>
> ; USB - HID driver
> [HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\3\Hid_Class]
> "DLL"="USBHID.DLL"
> "Prefix"="HID"
> "Order"=dword:2
> "Index"=dword:1
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Hid_Class]
> "DLL"="USBHID.DLL"
> "Prefix"="HID"
>
> [HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\Default\1_2\Mouse]
> "DLL"="MOUHID.DLL"
>
> [HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\1_6\Keyboard]
> "DLL"="KBDHID.DLL"
>
> [HKEY_LOCAL_MACHINE\Drivers\HID\ClientDrivers\Keyboard]
> "DLL"="KBDHID.DLL"
> "Prefix"="KBD"
> "IClass"="{CBE6DDF2-F5D4-4e16-9F61-4CCC0B6695F3}"
>
> [HKEY_LOCAL_MACHINE\Drivers\HID\LoadClients\Default\12_1\Consumer]
> "DLL"="CONSHID.DLL"
>
> ; USB - Storage device
>
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\8\Mass_Storage_C
> lass]
> "DLL"="USBMSC.DLL"
> "Prefix"="DSK"
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class]
> "DLL"="USBMSC.DLL"
> "Prefix"="DSK"
> ;please added following.
> "ReadSectorTimeout"=dword:400
> "WriteSectorTimeout"=dword:400
> "ScsiCommandTimeout"=dword:200
> "MediaPollInterval"=dword:400
> "UnitAttnRepeat"=dword:10
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\2]
> "DLL"="USBDISK6.DLL"
> "Prefix"="DSK"
> "FSD"="UDFS.DLL"
> "Folder"="USB Disk"
> "IOCTL"=dword:4
> "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Mass_Storage_Class\6]
> "DLL"="USBDISK6.DLL"
> "Prefix"="DSK"
> "FSD"="FATFS.DLL"
> "Folder"="USB Disk"
> "IOCTL"=dword:4
> "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
>
> ; USB - Printer
>
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\7\Printer_Class]
> "DLL"="USBPRN.DLL"
> "Prefix"="LPT"
>
> [HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Printer_Class]
> "DLL"="USBPRN.DLL"
> "Prefix"="LPT"
> "PortStatusTimeout"=dword:2000
> "DeviceIdTimeout"=dword:2000
> "SoftResetTimeout"=dword:2000
> "ReadTimeoutMultiplier"=dword:10
> "ReadTimeoutConstant"=dword:100
> "WriteTimeoutMultiplier"=dword:50
> "WriteTimeoutConstant"=dword:1000
>
> SL811: PortStatusChangeThread-Before running HCD_AttachDevice
g_portSpeed=0
>
> USBDISK6>DiskAttach
>
> bInterfaceSubClass:0x4
>
> ActivePath:Drivers\USB\ClientDrivers\Mass_Storage_Class\6
>
> USBDISK6>DiscoverLuns
>
> USBDISK6>ScsiUnitAttention
>
> USBDISK6>ScsiTestUnitReady
>
> USBDISK6>ScsiGetSenseData
>
> USBDISK6>ScsiRequestSense
>
> USBDISK6<ScsiRequestSense:0
>
> ScsiGetSenseData - SenseKey:0x6 ASC:0x29 ASCQ:0x0
>
> SENSE_UNIT_ATTENTION : ASC_RESET
>
> USBDISK6<ScsiGetSenseData:20
>
> ScsiTestUnitReady ERROR:20
>
> USBDISK6<ScsiTestUnitReady:20
>
> ScsiUnitAttention:20
>
> USBDISK6>ScsiStartStopUnit
>
> USBDISK6>ScsiGetSenseData
>
> USBDISK6>ScsiRequestSense
>
> USBDISK6<ScsiRequestSense:31
>
> ScsiGetSenseData error:31
>
> USBDISK6<ScsiGetSenseData:31
>
> ScsiStartStopUnit ERROR:31
>
> USBDISK6<ScsiStartStopUnit:31
>
> USBDISK6>ScsiGetSenseData
>
> USBDISK6>ScsiRequestSense
>
> USBDISK6<ScsiRequestSense:31
>
> ScsiGetSenseData error:31
>
> USBDISK6<ScsiGetSenseData:31
>
> USBDISK6>ScsiTestUnitReady
>
> USBDISK6>ScsiGetSenseData
>
> USBDISK6>ScsiRequestSense
>
> USBDISK6<ScsiRequestSense:31
>
> ScsiGetSenseData error:31
>
> USBDISK6<ScsiGetSenseData:31
>
> ScsiTestUnitReady ERROR:31
>
>
>
>
>