home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 October / Chip_2000-10_cd1.bin / zkuste / SVET_OS2 / SDD702 / SDDSE702.EXE / en / readme.cfg < prev    next >
Text File  |  2000-03-23  |  6KB  |  159 lines

  1.    VIDEO CONFIGURATION A CID ENVIRONMENT
  2.   ______________________________________
  3.  
  4.   This utility will allow for you to select a
  5.   monitor, resolution and refresh rate as part
  6.   of a CID installation.
  7.  
  8.   The utility "VCFGCID.CMD" is a command file which
  9.   is called from a SDM (Software Distribution
  10.   Manager) and which takes the following parameters:
  11.  
  12.   vcfgcid /L1:<Error Log>                    - Name of error log file
  13.           /L2:<History Log>                  - Name of history log file
  14.           /RES:<HORIZONTALxVERTICALxCOLORS>  - Resolution i.e. 1024x768x256
  15.           /MON:<Monitor Index>               - Index of selected monitor in
  16.                                                "MONITOR.DIF" file (see below)
  17.           /PMI                               - Indicates that the utility should
  18.                                                regenerate the svgadata.pmi file
  19.                                                if selected monitor has greater
  20.                                                capabilities than default monitor
  21.           /RR:<Refresh Rate>                 - Desired refresh rate for selected
  22.                                                resolution
  23.  
  24.   "/L1:" and "/L2:" are optional.  You must specify at
  25.   least one of "/RES:", "/MON:" or "/RR:"
  26.  
  27.   The monitor "Index" passed as the value for parameter
  28.   "/MON:" needs to be obtained from the "monitor.dif"
  29.   file installed on the client system.  A utility has
  30.   been included "getmonid.cmd" which will search the
  31.   monitor.dif file for specified keywords and return
  32.   the index values.
  33.  
  34.   getmonid <key word> [<key word> ...] [-d <Monitor dif file>]
  35.  
  36.        where  "-d <Monitor dif file>" is optional and allows
  37.               for the specification of a an explicit "monitor.dif"
  38.               file.  If not specified than the DPATH is searched
  39.               for "monitor.dif"
  40.  
  41. e.g.
  42.  
  43.   getmonid ibm 15p -d monitor.dif
  44.  
  45.   returns:
  46.  
  47.   Index: 136 OEMString = "IBM 15PT/15XT TouchScreen Color Monitor 15 inch, IBM Corporation"
  48.   Index: 135 OEMString = "IBM 15P/15X/15XG Color Monitor 15 inch, IBM Corporation"
  49.  
  50.   Choose the index which corresponds to the monitor you wish to be
  51.   selected.
  52.  
  53.   To configure video for your system using CID, you must install
  54.   the appropriate display support and reboot. Then use the following
  55.   information to modify your LCU (LAN Configuration, Installation
  56.   and Distribution Utility) command file.
  57.  
  58.   Note:  LCU and related documentation/utilities are provided
  59.          as applets included with the IBM MPTS (Multi-Protocol
  60.          Transport Services) product which is included with
  61.          IBM Lan Server V3.0, V4.0 and OS/2 Warp server products.
  62.          Please refer to the documentation which comes with these
  63.          products for further information on LCU.
  64.  
  65.   NOTE:  The following information is meant as a guide.
  66.          Your LCU command file might be different.
  67.  
  68.   NOTE: You must have already installed and be running the appropriate display
  69.         driver.  You cannot install the display driver and run this utility in
  70.         one pass.  Simply have your cid installation install the driver and
  71.         then reboot the system before running this configuration utility.
  72.  
  73.  
  74.     /*****************************************************/
  75.     /*           LCU PRODUCT DATA SECTION                */
  76.     /*****************************************************/
  77.  
  78.                           .
  79.                           .
  80.                           .
  81.  
  82.     x.vcfgcid = 15
  83.     x.15.name='CID Videocfg'
  84.     x.15.statevar = 'CAS_' || x.15.name
  85.     x.15.instprog = bootdrive || '\os2\install\vcfgcid.cmd',
  86.                 ' /l1:' || bootdrive || '\os2\install\vcfgerr.log',
  87.                 ' /l2:' || bootdrive || '\os2\install\vcfghist.log',
  88.                 ' /res:1024x768x256',
  89.                 ' /rr:75',
  90.                 ' /pmi',
  91.                 ' /mon:135'
  92.     x.15.rspdir   = ''
  93.     x.15.default  = ''
  94.  
  95.     /*---------------------------------------------------*/
  96.     /*         NUMBER OF PROGRAMS SET UP IN THE          */
  97.     /*               PRODUCT DATA SECTION                */
  98.     /*---------------------------------------------------*/
  99.  
  100.     NUM_INSTALL_PROGS = 15
  101.  
  102.     /*****************************************************/
  103.     /*                  INSTALLATION SECTION             */
  104.     /*****************************************************/
  105.                           .
  106.                           .
  107.                           .
  108.  
  109.         when OVERALL_STATE = 3 then do
  110.           if RunInstall(x.vcfgcid) == BAD_RC then exit
  111.           Call CheckBoot
  112.         end
  113.                           .
  114.                           .
  115.                           .
  116.  
  117.  
  118.     /*****************************************************/
  119.                 END OF LCU INFORMATION TO BE ADDED
  120.     /*****************************************************/
  121.  
  122.   Following is an explanation of the line that is
  123.   executed in the LCU command file:
  124.  
  125.     C:\OS2\INSTALL\VCFGCID /l1:c:\os2\install\vcfgerr.log
  126.     /l2:c:\os2\install\vcfghist.log /res:1024x768x256
  127.     /rr:75 /pmi /mon:135
  128.  
  129.        /l1:c:\os2\install\vcfgerr.log
  130.         is the log file for any errors that may occur
  131.  
  132.        /l2:c:\os2\install\vcfghist.log
  133.         is the log file for documenting results of calls
  134.         to vcfgcid
  135.  
  136.        /res:1024x768x256
  137.         is the desired resolution/color depth.  If not supported
  138.         by the current adapter than will default to supported
  139.         resolution.
  140.  
  141.        /rr:75
  142.         set the vertical refresh rate to 75hz.  If not supported
  143.         than will default to supported resolution
  144.  
  145.        /pmi
  146.         tells utility to regenerate the svgadata.pmi file with
  147.         new monitor capabilities
  148.  
  149.        /mon:135
  150.         select monitor corresponding to index 135.  In this case
  151.         we choose "IBM 15P/15X/15XG Color Monitor 15 inch, IBM Corporation"
  152.  
  153.   NOTES:
  154.  
  155.   1.  If by selecting a new monitor a new svgadata.pmi file
  156.       is generated, the utility will cause a "reboot with
  157.       callback" and then configure resolution/refresh rate
  158.       if needed
  159.