- Code: Select all
I'm interested in your project for writing improved DOS drivers for
USB devices, and yesterday I downloaded and tried your drivers with my USB
flash drives. They seem to work correctly with a 32 MB Memorex drive and
a 1 GB SanDisk drive.
However, I have an 8 GB SanDisk drive that is seen by USBUHCIL and
USBDRIVE, but is not assigned drive letters. This drive has had the U3
software removed, and I partitioned it in Win98SE as an extended partition
with one FAT16 logical drive of 2,147 MB and one FAT32 logical drive of
5,724 MB. Both logical drives are seen correctly in Windows by the
generic Win98 drivers. Under USBASPI.SYS and DI1000DD.SYS in Win98SE DOS,
only the first logical drive is seen. Under USBUHCIL and USBDRIVE,
neither logical drive is seen, though the drive's activity light flashes.
I have loaded USBUHCIL Index 0 and USBDRIVE Ltrs:Q. With this 8 GB
drive plugged in, I've redirected to a file the output of the following
USBDRIVE switches:
USBDRIVE /S
USBDRIVE /D
USBDRIVE /I
USBDRIVE /C
USBDRIVE /B
USBDRIVE /F
USBDRIVE /Q:82h [there are two physical hard drives in this machine]
Followed by the output from USBDEVIC and USBUHCIL /Descr.
These readouts are appended below. This was with the drive plugged
directly into the computer's USB socket, but the drive still does not have
letters assigned when plugged into a 3-port hub (with USBHUB loaded). (I
have made tests on two PCs, with similar results.)
I'd be interested in your comments; please advise if you need more
information. I'm guessing that the partition scheme on the drive isn't
working with your drivers? Is there a limit to the drive capacity that
they can handle?
--Donald Davis
--------------------
USBDRIVE 0.15, (C) 2007-2009, Bret E. Johnson.
DOS Driver for up to 8 SCSI-compatible USB Mass Storage Devices.
Initialization Delay: 0 seconds
DOS Version: 7.10
Max Bytes per Sector: 512
Mount FAT32 Volumes: Yes
Max Sectors per Xfer: 1
USB INFO DISK/LUN DOS DRIVE
ÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ ÍÍÍÍÍÍÍÍÍÍÍ
I R W D
n H A I INT m r r
d o d n L 13h v P Sect Byte i
e s d t U Dsk M r Num Num Per Per Total Approx v Approx
x t r f N Num d t Head Cyl Cyl Sect Sectors Capacity e Capacity
ÄÄ ÄÄ ÄÄÄ ÄÄ Ä ÄÄÄ Ä Ä ÄÄÄÄ ÄÄÄÄÄ ÄÄÄÄ ÄÄÄÄ ÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄ ÄÄ ÄÄÄÄÄÄÄÄ
0 0 2 0 0 82h . . 255 977 63 512 00EF9FFEh 8040 MB
Unused USB Dvc/Intf Indexes: 1-3
Unused INT 13h Disk Numbers: 83h-89h
Unused DOS Drive Letters: Q:-W:, P:
Resident USBDRIVE has been updated with new information.
USBDRIVE 0.15, (C) 2007-2009, Bret E. Johnson.
DOS Driver for up to 8 SCSI-compatible USB Mass Storage Devices.
D
r INT
i 13h Partition Byte
v Dsk ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Boot Per Total Approx
e Num Sector Idx Type Sector Sect Sectors Capacity
ÄÄ ÄÄÄ ÄÄÄÄÄÄÄÄÄ ÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄ ÄÄÄÄ ÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄ
Unused DOS Drive Letters: Q:-W:, P:
Resident USBDRIVE has been updated with new information.
USBDRIVE 0.15, (C) 2007-2009, Bret E. Johnson.
DOS Driver for up to 8 SCSI-compatible USB Mass Storage Devices.
INQUIRY RESPONSES FROM COMPATIBLE SCSI DISKS
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
DSK ANSI DATA
NUM VENDOR PRODUCT REV VERSION FORMAT
ÄÄÄ ÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄ ÄÄÄÄÄÄÄ ÄÄÄÄÄÄ
82h SanDisk Cruzer 8.02 ANSI? Common
USBDRIVE 0.15, (C) 2007-2009, Bret E. Johnson.
DOS Driver for up to 8 SCSI-compatible USB Mass Storage Devices.
USB HOST INDEX: 0
DEVICE ADDRESS: 2
DEVICE DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 12h 18
Descr Type: 01h Device
USB Release: 0200h 2.00
Device Class: 00h Look at Interface
Device SubClass: 00h None
Device Protocol: 00h None
Max Packet Size EP0: 40h 64
Vendor ID: 0781h SanDisk Corp
Product ID: 5406h 21,510
Device Release: 0200h 2.00
Manufacturer String: 01h "SanDisk"
Product String: 02h "U3 Cruzer Micro"
Serial # String: 03h "258510028A90A80F"
# of Configs: 01h 1
CONFIGURATION DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 09h 9
Descr Type: 02h Configuration
Descr Total Length: 0020h 32
# of Interfaces: 01h 1
Configuration Value: 01h 1
Configuration String: 00h None
Attributes: 80h Valid Historical Attribute 80h
Bus Powered
No Remote Wakeup
Not Battery Powered
Current Draw / 2: 32h 50 (100 mA)
INTERFACE DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 09h 9
Descr Type: 04h Interface
Interface Number: 00h 0
Alternate Setting: 00h 0
# of End Points: 02h 2
Interface Class: 08h Mass Storage
Interface SubClass: 06h SCSI Transparent
Interface Protocol: 50h Bulk-only (Zip)
Interface String: 00h None
END POINT DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 07h 7
Descr Type: 05h EndPoint
End Point Number: 81h EndPoint = 1 Direction = In
Attributes: 02h Bulk NonSynchronous Data
Max Packet Size: 0040h 64
Max Poll Interval: 00h 0
END POINT DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 07h 7
Descr Type: 05h EndPoint
End Point Number: 02h EndPoint = 2 Direction = Out
Attributes: 02h Bulk NonSynchronous Data
Max Packet Size: 0040h 64
Max Poll Interval: 00h 0
USBDRIVE 0.15, (C) 2007-2009, Bret E. Johnson.
DOS Driver for up to 8 SCSI-compatible USB Mass Storage Devices.
Beep for Bad Disk Drives: Yes
BAD (INCOMPATIBLE) DISK DRIVES
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
SCSI REQUEST
HOST DVC INTF STAGE ERROR ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
INDX ADDR NUM NUM CODE REQ STP DAT STS CSW RESIDUE KEY INFO ASC/Q
ÄÄÄÄ ÄÄÄÄ ÄÄÄÄ ÄÄÄÄÄ ÄÄÄÄÄ ÄÄÄ ÄÄÄ ÄÄÄ ÄÄÄ ÄÄÄ ÄÄÄÄÄÄÄÄÄ ÄÄÄ ÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄ
#ÄÄ# #ÄÄ# None #ÄÄÄ# #ÄÄÄ#
USBDRIVE 0.15, (C) 2007-2009, Bret E. Johnson.
DOS Driver for up to 8 SCSI-compatible USB Mass Storage Devices.
CONTENTS OF INQUIRY BUFFER
ÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
0000 00 80 00 01 75 00 00 00-53 61 6E 44 69 73 6B 20 € u SanDisk
0010 43 72 75 7A 65 72 20 20-20 20 20 20 20 20 20 20 Cruzer
0020 38 2E 30 32 8.02
CONTENTS OF FORMAT CAPACITY BUFFER
ÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
0000 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0040 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0060 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0070 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0080 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0090 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00A0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00B0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00C0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00D0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00E0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00F0 00 00 00 00 00 00 00 00-00 00 00 00
CONTENTS OF CAPACITY BUFFER
ÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
0000 00 EF 9F FE 00 00 02 00 ïŸþ
CONTENTS OF MODE SENSE BUFFER
ÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
0000 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0040 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0060 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0070 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0080 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0090 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00A0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00B0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
CONTENTS OF SECTOR (0000003Fh) BUFFER
ÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
0000 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0010 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0020 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0030 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0040 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0060 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0070 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0080 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0090 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00A0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00B0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00C0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00D0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00E0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
00F0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0100 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0110 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0120 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0130 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0140 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0150 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0160 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0170 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0180 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
0190 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
01A0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
01B0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
01C0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
01D0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
01E0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
01F0 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
Resident USBDRIVE has been updated with new information.
USBDRIVE 0.15, (C) 2007-2009, Bret E. Johnson.
DOS Driver for up to 8 SCSI-compatible USB Mass Storage Devices.
DEVICE ADDRESSES
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Í
Host Index: 0 Host Type: UHCI Bus Type: PCI IRQ#: 11 Root Hub Ports: 2
Vendor: 8086h = Intel Corp Product: 7112h
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Í
DEVICES INTERFACES
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
L C I A O
ADRS o P o n l w
ÍÍÍÍ (hex) S o BUS n t t n
Test VEND PROD Sub Pro p USB HUB r POWR f f I e Sub
Pro
RWak ID ID Cls Cls col d VER ADR t (mA) g c n DESCRIPTION d Cls Cls
col
ÍÍÍÍ ÍÍÍÍ ÍÍÍÍ ÍÍÍ ÍÍÍ ÍÍÍ Í ÍÍÍ ÍÍÍ Í ÍÍÍÍ Í Í Í ÍÍÍÍÍÍÍÍÍÍÍÍÍÍ Í ÍÍÍ ÍÍÍ
ÍÍÍ
1 8086 7112 9 0 0 . 1.0 ... . s 0 1 0 0*Root Hub Y 9 0
0
Intel Corp
ÄÄÄÄ ÄÄÄÄ ÄÄÄÄ ÄÄÄ ÄÄÄ ÄÄÄ Ä ÄÄÄ ÄÄÄ Ä ÄÄÄÄ Ä Ä Ä ÄÄÄÄÄÄÄÄÄÄÄÄÄÄ Ä ÄÄÄ ÄÄÄ
ÄÄÄ
2 0781 5406 0 0 0 . 2.0 1 2 100 1 0 0*SCSI Trsp Bulk Y 8 6
80
SanDisk Corp
USBUHCIL 0.09, (C) 2007-2009, Bret E. Johnson.
DOS Driver for a Universal HCI compatible USB Host Controller.
LITE version (maximum 16 Devices, no Isochronous Transactions).
DEVICE ADDRESS: 2
CONFIGURATION: 1
DEVICE DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 12h 18
Descr Type: 01h Device
USB Release: 0200h 2.00
Device Class: 00h Look at Interface
Device SubClass: 00h None
Device Protocol: 00h None
Max Packet Size EP0: 40h 64
Vendor ID: 0781h SanDisk Corp
Product ID: 5406h 21,510
Device Release: 0200h 2.00
Manufacturer String: 01h "SanDisk"
Product String: 02h "U3 Cruzer Micro"
Serial # String: 03h "258510028A90A80F"
# of Configs: 01h 1
CONFIGURATION DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 09h 9
Descr Type: 02h Configuration
Descr Total Length: 0020h 32
# of Interfaces: 01h 1
Configuration Value: 01h 1
Configuration String: 00h None
Attributes: 80h Valid Historical Attribute 80h
Bus Powered
No Remote Wakeup
Not Battery Powered
Current Draw / 2: 32h 50 (100 mA)
INTERFACE DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 09h 9
Descr Type: 04h Interface
Interface Number: 00h 0
Alternate Setting: 00h 0
# of End Points: 02h 2
Interface Class: 08h Mass Storage
Interface SubClass: 06h SCSI Transparent
Interface Protocol: 50h Bulk-only (Zip)
Interface String: 00h None
END POINT DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 07h 7
Descr Type: 05h EndPoint
End Point Number: 81h EndPoint = 1 Direction = In
Attributes: 02h Bulk NonSynchronous Data
Max Packet Size: 0040h 64
Max Poll Interval: 00h 0
END POINT DESCRIPTOR
ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
Descr Length: 07h 7
Descr Type: 05h EndPoint
End Point Number: 02h EndPoint = 2 Direction = Out
Attributes: 02h Bulk NonSynchronous Data
Max Packet Size: 0040h 64
Max Poll Interval: 00h 0