
		    IBM ICOM Serial Device Driver
			    Release Notes

		Michael Anderson (mjanders@us.ibm.com)

			     12 Jun 2003


This note describes how to set the internal modem country code for an IBM
icom serial device driver adapter.

If the icom serial device driver adapter you are using contains an internal 
modem you may need to configure your modem for your country.  You can use 
the proc file data provided by the icom driver to determine whether an 
internal modem is present.  Simply "cat /proc/tty/driver/icom" and analyze 
its output.  If the cable field in the icom proc file output indicates an 
"InternalModem" type (1) then that port contains an internal modem and may 
need to have its country code set.  Using a serial console, you will need 
to issue an AT commands to determine the current country code setting.  
The major and minor number of the port containing the internal modem can 
also be obtained from icom proc file data.  Using this information you can 
determine which tty device to open with your serial console.  Once the 
serial console is opened against the proper device, issue the command 
"ATI9" to the modem.  The first set of digits returned are the encoded 
country code setting for the modem (in decimal), eg.

>ATI9
>52
>
>(.$MTS0314\\MODEM\TIA0602,TIA0578\MultiTech Systems MT5656SMI-L38)
>
>OK

In this example, the country code setting of the modem is set to "52".  
By referencing the table below you can determine if the current country 
code is set correctly.  If you find that the country code is not set 
correctly, you will need to issue another command to the modem to set 
the country code.  

The command to set a new country code is "AT%T19,0,x", where x is the 
new country code (in hex), eg. to set a new country code for Japan, 
issue the command "AT%T19,0,10".  Use "ATI9" to verify the country code 
was set correctly.

         Country        Country     Country
          Code           Code
          (hex)        (decimal)
           34             52     * AR Argentina *
           34             52     * AW Aruba *
            1              1     * AU Australia *
           34             52     * AT Austria *
           34             52     * BH Bahrain *
           34             52     * BE Belgium *
           34             52     * BR Brazil *
           34             52     * BN Brunei Darussalam *
           34             52     * CA Canada *
           34             52     * KY Cayman Islands *
           34             52     * CL Chile *
           34             52     * CN China *
           34             52     * CO Colombia *
           34             52     * CR Costa Rica *
           34             52     * HR Croatia *
           34             52     * CY Cyprus *
           25             37     * CZ Czech Republic *
           34             52     * DK Denmark *
           34             52     * EC Ecuador *
           34             52     * EG Egypt *
           34             52     * FI Finland *
           34             52     * FR France *
           34             52     * DE Germany *
           34             52     * GR Greece *
           34             52     * GT Guatemala *
           30             48     * HK China (Hong Kong S.A.R.) *
           30             48     * HU Hungary *
           34             52     * IS Iceland *
           30             48     * IN India *
           30             48     * ID Indonesia *
           34             52     * IE Ireland *
           30             48     * IL Israel *
           34             52     * IT Italy *
           34             52     * JM Jamaica *
           10             16     * JP Japan *
           34             52     * KR Korea, Republic of *
           34             52     * LU Luxembourg *
           34             52     * MO China (Macau S.A.R.) *
           30             48     * MY Malaysia *
           34             52     * MX Mexico *
           34             52     * MA Morocco *
           34             52     * NL Netherlands *
           34             52     * AN Netherlands Antilles *
            9              9     * NZ New Zealand *
           34             52     * NO Norway *
           34             52     * PK Pakistan *
           34             52     * PA Panama *
           34             52     * PE Peru *
           30             48     * PH Philippines *
           30             48     * PL Poland *
           34             52     * PT Portugal *
           34             52     * QA Qatar *
           34             52     * RO Romania *
           34             52     * RU Russia *
           34             52     * SA Saudi Arabia *
           30             48     * SG Singapore *
           34             52     * SK Slovakia *
           30             48     * SI Slovenia *
           35             53     * ZA South Africa *
           34             52     * ES Spain *
           34             52     * LK Sri Lanka *
           34             52     * SE Sweden *
           34             52     * CH Switzerland *
           34             52     * TW Taiwan *
           34             52     * TH Thailand *
           34             52     * TT Trinidad and Tobago *
           34             52     * TR Turkey *
           34             52     * UA Ukraine *
           34             52     * AE United Arab Emirates *
           34             52     * GB United Kingdom *
           34             52     * US United States of America*
           34             52     * UY Uruguay *
           34             52     * VE Venezuela *
           30             48     * VN Vietnam *


(1) The older serial adapters supported by this device driver do not indicate
    when an Internal modem is present.  If the serial adapter installed in 
    your system is a model 2771 then Port 0 is the internal modem which may 
    require country code configuration.  If the serial adapter installed in 
    your system is a model 2772 (0609/0610), then both Port 0 and Port 1 are 
    internal modems which may require country code configuration.
