PS2.EXE COMMAND REFERENCE
=========================

This file gives the outputs of all PS2.EXE help commands on my
ThinkPad 600.  The help output explains the command and gives
the current state of the related setting.

I give the output of "PS2.EXE ?" followed by the outputs of
"PS2.EXE ? <command>" for each command.

PS2.EXE ?
---------

ThinkPad Configuration for DOS:Version 4.22
- Utility for DOS:Version 4.22(1BU602US)

Copyright (C) IBM Corp. 1993,2001. All rights reserved.
   US Government Users Restricted Rights - Use, duplication
   or disclosure restricted by GSA ADP Schedule Contract
   with IBM Corp.

Command Syntax:  PS2   [Parameter1] [Parameter2] [Parameter3]

Following are available for [Parameter1].
For the complete command syntax, type "PS2 ? [Parameter1]".

1.Power Management related

  DEFAULT,      PMode,        SErial,       POwer,        LCd,          
  DISK,         ON,           HFILE,        Cover,        DOCK,         
  SAfe,         RI,           HTimer,       TImer,        LBattery,     
  S2H,          HSWITCH,      CDSPeed,      PCIBUSPower,  SPeed,        

2.Display device related

  SCreen,       HVEXPansion,  F8,           

3.Alarm related

  BEEP,         

4.ThinkPad Setup related

  IRQ,          DMA,          KRate,        FNSticky,     TPOint,       
  JStick,       PARallel,     SERA,         STARTup,      PRESENtation, 
  PCIIRQ,       IR,           AUdio,        MIDIport,     AUDIOCTRL,    
  IDE2,         IDE3,         IMODEM,       

5.Others

  SUSpend,      OFF,          HIBernation,  TURN,         BRightness,   
  FDD,          

                    1. "Power Management related"
                    =============================

CDSPEED
-------
Command Syntax : PS2  CDSPeed High|Normal|Silent|DEFAULT

                              DEFAULT  : Normal

Current State  : Normal

Description    : This setting is common to all power management modes.
                 High   - The CD-ROM drive runs in a performance-optimized
                          mode, operating at the highest speed as much as
                          possible.
                 Normal - Normal state(default).
                 Silent - Select this mode to reduce the noise that the CD-ROM
                          driver generates.
                          The performance will be lower because the driver will
                          not run at the highest speed as much as possible.

COVER
-----
Command Syntax : PS2  Cover   Enable|Disable
Current State  : Disable
Description    : Select 'Disable' to disable the suspend mode
                 when LCD is closed.

DISK
----
Command Syntax : PS2  DISK    MM   [AC|DC]
Current State (minutes) :
        High       power mode : 20
        Auto       power mode : 5
        Customized power mode : 3
Description    : When the internal hard disk drive (HDD) is not in use
                 for the specified number of minutes, the HDD will
                 automatically turn itself off to conserve power.
                 Valid choice is from 00 to 20 minutes. Value 00
                 disables this feature.

                 You can change the timer for Customized power mode.
                 The timer for High or Auto power mode has the fixed value.

                 MM is the number of minutes.
                 Specify AC when you change the timer for an AC operation.
                 Specify DC when you change the timer for a battery operation.
                 When you do not specify [AC|DC] option, the current power
                 source(AC or Battery) is selected.

DOCK
----
Command Syntax : PS2  DOCK    Nosuspend|Suspend
Current State  : Nosuspend
Description    : Select 'Suspend' to force the system to enter the suspend
                 mode with the docking station attached. In this case, if the
                 hibernation file is present, the system will enter the
                 hibernation mode.

                 Note: Depending on the combination of the computer and the
                       docking station, the system may not support
                       suspend/hibernation while docked. Refer to the
                       publications that come with the docking station for
                       details.

HFILE
-----
Command Syntax : PS2  HFILE  N | DELete
                      where N: drive letter (C to Z)
