Streszczenie treści zawartej na stronie nr. 1
Linux ACP Modem (Mwave) mini−HOWTO
Mike Sullivan
sullivam@us.ibm.com
Paul Schroeder
paulsch@us.ibm.com
Joy Yokley − Edited document and coverted to DocBook v4.1 (SGML).
2001−01−12
Revision History
Revision .11 2002−07−18 Revised by: PBS
Revision .10 2001−07−18 Revised by: PBS
Revision .09 2001−05−21 Revised by: PBS
Revision .08 2001−05−09 Revised by: JEY
Revision .07 2001−04−30 Revised by: JEY
This document describes how to build, setup, and use the driver and user space application necessary fo
Streszczenie treści zawartej na stronie nr. 2
Linux ACP Modem (Mwave) mini−HOWTO Table of Contents 1. General Information and Hardware Requirements....................................................................................1 1.1. Introduction.......................................................................................................................................1 1.2. Credits...............................................................................................................................................1 1.
Streszczenie treści zawartej na stronie nr. 3
1. General Information and Hardware Requirements 1.1. Introduction The ACP Modem for Linux is a software based modem. Support software for the ACP modem is composed of a loadable kernel module and a user level application. Together these components support direct connection to public switched telephone networks (PSTNs) and support selected countries world wide. Refer to Section 6 of this document for the supported country list. The modem also supports the standard communications port inte
Streszczenie treści zawartej na stronie nr. 4
Linux ACP Modem (Mwave) mini−HOWTO 1.6. Which Systems are Supported This version of the ACP Modem driver supports the IBM Thinkpad" 600E, 600, and 770 that include on−board ACP modem hardware. 1.7. Features of the Modem The ACP Modem provides the following features: • Standard asynchronous COM port interface (NS16550A UART compatible) operation • Bell−103/212A, CCITT−V.21/V.22,V.22bis protocols with data from 300 to 2400 bps • CCITT−V.32 protocols with data rates of 4800, 9600 uncoded, and
Streszczenie treści zawartej na stronie nr. 5
2. Compilation, Installation, and Startup 2.1. Prerequisites • A 2.2.16 series (or later) Linux kernel source tree • An appropriate set of module utilities • gcc version 2.7.x or later If you are building the ACP Modem driver along with the user space application, you need to have a complete Linux source tree for your kernel, not just an up−to−date kernel image. 2.2. Building and Installing Source 1. Use tar xzvf mwavem−yyyymmdd.tar.gz to unpack the distribution. 2. Change directories with
Streszczenie treści zawartej na stronie nr. 6
Linux ACP Modem (Mwave) mini−HOWTO Country information (including access codes) are listed in the mwavem.conf file. For example, for France the following section is present: [Telephony\Country List\33] CountryCode=00000021 Name=France SameAreaRule=0FG LongDistanceRule=0FG InternationsalRule=00EFG To set France to be your configured country in the [WORLDTRADE] section of mwavem.conf, set Country=33 2.4. Runtime An initialization script has been provided which may be used to to start, stop, or
Streszczenie treści zawartej na stronie nr. 7
Linux ACP Modem (Mwave) mini−HOWTO The following arguments are not persistent from boot to boot (i.e. We are not saving them in the BIOS). • mwave_3780i_irq=5/7/10/11/15 This parameter allows you to configure the IRQ used by the DSP if the DSP IRQ was not set and stored in BIOS by the Thinkpad" configuration utility. • mwave_3780i_io=0x130/0x350/0x0070/0xDB0 This parameter allows you to configure the I/O range used by the DSP if the DSP I/O range was not set and stored in the BIOS by the Th
Streszczenie treści zawartej na stronie nr. 8
Linux ACP Modem (Mwave) mini−HOWTO during the build process. 2. Setup the serial driver to recognize the UART provided by the ACP driver. setserial /dev/ttyS0 autoconfig NOTE Substitute /dev/ttyS0 to match the serial port you have configured the DSP to use. NOTE You may wish to create a symbolic link from your modem device to your serial device for convenience. Example: ln −s /dev/ttyS0 /dev/modem The ACP Modem is now available for use by your favorite dialing application. 2.4.2. Running AC
Streszczenie treści zawartej na stronie nr. 9
3. Resolving Installation and Configuration Problems The following sections list solutions to possible problems you may experience. 3.1. DSP Does Not Start In order to recognize memory above 64 Meg, it may be necessary to append the "mem=" option to the kernel command line. If you are using LILO for your boot loader, you would do this in the lilo.conf file. For example, if you had a machine with 128 Meg you would type: append="mem=130496K" NOTE Your statement must reflect 576K less than you ac
Streszczenie treści zawartej na stronie nr. 10
Linux ACP Modem (Mwave) mini−HOWTO IRQ 4, I/O address 0x3f8 (if using ttyS0) For dual boot systems we recommeded that you use the Thinkpad" Configuration Utility on Windows NT or DOS to configure these system resources. Windows NT Thinkpad Configuration Utility Notes: (Under the Internal Modem −−> Advanced selection) 1. Set IRQ sharing to disabled 2. Set 1st IRQ to your DSP IRQ (10 is recommened) 3. Set 2nd IRQ to your UART IRQ (i.e. ttyS1 is equivalent to
Streszczenie treści zawartej na stronie nr. 11
Linux ACP Modem (Mwave) mini−HOWTO setserial /dev/ttySx The above command should return the following for serial port 1: /dev/ttyS1, UART: 16550A, Port: 0x2f8, IRQ: 3 The port and IRQ numbers should match the information placed in the syslog by the ACP module when it was loaded: kernel: Mwave Modem, UART settings IRQ 0x3 IO 0x2f8 If the information returned by setserial indicates that the UART is 'unknown' or if the IRQ and I/O resources do not match what you have in the syslog, you will need
Streszczenie treści zawartej na stronie nr. 12
4. Debugging Tips 4.1. Error Logs Errors encountered by the ACP Modem device driver or application are logged using the syslog utility. 4.2. Tracing The ACP device driver supports a debug argument to enable the generation of trace information. The command for this debug is listed below. You can also access several of the variables listed below in the mwaved script. insmod mwave mwave_debug=0x0f Where the following debug trace information is selectable: 0x01 ACP Modem Device driver entry
Streszczenie treści zawartej na stronie nr. 13
Linux ACP Modem (Mwave) mini−HOWTO MWMPW32_TRACE=1 MWMUTIL_TRACE=1 MWWTT32_TRACE=1 Trace information is logged using the syslog utility. 4. Debugging Tips 11
Streszczenie treści zawartej na stronie nr. 14
5. Test Claims This driver has been tested using the ThinkPad" 600E. The same chipset is integrated on the 600 and 770 models and should work. 5. Test Claims 12
Streszczenie treści zawartej na stronie nr. 15
6. List of Supported Countries The following countries are supported by the ACP Modem driver Table 1. List of Supported Countries Country Name Country Access Code ALGERIA 213 ANTIGUA_BARBUDA 102 ARGENTINA 54 ARMENIA 374 ARUBA 297 AUSTRALIA 61 AUSTRIA 43 AZERBAIJAN 994 BAHAMAS 103 BARBADOS 104 BELARUS 375 BELGIUM 32 BERMUDA 105 BOLIVIA 591 BRAZIL 55 BRUNEI 673 BULGARIA 359 CANADA 107 CAYMAN_ISLANDS 108 CHILE 38 COLOMBIA 57 COSTA_RICA 506 CUBA 53 CYPRUS 357 CZECHREPUBLIC 420 DENMARK 45 ECUADOR 593
Streszczenie treści zawartej na stronie nr. 16
Linux ACP Modem (Mwave) mini−HOWTO EL_SALVADOR 503 FINLAND 358 FRANCE 33 GERMANY 49 GREECE 30 GRENADA 111 GUATEMALA 502 GUYANA 592 HONDURAS 504 HONG_KONG 852 HUNGARY 36 INDIA 91 INDONESIA 62 IRELAND 353 ISRAEL 972 ITALY 39 JAMAICA 112 JAPAN 81 JORDAN 962 KOREA 850 KOREA_SOUTH 82 KUWAIT 965 LUXEMBOURG 352 MALAYSIA 60 MEXICO 52 NETH_ANTILLES 599 NETHERLANDS 31 NEW_ZEALAND 64 NICARAGUA 505 NORWAY 47 OMAN 968 PAKISTAN 92 PANAMA 507 PARAGUAY 595 PERU 51 6. List of Supported Countries 14
Streszczenie treści zawartej na stronie nr. 17
Linux ACP Modem (Mwave) mini−HOWTO PHILIPPINES 63 POLAND 48 PORTUGAL 351 PRC 852 ROMANIA 40 RUSSIA 7 SAUDI_ARABIA 966 SINGAPORE 65 SLOVAKIA 421 SLOVENIA 386 SOUTH_AFRICA 27 SPAIN 34 ST_KITTS_NEVIS 115 ST_LUCIA 122 ST_VINCENT 116 SURINAME 597 SWEDEN 46 SWITZERLAND 41 TAIWAN 866 THAILAND 66 TRINIDAD_TOBAGO 117 TURKEY 90 TURKS_CAICOS 118 U_K 44 UKRAINE 380 UNITED_ARAB_EMIRATES 971 URUGUAY 598 USA 1 VENEZUELA 58 VIETNAM 84 VIRGIN_IS_BRITISH 106 VIRGIN_IS_USA 123 YEMAN 967 YUGOSLAVIA 381 6. List of S
Streszczenie treści zawartej na stronie nr. 18
7. Trademarks Hayes is a trademark of Hayes Microcomputer Products, Inc. MNP (Microcom Network Protocol) is a trademark of Microcom, Inc. IBM is a trademark of International Business Machines, Inc. 7. Trademarks 16