Linuxdoc Linux Questions
Click here to ask our community of linux experts!
Custom Search
Next Previous Contents

8. Appendix

8.1 PCTel Module Parameters: Country Code

The following is quoted from one of the PCTel readme files. Thus you can choose the appropriate country code by inserting the module with a parameter as:

insmod pctel.o country_code=7
(the "7" being replaced by your country code from the list below). Thanks to Jonathan Emery for pointing out the correct syntax.
Set and report country code.

This driver takes a module parameter to setup the correct country code
setting for various country's telephone networks and it also can report
back the country code been set.

Here are the two versions for country_code selection and reporting:

VERSION #1:

To set country code:
"country_sel_rep   sel   7" will sets the country code to 7.

To query the driver for the currently set country code:
"country_sel_rep   rep" returns the current country code as the exit code.

VERSION #2:

To set country code: 
"country_sel   7" to set the country code to 7.

To query the driver for the currently set country code:
"country_rep" return the current country code as the exit code.

country_code                    country_name

    1                           USA
    2                           FRANCE
    3                           GERMANY
    4                           ITALY
    5                           SWEDEN
    6                           UK
    7                           JAPAN
    8                           AUSTRALIA
    9                           SPAIN
   10                           TAIWAN
   11                           SINGAPORE
   12                           KOREA
   13                           SWITZERLAND
   14                           NORWAY
   15                           NETHERLANDS
   16                           BELGIUM
   17                           CANADA
   18                           IRELAND
   19                           PORTUGAL
   20                           POLAND
   21                           HUNGARY
   22                           FINLAND
   23                           DENMARK
   24                           AUSTRIA
   25                           S.AFRICA
   26                           CTR21 COUNTRIES
   27                           CHINA
   28                           MALAYSIA
   29                           LUXUMBURG
   30                           GREECE
   31                           ICELAND
   32                           NEW ZEALAND
   33                           BRAZIL

Next Previous Contents