Current State  : C
Description    : Select the drive letter where the hibernation file is to be
                 created.

                 This file will be used to store the system memory contents
                 when the system enters the hibernation mode.
                 If you installed the memory after creating the hibernation
                 file, you'll see the sign "Small" at the Current State.
                 In this case, you need to recreate the hibernation
                 file.

                 If you have installed multiple operating systems in the
                 internal hard disk and created the hibernation file in the
                 hidden partition, you'll see the sign "Hidden" at the Current
                 State.

                 Note: Hibernation file can be created any logical drive over
                       16 MB in the internal hard disk.
                       But, make sure that the data compression system is not
                       used in the selected drive.

HSWITCH
-------
Command Syntax : PS2  HSWITCH   Enable|Disable
Current State  : Enable
Description    : Select 'Enable' to make the system enter the hibernation
                 mode by the power switch.

HTIMER
------
Command Syntax : PS2  HTimer   MM   [AC|DC]
Current State (minutes) :
        High       power mode : 0
        Auto       power mode : 0
        Customized power mode : 0
Description    : When the system is inactive for the specified number of
                 minutes, the system will automatically enter hibernation mode
                 to conserve power. Valid choice is from 00 to 60 minutes.
                 Value 00 disables this feature.

                 You can change the timer for Customized power mode.
                 The timer for High or Auto power mode has the fixed value.

                 The Fn+F12 key combination will force the system into
                 the hibernation mode.

                 MM is the number of minutes.
                 Specify AC when you change the timer for an AC operation.
                 Specify DC when you change the timer for a battery operation.
                 When you do not specify [AC|DC] option, the current power
                 source(AC or Battery) is selected.

LBATTERY
--------
Command Syntax : PS2  LBattery  Suspend|Hibernation
Current State  : Suspend
Description    : Select 'Hibernation' if you need to have the system
                 enter the hibernation mode when the battery becomes low.
                 Otherwise, system will enter the suspend mode.

LCD
---
Command Syntax : PS2  LCd     MM   [AC|DC]
Current State (minutes) :
        High       power mode : 60
        Auto       power mode : 14
        Customized power mode : 3
Description    : Set this value to the number of minutes that the display
                 remains powered on while no input is made from the keyboard,
                 pointing stick, mouse or external keypad.

                 You can change the timer for Customized power mode.
                 The timer for High or Auto power mode has the fixed value.

                 Valid choice is from 00 to 60 minutes. Value 00 disables
                 this feature.

                 MM is the number of minutes.
                 Specify AC when you change the timer for an AC operation.
                 Specify DC when you change the timer for a battery operation.
                 When you do not specify [AC|DC] option, the current power
                 source(AC or Battery) is selected.

                 Note: The attached external display will also be blanked out
                       by this timer.

ON
--
Command Syntax : PS2  ON     [[yyyy/MM/DD] HH:mm:ss|Clear]
                 where yyyy = 1980-2079, MM = 01-12,
                 DD = 01-31, HH = 00-23, mm = 00-59, ss = 00-59
Current State  : Clear
Description    : Set the time and date at which the system will resume
                 the operation from the suspend mode.

PCIBUSPOWER
-----------
Command Syntax : PS2   PCIBUSPower  Auto|Disable

Current State  : Auto
Description    : Enables or disables the power saving feature that stops
                 the PCI bus clock automatically when there are no activities.
                 Selecting Disable may result in a shorter battery life.

                 Normally it is not necessary to change this setting.
                 Do not change it unless you have an in-depth knowledge of
                 the computers and power management.

PMODE
-----
Command Syntax : PS2  PMode  High|Auto|Custom  [AC|DC]
Current State  : Auto
Description    : Use this parameter to change the power mode for the current
                 power mode source(AC or battery).

                 High      : High Performance mode
                 Auto      : Automatic mode
                 Custom    : Customized mode

                 When you specify AC or DC parameter, you can change the
                 power mode for the designated power source, regardless of
                 the current power source.

POWER
-----
Command Syntax : PS2  POwer   MM   [AC|DC]
Current State (minutes) :
        High       power mode : 60
        Auto       power mode : 15
        Customized power mode : 5
