USB Floppy drive does not work

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dusko Stajic (dstajic_at_xylon.hr.NO)
Date: 05/28/04


Date: Fri, 28 May 2004 11:56:58 +0200

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



Relevant Pages

  • Re: USB support.
    ... You have not actually said what you mean by "USB interface". ... have to write a Device Driver tha communicates to this device. ... How do I communicate with USB? ...
    (microsoft.public.vc.mfc)
  • Re: USB program
    ... Since interfacing with a device is operating system specific, ... that you're going to have to find the operating system API that communicate ... with the USB port, and write a JNI (Java Native Interface) wrapper around ...
    (comp.lang.java)
  • Re: how to drive an powertip 240*128 passive matrix graphic lcd using labview
    ... How do you communicate to the device?  Is is digital direct, serial, USB, etc etc. ... There are many questions you need to answer before we can start helping you out.  The main one is the interface and the protocol's involved. ...
    (comp.lang.labview)
  • Re: [discuss] 2.6.19-rc5: known regressions (v2)
    ... ACPI: IRQ0 used by override. ... registered new interface driver usbfs ... USB Universal Host Controller Interface driver v3.0 ... root hub lost power or was reset ...
    (Linux-Kernel)
  • uC Slection for a learner project
    ... I would like to construct a data logger. ... A 1-Wire interface would be nice. ... require the means to either write/read a MMC/SD card or a USB memory ...
    (comp.arch.embedded)