Table of Contents

Name

ipmdump - Numonics IPM dump utility

Synopsis

ipmdump [ -hnsv ] [ -l len ] [ -o off ] [ -b blksize ] [ -d file ] [ -t type ] device

Description

ipmdump is a debugging utility for Numonics IPM devices. It reads a data stream from a serial device and dumps the content using several different display modes (-t). By default ipmdump runs in interactive mode and allows the user to switch between different display modes using a simple curses user interface.

ipmdump is able to write files that include the logged session in the specified display mode. ipmdump can also be used with a file that contains data generated by dd(1) .

Supported Hardware

ipmdump supports the Numonics whiteboards IPM 1000RM and IPM 2000RM.

Interactive Mode

In interactive mode ipmdump displays the input read from the device in a simple curses user interface. The following keys are available

CTRL-X

Quit

CTRL-B

Display input as Numonics IPM Blocks (See -t option, type: b).

CTRL-R

Display input as Numonics IPM raw blocks (See -t option, type: r).

CTRL-T

Display input as bits (See -t option, type: t).

CTRL-N

Sync input (See -s option).

Options

-h

Print a help screen to STDERR.

-n

Don't run in interactive mode (curses). Default is to run in interactive moce.

-s

Sync incoming blocks. This option is only useful if block size is set to 6 and the device actually is a Numonics IPM device.

-l len

Number of bytes to read from the device.

-v

Verbose output, display desynced blocks.

-o off

Start reading from device at offset. This option is only useful if device is a file or allows repositioning.

-b blksize

Read and display blocks of the given size. By default ipmdump uses blocks of 6 bytes, since Numonics IPM device use 6 byte packets.

-d file

Dump received and analysed data to a file.

-t type

Display input using the specified type where type can be

"b" Numonics IPM blocks.

Block content is interpreted as if the input was coming from a Numonics IPM device. Block size needs to be 6 bytes. The different values are extracted.

"r" Numonics IPM raw blocks.

Block content is interpreted as if the input was coming from a Numonics IPM device. Block size needs to be 6 bytes. The block is display as bits.

"t" bits

Blocks are display as bits.

"c" chars

Blocks are display as chars/bytes.

"s" shorts

Blocks are display as shorts.

"i" integers

Blocks are display as integer.

By default ipmdump display Numonics IPM blocks.

device

A serial device, e.g. /dev/ttyS0 or ouput generated by dd(1) or -d option. If "-" is used, ipmdump reads from STDIN.

See Also

XFree86(1) , XF86Config(5x) , xf86config(1) , Xserver(1) , X(7x) , ipm(4) , ipmcali(1) , ipmpanel(1) , ipmdump(1) .

Authors

Konrad Rieck <kr@roqe.org>


Table of Contents