background image

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

Use tar xzvf

 mwavem−yyyymmdd.tar.gz

 to unpack the distribution. 

1. 

Change directories with cd 

mwavem−yyyymmdd

2. 

Use the ./configure command to configure the build options.  Issue ./configure −−help to view all of
the options.  The defaults are probably okay though. 

NOTE

As of mwavem−1.0.3 you must give ./configure the
−−enable−mwavedd argument in order to build the
driver with the user space application.

3. 

Use the make command to build all of the ACP Modem binaries. 

NOTE

Your gcc package should be at least at the 2.7.x level.  Check your

/usr/src/linux/Documentation/Changes

 file for  the

minimum version information.

4. 

Use make install to install the 

mwavem

 binary, 

mwavem.conf

 configuration, the extra binary

(mostly .dsp) files, and module device driver  (if you specified that it must be built) and to create the

/dev/modems/mwave

 device node. 

5. 

2.3. Setting Things Up

In the [WORLDTRADE] section of your 

mwavem.conf

 file, set the Country=  parameter to your country

access code.

NOTE

The 

mwavem.conf

 file is installed in the

/usr/local/etc

 directory unless you specified otherwise

during the build process

2. Compilation, Installation, and Startup

3

Summary of Contents for Mwave

Page 1: ...01 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...

Page 2: ...Building and Installing Source 3 2 3 Setting Things Up 3 2 4 Runtime 4 2 4 1 Loading the ACP device driver 4 2 4 2 Running ACP Modem Application 5 3 Resolving Installation and Configuration Problems...

Page 3: ...from the Windows NT version of the driver available from IBM Many thanks to Keith Frechette Charles Ball and Frank Novak for their technical and support efforts in making this project possible 1 3 Wh...

Page 4: ...MNP class 5 for up to 2x data compression V 42bis for up to 4x data compression Adaptive Rate Negotiation which provides for Fallback Fallforward as line quality deteriorates or improves Your modem co...

Page 5: ...wavem 1 0 3 you must give configure the enable mwavedd argument in order to build the driver with the user space application 3 Use the make command to build all of the ACP Modem binaries NOTE Your gcc...

Page 6: ...s which can be passed to the device driver module along with some options for the script itself can be configured by uncommenting and editing the appropriate variables at the beginning of the script T...

Page 7: ...O range was not set and stored in BIOS by the Thinkpad configuration utility The following code is an example of how to run DSP using ttyS1 resources insmod mwave mwave_3780i_irq 10 mwave_3780i_io 0x0...

Page 8: ...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 mo...

Page 9: ...n t specify any command line arguments when inserting the mwave module or it didn t work you will receive a message in the syslog similar to the one below ACP Modem UART settings IRQ 0x3 IO 0x2f8 tp37...

Page 10: ...e modem should start there and negotiate down to a connection speed based on target modem and line capabilities If the modem is unable to connect it may be having difficulty negotiating with the targe...

Page 11: ...t Before using insmod mwave check proc ioports and proc interrupts to make sure the resources you intend to claim are not already in use 3 5 PPP Errors Using 2 4 0 Version of the Kernel When upgrading...

Page 12: ...ace information is selectable 0x01 ACP Modem Device driver entry points 0x02 Systems Management API SMAPI 0x04 Hardware Interface 3780I 0x08 Thinkpad Interface tp3780i Trace information is logged usin...

Page 13: ...MWMPW32_TRACE 1 MWMUTIL_TRACE 1 MWWTT32_TRACE 1 Trace information is logged using the syslog utility Linux ACP Modem Mwave mini HOWTO 4 Debugging Tips 11...

Page 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...

Page 15: ...13 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 3...

Page 16: ...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 N...

Page 17: ...IS 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 U...

Page 18: ...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...

Reviews: