Jump to content

USBMSD.ADD: Difference between revisions

From EDM2
Ak120 (talk | contribs)
Created page with "USB Removable Media Device Driver for e.g. USB 1.44M Floppy Drive and Iomega 100/250MB portable USB ZIP drive. This is the USB Mass Storage Driver. It works with USB flash dri..."
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
USB Removable Media Device Driver for e.g. USB 1.44M Floppy Drive and Iomega 100/250MB portable USB ZIP drive. This is the USB Mass Storage Driver. It works with USB flash drives and USB HDD.
{{ProdS |V30=C|V31=C|V40=C|V45=S}}
USB Mass Storage Driver for e.g. USB 1.44M Floppy Drive and Iomega 100/250MB portable USB ZIP drive. It works with USB flash drives and USB HDD.
  BASEDEV=USBMSD.ADD /FLOPPIES:0 /REMOVABLES:n
  BASEDEV=USBMSD.ADD /FLOPPIES:0 /REMOVABLES:n


'''TIP:''' By [[Daniela Engert]]: with BASEDEV=USBMSD.ADD /FIXED_DISK /FLOPPIES:0 /DEVICES:1 the USB Zip 100 should work.
;TIP: By [[Daniela Engert]]: with BASEDEV=USBMSD.ADD /FIXED_DISK /FLOPPIES:0 /DEVICES:1 the USB Zip 100 should work.


'''NOTE:''' During boot USBMSD.ADD creates an empty list with the selected (default1) numbers of devices. Whenever you attach a device it will be connected to this list. This also means, if you attach more devices than specified in the list, they won't be recognized.
;NOTE: During boot USBMSD.ADD creates an empty list with the selected (default1) numbers of devices. Whenever you attach a device it will be connected to this list. This also means, if you attach more devices than specified in the list, they won't be recognized.


==Parameter==
==Parameter==
* /V  
;/V  
Verbose Mode, displays driver information during OS/2 initialization.
:Verbose Mode, displays driver information during OS/2 initialization.


* /A_USAGE:n  
'''/BUFFER:n'''
Parameter controls usage of 'A' drive flag for the 1st floppy device. The following values of n can be used:
:Sets transfer buffer size for LS and FS devices.
  * 0 - 'A' drive flag is not used;
'''/A_USAGE:n'''
  * 1 - 'A' drive flag is used;
:Parameter controls usage of 'A' drive flag for the 1st floppy device. The following values of n can be used:
  * 2 (default value) - 'A' drive flag is used only if there is no other device driver using this flag.
::0 - 'A' drive flag is not used;
::1 - 'A' drive flag is used;
::2 (default value) - 'A' drive flag is used only if there is no other device driver using this flag.


* /MAX_FLOPPY
'''/GPT:n'''         
Parameter forces driver to report floppy device geometry with maximal sector count as floppy device physical geometry. With this parameter driver supports LS-120 media formatting but does not support XDF floppy filter features and vice versa.
:Sets how many of the REMOVABLES are reserved for GPT disks.
:Default=0.


* /FLOPPIES:n
;/MAX_FLOPPY
Number of floppy devices to be served (by default 1). In order to remove service the key value must be set to 0.
:Parameter forces driver to report floppy device geometry with maximal sector count as floppy device physical geometry. With this parameter driver supports LS-120 media formatting but does not support XDF floppy filter features and vice versa.


* /REMOVABLES:n
;/REMOVABLE_AS_FLOPPY
Number of removable media devices to be served (by default 1). For example, the statement "BASEDEV=USBMSD.ADD /FLOPPIES:2 /REMOVABLES:3" serves 2 floppy devices (including LS-120 Super Disk devices), 3 removable media devices (like IOMEGAZIP drive). In order to remove service the key value must be set to 0.
:Use removable disks as Large Floppies. Use of this switch is not tested, may not work, and may not be supported.


* /REMOVABLE_AS_FLOPPY
'''/FLOPPIES:n'''
System uses removable disks as Large Floppies.
:Number of floppy devices to be served (by default 1). In order to remove service the key value must be set to 0.


* /CHS     
'''/REMOVABLES:n'''
Driver calculates and adds Cylinder/Heads/Sectors values to device geometry. This key helps to support USB drives with capacity more than 40GB for systems with os2dasd driver without 512GB support and for non-LVM systems.
:Number of removable media devices to be served (by default 1). For example, the statement "BASEDEV=USBMSD.ADD /FLOPPIES:2 /REMOVABLES:3" serves 2 floppy devices (including LS-120 Super Disk devices), 3 removable media devices (like IOMEGAZIP drive). In order to remove service the key value must be set to 0.


*/MS10_OFF 
'''/CDS:n'''
Driver avoids of using ModeSense10 command for geometry detection.
:Sets the number of CD/DVD devices that will be recognized. This allocates a drive letter for each device. Default=0


