background image

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 points

0x02    Systems Management API(SMAPI)

0x04    Hardware Interface (3780I)

0x08    Thinkpad Interface (tp3780i)

Trace information is logged using the syslog utility.

The ACP application supports tracing through the use  of flags configured in the [STARTUP] section of the

mwavem.conf 

file.

Mwave Manager API trace points:

MANAGER_API_TRACE=1

MANAGER_API_DATA_TRACE=1

MANAGER_CORE_TRACE=1

MANAGER_SPECIFIC_TRACE=1

MEIO Manager trace points:

MEIO_API_TRACE=1

MEIO_CORE_TRACE=1

MEIO_SPECIFIC_TRACE=1

Mwave Modem application trace points:

MWMLW32_TRACE=1

4. Debugging Tips

10

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: