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

MWMPW32_TRACE=1

MWMUTIL_TRACE=1

MWWTT32_TRACE=1

Trace information is logged using the syslog utility.