'''Platform Support:'''
;/CHS
{| class="wikitable"
:Driver calculates and adds Cylinder/Heads/Sectors values to device geometry. This key helps to support USB drives with capacity more than 40GB for systems with os2dasd driver without 512GB support and for non-LVM systems.
 
;/MS10_OFF
:Driver avoids of using ModeSense10 command for geometry detection.
 
'''/OPTICALS:n'''
Default=0 Ancient, left-over IBM flag. Use of this switch is not tested, may not work, and may not be supported.
 
;/U
:Make unusable devices usable. Normally disks which are not MBR or wiped are marked unusable to prevent damaging them.
:This switch disables the check and makes all disks usable.
 
Additional debugging options:
;/BP           
:Execute an int 3 breakpoint immediately upon parsing this switch.
 
;/W           
:Causes the debug buffer to wrap. The default is nowrap.
 
'''/COM:<port>'''
:Causes debug messages to be output to the specified serial port.
:1=0x3f8, 2=0x2f8, 0xnnnn specifies the COM port base address.
 
'''/BAUD:<baud>'''
:Sets the serial Port to the specified speed. Only valid if /COM is specified first.
 
==Samples==
BASEDEV=USBMSD.ADD
This is the standard configuration which provides for zero floppies, zero CDs
and four removables.
 
BASEDEV=USBMSD.ADD /CDS:1
This provides for zero floppies, one CD, and four removables.
BASEDEV=USBMSD.ADD /CDS:1 /FLOPPIES:1
This provides for one floppy, one CD, and four removables.
 
BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:1
This sample provides support for 8 removable USB drives and one USB Floppy Drive.
 
==Versions==
{|class="wikitable"
!Date||Version||Size||Comments
|-
|2022-11-26||12.14||61,400 bytes||Arca Noae USB Drivers
|-
|-
!OS/2 2.x
|2025-04-25||12.17||61,556 bytes||Arca Noae USB Drivers
!OS/2 3.0
!OS/2 4.0
!OS/2 4.5x
|-
|-
|No
|Yes
|Yes
|Yes
|}
|}


==Links==
* [https://www.arcanoae.com/wiki/usb/ Arca Noae USB Documentation]
[[Category:BASEDEV Statements]]
[[Category:BASEDEV Statements]]

Latest revision as of 01:59, 12 August 2025

Product Support
OS/2 1.3
OS/2 2.0
OS/2 2.1
OS/2 2.11 SMP
OS/2 Warp 3 C
OS/2 Warp Connect C
OS/2 Warp 4 C
OS/2 Warp Server for e-Business S

USB Mass Storage Driver for e.g. USB 1.44M Floppy Drive and Iomega 100/250MB portable USB ZIP drive. It works with USB flash drives and USB HDD.

BASEDEV=USBMSD.ADD /FLOPPIES:0 /REMOVABLES:n
TIP
By Daniela Engert: with BASEDEV=USBMSD.ADD /FIXED_DISK /FLOPPIES:0 /DEVICES:1 the USB Zip 100 should work.
NOTE
During boot USBMSD.ADD creates an empty list with the selected (default1) numbers of devices. Whenever you attach a device it will be connected to this list. This also means, if you attach more devices than specified in the list, they won't be recognized.

Parameter

/V
Verbose Mode, displays driver information during OS/2 initialization.

/BUFFER:n

Sets transfer buffer size for LS and FS devices.

/A_USAGE:n

Parameter controls usage of 'A' drive flag for the 1st floppy device. The following values of n can be used:
0 - 'A' drive flag is not used;
1 - 'A' drive flag is used;
2 (default value) - 'A' drive flag is used only if there is no other device driver using this flag.

/GPT:n

Sets how many of the REMOVABLES are reserved for GPT disks.
Default=0.
/MAX_FLOPPY
Parameter forces driver to report floppy device geometry with maximal sector count as floppy device physical geometry. With this parameter driver supports LS-120 media formatting but does not support XDF floppy filter features and vice versa.
/REMOVABLE_AS_FLOPPY
Use removable disks as Large Floppies. Use of this switch is not tested, may not work, and may not be supported.

/FLOPPIES:n

Number of floppy devices to be served (by default 1). In order to remove service the key value must be set to 0.

/REMOVABLES:n

Number of removable media devices to be served (by default 1). For example, the statement "BASEDEV=USBMSD.ADD /FLOPPIES:2 /REMOVABLES:3" serves 2 floppy devices (including LS-120 Super Disk devices), 3 removable media devices (like IOMEGAZIP drive). In order to remove service the key value must be set to 0.

/CDS:n

Sets the number of CD/DVD devices that will be recognized. This allocates a drive letter for each device. Default=0
/CHS
Driver calculates and adds Cylinder/Heads/Sectors values to device geometry. This key helps to support USB drives with capacity more than 40GB for systems with os2dasd driver without 512GB support and for non-LVM systems.
/MS10_OFF
Driver avoids of using ModeSense10 command for geometry detection.

/OPTICALS:n Default=0 Ancient, left-over IBM flag. Use of this switch is not tested, may not work, and may not be supported.

/U
Make unusable devices usable. Normally disks which are not MBR or wiped are marked unusable to prevent damaging them.
This switch disables the check and makes all disks usable.

Additional debugging options:

/BP
Execute an int 3 breakpoint immediately upon parsing this switch.
/W
Causes the debug buffer to wrap. The default is nowrap.

/COM:<port>

Causes debug messages to be output to the specified serial port.
1=0x3f8, 2=0x2f8, 0xnnnn specifies the COM port base address.

/BAUD:<baud>

Sets the serial Port to the specified speed. Only valid if /COM is specified first.

Samples

BASEDEV=USBMSD.ADD

This is the standard configuration which provides for zero floppies, zero CDs and four removables.

BASEDEV=USBMSD.ADD /CDS:1

This provides for zero floppies, one CD, and four removables.

BASEDEV=USBMSD.ADD /CDS:1 /FLOPPIES:1

This provides for one floppy, one CD, and four removables.

BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:1

This sample provides support for 8 removable USB drives and one USB Floppy Drive.

Versions

Date Version Size Comments
2022-11-26 12.14 61,400 bytes Arca Noae USB Drivers
2025-04-25 12.17 61,556 bytes Arca Noae USB Drivers

Links