Description    : When the system remains inactive for the specified number of
                 minutes, the system will automatically enter suspend mode
                 to conserve power. Valid choice is from 00 to 60 minutes.
                 Value 00 disables this feature.

                 You can change the timer for Customized power mode.
                 The timer for High or Auto power mode has the fixed value.

                 The Fn+F4 key combination will force the system into
                 the suspend mode.

                 To return from suspend mode, close and open the LCD panel, or
                 press Fn key, or press any key on the external keyboard.

                 Pressing the power switch has no effect in turning off the
                 system during suspend mode. Two beeps will be sounded.

                 If you have a modem, an incoming call (Ring Indicator) will
                 also cause the system to return from suspend mode.
                 If you have set the power-on password, the keyboard will
                 remain locked until you enter the password.

                 MM is the number of minutes.
                 Specify AC when you change the timer for an AC operation.
                 Specify DC when you change the timer for a battery operation.
                 When you do not specify [AC|DC] option, the current power
                 source(AC or Battery) is selected.

RI
--
Command Syntax : PS2  RI  Enable|Disable
Current State  : Disable
Description    : Select 'Enable' to enable the system to resume
                 the operation on the incoming call.

S2H
---
Command Syntax : PS2  S2H       30|60|90|Disable
Current State  : Disable
Description    : The parameter will make the system enter the hibernation
                 mode at the expiry of the specified time the system remains
                 in the suspend mode.

SAFE
----
Command Syntax : PS2  SAfe    Enable|Disable
Current State  : Disable
Description    : Select 'Enable' to enable the RediSafe(safe suspend mode).
                 When you select this parameter, you also need to create
                 the hibernation file by using PS2 HFILE.
                 Select 'Disable' to make the system enter the suspend
                 mode quickly.

SERIAL
------
Command Syntax : PS2  SErial  ON|OFf
Current State  : ON
Description    : Use this parameter to turn on or off the serial port
                 on the rear.

SPEED
-----
Command Syntax : PS2  SPeed   Fixed  MAX|Medium|Slow  [AC|DC]
                              Auto       Medium|Slow  [AC|DC]
Current State  :
        High       power mode : Fixed MAX
        Auto       power mode : Fixed Slow
        Customized power mode : Fixed MAX
Description    : Select one of the processor speeds from the list:

                        1. Fixed MAX     (Highest Performance)
                        2. Auto  Medium
                        3. Auto  Slow
                        4. Fixed Medium
                        5. Fixed Slow


                 Specify AC when you change the processor speed for an AC
                 operation.
                 Specify DC when you change the processor speed for a battery
                 operation.
                 When you do not specify [AC|DC] option, the current power
                 source(AC or Battery) is selected.

TIMER
-----
Command Syntax : PS2  TImer     Suspend|Hibernation
Current State  : Suspend
Description    : Select 'Suspend' when you use 'PS2 POwer MM' command
                 for suspend.
                 Select 'Hibernation' when you use 'PS2 POwer MM' command
                 for hibernation.

                    2. "Display device related"
                    ===========================================
F8
--
Command Syntax : PS2  F8        Enable|Disable
Current State  : Enable
Description    : Select 'Enable' if you assign Fn+F8 key for screen expansion.
                 640 by 480 resolution screen will be fully displayed on the
                 SVGA LCD.

HVEXPANS
--------
Command Syntax : PS2  HVEXPansion  ON|OFf
Current State  : OFf
Description    : Select 'ON' to display 640 by 480 resolution screen on the
                 SVGA LCD.

SCREEN
------
Command Syntax : PS2  SCreen    LCD|CRT|BOTH
Current State  : BOTH
Description    : Select the type of display device(s) that you will use.

                    3. "Alarm related"
                    ==================
BEEP
----
Command Syntax : PS2   BEEP    ON|OFf     [System|Warn|Alarm|Volume|Lidclose]
Current State  :
        System  : ON 
        Warn    : ON 
        Alarm   : ON 
        Volume  : ON 
        Lidclose: OFf
