1IRDADUMP(8)                                                        IRDADUMP(8)
2
3
4

NAME

6       irdadump - monitors the IrDA traffic on one or more links.
7

SYNOPSIS

9       irdadump  [ -b ] [ -c n ] [ -d ] [ -x ] [ -s n ] [ -t ] [ -l ] [ -v ] [
10       -i device ]
11
12

OPTIONS

14       -b dump bytes in columns
15
16       -c n set snapcols for byte printing with -b option
17
18       -d prints the time difference between  the  current  and  the  previous
19       frame
20
21       -x dump frame (bytes and ascii)
22
23       -s n set snaplen for -b and -x option
24
25       -t force TTP decoding of unknown connections
26
27       -l set line buffering on output file
28
29       -v verbose
30
31       -i device interface
32

DESCRIPTION

34       irdadump  is  a  tool  for  monitoring  the IrDA traffic on one or more
35       links. Just write "make" to compile the program. When you run the  pro‐
36       gram, you should be able to see the IrDA traffic (if any).
37
38       One  advantage  of  implementing  IrDA device drivers as network device
39       drivers is that you should be able to attach sniffers to the device (or
40       actually  the  packet  type).  That way, it is possible to use a really
41       handy utility called irdadump (instead  of  tcpdump).  This  will  make
42       debugging  MUCH  easier.  Linux-2.2 implements the BPF (Berkeley Packet
43       Filter), so its possible to filter out exactly the frames you  want  to
44       see.   You  may  use hostname to separate different machines names.  Or
45       grep to filter the output, too.
46
47       irdadump must be run as root or installed setuid root, as  it  requires
48       root privileges.
49

EXAMPLES

51       The output should look something like this:
52
53       / # ./irdadump
54       20:11:45.412199 xid:cmd 0x0015c23b > 0xffffffff S=6 s=0
55       20:11:45.492137 xid:cmd 0x0015c23b > 0xffffffff S=6 s=1
56       20:11:45.572137 xid:cmd 0x0015c23b > 0xffffffff S=6 s=2
57       20:11:45.652208 xid:cmd 0x0015c23b > 0xffffffff S=6 s=3
58       20:11:45.732137 xid:cmd 0x0015c23b > 0xffffffff S=6 s=4
59       20:11:45.812137 xid:cmd 0x0015c23b > 0xffffffff S=6 s=5
60       20:11:45.892175 xid:cmd 0x0015c23b > 0xffffffff S=6 s=255 Linux
61       20:11:45.902362 xid:rsp 0xf7be8388 < 0x0015c23b S=6 s=5 ACTiSYS IR100M
62       20:11:48.412197 xid:cmd 0x0015c23b > 0xffffffff S=6 s=0
63       20:11:48.492656 xid:cmd 0x0015c23b > 0xffffffff S=6 s=1
64       20:11:48.572177 xid:cmd 0x0015c23b > 0xffffffff S=6 s=2
65       20:11:48.652169 xid:cmd 0x0015c23b > 0xffffffff S=6 s=3
66       20:11:48.732177 xid:cmd 0x0015c23b > 0xffffffff S=6 s=4
67       20:11:48.812153 xid:cmd 0x0015c23b > 0xffffffff S=6 s=5
68       20:11:48.822371 xid:rsp 0xf7be8388 < 0x0015c23b S=6 s=4 ACTiSYS IR100M
69
70       15 packets received by filter
71       Turning on the "-d" option will make irdadump print the time difference
72       between the current and the previous frame:
73
74       / # ./irdadump -d
75       20:11:18.412475 (0982.06 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=0
76       20:11:18.492345 (0079.87 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=1
77       20:11:18.572376 (0080.03 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=2
78       20:11:18.652979 (0080.60 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=3
79       20:11:18.732354 (0079.38 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=4
80       20:11:18.755093 (0022.74 ms) xid:rsp 0xf7be8388 < 0x0015c23b S=6 s=3 ACTiSYS IR100M
81       20:11:18.812350 (0057.26 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=5
82       20:11:18.892518 (0080.17 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=255 Linux
83       20:11:21.412486 (2519.97 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=0
84       20:11:21.492395 (0079.91 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=1
85       20:11:21.572368 (0079.97 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=2
86       20:11:21.652405 (0080.04 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=3
87       20:11:21.732458 (0080.05 ms) xid:cmd 0x0015c23b > 0xffffffff S=6 s=4
88       irdadump must be run as root or installed setuid root, as  it  requires
89       root privileges.
90
91       irdadump  -d  -x  -s  256  will  check the contents of the frames. This
92       should tell us if the frames have malformed content,  or  if  the  irda
93       stack is doing something wrong.
94

DIAGNOSTICS

96       N.N.
97

BUGS

99       N.N.
100

SEE ALSO

102       irattach(8),  irdaping(8),  irdadump(8), findchip(8), irpsion5(8), mod‐
103       probe(8)
104
105       Linux/IrDA Project http://irda.sourceforge.net -*-  Linux/IrDA-Tutorial
106       http://www.hpl.hp.com/personal/Jean_Tourrilhes/IrDA/index.html      -*-
107       Infrared-HOWTO http://tuxmobil.org/howtos.html
108

AUTHOR

110       This manual page is written by Werner Heuser <wehe@tuxmobil.org>. It is
111       based  on the READMEs from irda-utils by the Linux/IrDA Project and the
112       Linux/IrDA-Tutorial.
113
115       Copyright (c) 2001 Werner Heuser
116
117       Permission is granted to copy, distribute and/or modify  this  document
118       under  the  terms of the GNU Free Documentation License (GFDL), Version
119       1.1 or any later version published by  the  Free  Software  Foundation;
120       with  no  Invariant  Sections,  no  Front-Cover Texts and no Back-Cover
121       Texts.
122
123
124
125                                 03 July 2006                      IRDADUMP(8)
Impressum