Description    : Select this parameter to turn on/off the alarm indication.
                 System - This beep is to notify the event about the power
                          management:
                          * AC adapter attached/detached
                          * Power off
                          * System State Transition
                          * Invalid Fn key
                          * Invalid Function
                          * Standby/Suspend/Hibernation failure
                          * Battery low Condition (LED: Yellow or Orange)

                 Warn   - This beep is to warn you about some critical
                          condition detected in the system like:
                          * Critical Low Battery Condition
                          * Suspend to Hibernation transition
                 Alarm  - This beep is to warn you about your incorrect action.
                 Volume - The system beeps when you change the sound volume by
                          pressing the Fn+PgUp/PgDn or volume keys.
                 Lidclose -
                          This audible notification allows you to know
                          when it is safe and when it is not safe to carry or
                          move your system. It starts only when you close
                          the lid, and stops when your system enters
                          the suspend state. The sound interval is 1 second.
                          When it no longer makes a sound, you can safely move
                          your ThinkPad.

                          Note:
                               This function does not work when:
                                 - <for APM only>
                                   'lid close suspend' is disabled by
                                   'PS2 Cover Disable' command;
                                 - <for ACPI only>
                                   none is selected for lid close action;
                                 - 'system power management beep' is disabled
                                   by 'PS2 BEEP OFf System' command;
                                 - the system is muted or the system volume
                                   is 0.

                               If the system fails to enter the suspend state
                               when the lid is closed, the notification sound
                               is heard until you open the lid.

                    4. "ThinkPad Setup related"
                    ===========================
AUDIO
-----
Command Syntax : PS2  AUdio Enable|Disable
                            ADDress           530|604|E80|F40
                            IRQ               5|7|9|10|11|15
                            SBaddress         220|240|260|280
                            DMA               First DMA  (Second DMA)

                         Valid DMAs  :  0|1|3

Current State  : Enable
When "Enable" is selected, following parameters will be effective:
      ADDress  : 530
      IRQ      : 5
      SBaddress: 220
      DMA      : 0 1 
Description    : Use this parameter to set up Sound Blaster/WSS/FM.


   Note: To use audio devices(Sound Blaster/WSS/FM), assign DMA resources.

AUDIOCTR
--------
Command Syntax : PS2  AUDIOCTRL   Enable|Disable
                                  ADDress           538|D38|E88|FF0
Current State  : Enable
When "Enable" is selected, following parameters will be effective:
      ADDress  : 538
Description    : Use this parameter to set up Audio Control Port.

   Note: Audio Control Port is used for device setting and power management
         function of audio devices (WSS/Sound Blaster/FM/MIDI).
         When you use audio devices, it is recommended to set 'AUDIOCTRL'
         as 'Enable'.

DMA
---
Command Syntax : PS2 ? DMA
Description    : Display the current DMA assignments.
Current State  :
                System DMA Assignment

                                  DMA Channel
                                   0 1   3   5 6 7
Internal modem (0, 1, 6, or 7)   :               O            
WSS/Sound Blaster/FM (0, 1 or 3) : O O                        
IR (0, 1 or 3)                   :       X                    
Parallel (0, 1 or 3)             :       X                    

  where    O: Currently assigned,
           X: Will be assigned after "Enable" is selected.
           *: Conflict with another device.

FNSTICKY
--------
Command Syntax : PS2   FNSticky   Enable|Disable
Current State  : Disable
Description    : Select 'Enable' to enable the Fn key operation without
                 holding the Fn-key.

IDE2
----
Command Syntax : PS2  IDE2  Enable|Disable  Ultrabay|Dock
Current State  : Enable Ultrabay
Description    : Select 'Enable' to enable the second IDE devices such as
                 a CD-ROM drive or a second hard disk drive in the device bay
                 ('Ultrabay' parameter) or the docking station ('Dock'
                 parameter).
                 If the second IDE device in the device bay is enabled,
                 hot/warm swapping of the device bay IDE devices will be
                 enabled.
                 (You cannot plug in or pull out a HDD during operation.)

                 Note: The term 'device bay' is the generic name of
                       the ThinkPad computer bay, such as an UltraBay or
                       an UltraslimBay, which can accept such devices as
                       a CD-ROM drive or a DVD drive.
                       See the user's manual of your computer for
                       the actual name of your bay.

                       Some ThinkPad models support both 'hot swapping' and
                       'warm swapping' of the IDE devices, while others support
                       only the latter. It may also depend on your operating
                       system.
                       See the user's manual of your computer for the details.

IDE3
----
Command Syntax : PS2  IDE3  Enable|Disable
                            IRQ         10|11
                            ADDress     168|1E0|1E8

Current State  : Disable
      IRQ      : 11
      ADDress  : 1E8
Description    : Select 'Enable' to enable the third IDE devices such as
                 a CD-ROM drive or a hard disk drive in the docking station.
                 You can then connect another IDE device in the device bay
                 to the second channel, enabling hot/warm-swapping of
                 IDE devices in the device bay other than the HDD.
                 You can specify one of the following combinations of hardware
                 resource assignment.
                 IRQ10  ADDress 168
                 IRQ11  ADDress 1E0
                 IRQ11  ADDress 1E8

                 Note: The term 'device bay' is the generic name of
                       the ThinkPad computer bay, such as an UltraBay or
                       an UltraslimBay, which can accept such devices as
                       a CD-ROM drive or a DVD drive.
                       See the user's manual of your computer for
                       the actual name of your bay.

                       Some ThinkPad models support both 'hot swapping' and
                       'warm swapping' of the IDE devices, while others support
                       only the latter. It may also depend on your operating
                       system.
                       See the user's manual of your computer for the details.

IMODEM
------
Command Syntax : PS2   IMODEM   Enable|Disable
                                IRQ             First IRQ   (Second IRQ)
                                DSPADDress      130|350|770|DB0
                                IMODEMADDress   2E8|2F8|3E8|3F8
                                DMA             0|1|6|7

                                Valid First IRQs   :  3|4|5|7|10|11|15
                                Valid Second IRQs  :  3|4|Share

Current State      : Enable
When "Enable" is selected, following parameters will be effective:
     IRQ           : 10 3
     DSPADDress    : 130
     IMODEMADDress : 2F8
     DMA           : 7

Description    : Use this parameter to set up the telephony function.
                 The IRQ sharing function may not be supported,
                 depending on your operating system.
                 Refer to your manual for details.

IR
--
Command Syntax : PS2   IR       Enable|Disable
                                ADDress           1|2|3|4
                                DMA               0|1|3|Disable
Current State  : Disable
When "Enable" is selected, following parameter will be effective:
     ADDress   : 1
     DMA       : 3
Description    : Use this parameter to set up the IR port.

                 As for "ADDress",
                 1 : COM1 (3F8h, IRQ4)
                 2 : COM2 (2F8h, IRQ3)
                 3 : COM3 (3E8h, IRQ4)
                 4 : COM4 (2E8h, IRQ3)

                 To use IR High-Speed mode, assign any DMA channel
                 for this device.

IRQ
---
Command Syntax : PS2 ? IRQ
Description    : Display the current IRQ assignments.
Current State  :
                        System IRQ Assignment

                                            IRQ Level
                                            3 4 5   7 9 10 11 15
Serial-A (3 or 4)                   :         O                  
Parallel (5 or 7)                   :               O            
Internal Modem First IRQ            :                    O       
     (3, 4, 5, 7, 10, 11, or 15)
Internal Modem Second IRQ (3 or 4)  :       O                    
WSS/Sound Blaster/FM                :           O                
     (5, 7, 9, 10, 11 or 15)
MIDI port (5, 7, 9, 10, 11 or 15)   :                 X          
IR (3 or 4)                         :         X                  
Second IDE (System)                 :                          O 
Second IDE (Docking station)        :                          X 
Third IDE                           :                       X    
PCI IRQ                             :                       O    

  where    O: Currently assigned,
           X: Will be assigned after "Enable" is selected.

JSTICK
------
Command Syntax : PS2   JStick   Enable|Disable
Current State  : Enable
Description    : This option is for enabling or disabling the joystick port
                 located on the back of the system.

KRATE
-----
Command Syntax : PS2   KRate  Normal|Fast
Current State  : Normal
Description    : Select keyboard typematic rate.
midiport

Command Syntax : PS2  MIDIport  Enable|Disable
                                ADDress           300|310|320|330
                                IRQ               5|7|9|10|11|15
Current State  : Disable
When "Enable" is selected, following parameter will be effective:
     ADDress   : 330
     IRQ       : 9
Description    : Use this parameter to set up the MIDI function.

PARALLEL
--------
Command Syntax : PS2   PARallel   Enable|Disable
                                  ADDress           1|2|3
                                  MOde              Uni|Bi|EPP|ECP
                                  DMA               Disable|0|1|3
                                  IRQ               Enable|Disable
Current State  : Enable
When "Enable" is selected, following parameters will be effective:
     ADDress   : 1
     MOde      : Bi
     DMA       : Disable
     IRQ       : Enable
Description    : Use this parameter to set up the parallel port.

                 As for "ADDress",
                 1 : LPT1 (3BCh, IRQ7)
                 2 : LPT2 (378h, IRQ7)
                 3 : LPT3 (278h, IRQ5)

                 As for "MOde",
                 Uni : Uni-directional
                 Bi  : Bi-directional
                 EPP : Enhanced Parallel Port (Bi-directional)
                 ECP : Extended Capabilities Port (Bi-directional)

PCIIRQ
------
Command Syntax : PS2   PCIIRQ  Disable
                               First IRQ (Second IRQ) (Third IRQ) (Fourth IRQ)

                       Valid IRQs  :  3|4|5|7|9|10|11|15

Assigned IRQ(s) :  11 

Description    : This command is to reserve the IRQ(s) for PCI devices.
                 When 'Disable' is specified, PCI device may not work
                 properly. To see the current system IRQ assignment,
                 type "PS2 ? IRQ".

PRESENTA
--------
Command Syntax : PS2  PRESENtation  Enable|Disable
Current State  : Disable
Description    : This command enables or disables the presentation mode so
                 that screen will not be turned off automatically.
                 When enabled, screen off timer, standby timer, and suspend
                 timer value are ignored until this mode is disabled.
                 When disabled, original values of this timers are restored.

SERA
----
Command Syntax : PS2   SERA       Enable|Disable
                                  ADDress           1|2|3|4
Current State  : Enable
When "Enable" is selected, following parameter will be effective:
     ADDress   : 1
Description    : Use this parameter to set up the serial-A port.

                 As for "ADDress",
                 1 : COM1 (3F8h, IRQ4)
                 2 : COM2 (2F8h, IRQ3)
                 3 : COM3 (3E8h, IRQ4)
                 4 : COM4 (2E8h, IRQ3)

STARTUP
-------
Command Syntax : PS2  STARTup  Enable|Disable
Current State  : Enable
Description    : Select 'Enable' to display the STARTup screen.

TPOINT
------
Command Syntax : PS2   TPOint     Enable|Disable|AUTODisable
Current State  : Enable
Description    : Select 'Enable' to use TrackPoint.
                 When you set AUTODisable mode, the built-in TrackPoint will
                 be automatically disabled if an external mouse is attached
                 when booting.
                 Please note however that if you disconnect the external mouse
                 during suspend or undock operation, the built-in TrackPoint
                 will not be re-enabled.

                    5. "Others"
                    ===========
BRIGHTNESS
----------
Command Syntax : PS2   BRightness   High|Normal

Current State  : Normal
Description    : Use this parameter to set up the brightness control of LCD.
                 If you select "High", the LCD brightness will be the same
                 regardless of whether the computer is running on battery power
                 or AC operation. If system is running on the battery power,
                 it is recommended to set "Normal" for the conservation of
                 a battery power.

FDD
---
Command Syntax : PS2   FDD    Internal|External
Current State  : Internal
Description    : Use this parameter to enable the internal or external
                 diskette drive (FDD) when it's attached during suspend mode.
                 'Internal' indicates that the FDD in the diskette
                 drive compartment is enabled as A: drive.

HIBERNAT
--------
Command Syntax : PS2   HIBernation
Description    : Use the parameter to hibernate the system.

OFF
---
Command Syntax : PS2   OFF
Description    : Use the parameter to suspend the operation.

SUSPEND
-------
Command Syntax : PS2   SUSpend
Description    : Use the parameter to suspend the operation.

TURN
----
Command Syntax : PS2   TURN   OFF
Description    : Use the parameter to turn off the system.

