I hope that somebody on this mailinglist will be able to help me, or suggest further ways of exploration.
If so, please accept my warm gratitude, and if not, please don't read
on because I think tales like the one below are commonplace.
(with CardBus support, and using /etc/pcmcia/network from RedHat, not from distribution of pcmcia-cs)
alias tty-ldisc-11 irtty
alias char-major-161 ircomm_ttyI saw that in many items of documentation it says
alias char-major-161 ircomm-ttywith a dash instead of an underscore, but doing that justs results in a module not being found. I am curious about this, though, since the dash comes up again in some mails I found on the Linux-IrDA mailing list.
crw-rw-rw- 1 root root 161, 0 Dec 7 09:32 /dev/ircomm0crw-rw-rw- 1 root root 161, 1 Dec 7 09:32 /dev/ircomm1
# irmanager -s1 -d1The system log shows
Dec 12 14:01:58 rennell irmanager: executing: '/sbin/modprobe irda'
Dec 12 14:01:59 rennell kernel: IrDA (tm) Protocols for Linux-2.2 (Dag B
rattli)
Dec 12 14:01:59 rennell irmanager: executing: 'echo 1 > /proc/sys/net/ir
da/discovery'
Dec 12 14:01:59 rennell irmanager: executing: 'echo rennell > /proc/sys/
net/irda/devname'
# irattach /dev/ircomm0Doing this shows
0.1 Fri Jul 25 11:45:26 1997 Dag Brattlibut the system log says:
Dec 12 14:04:58 rennell kernel: Linux-IrDA: IrCOMM protocol ( revision:T
ue May 18 03:11:39 1999 )
Dec 12 14:04:58 rennell kernel: ircomm_tty: virtual tty driver for IrCOM
M ( revision:Wed May 26 00:49:11 1999 )
Dec 12 14:04:58 rennell irattach: Failed to open /dev/ircomm0: No such d
evice
'dip -t' and 'minicom' all fail.
# irattach /dev/ttyS2It responds
0.1 Fri Jul 25 11:45:26 1997 Dag Brattliand syslog says
Dec 12 14:13:09 rennell irattach: Serial connection established.
Dec 12 14:13:09 rennell kernel: IrDA: Registered device irda0Aha!
# more /proc/net/irda/discoverysays
IrLMP: Discovery log:
name: SH 888, hint: 0x9104, saddr: 0xc6ec6dd0, daddr: 0x21192e89and
# irdaping 0x21192e89says
32 bytes from 0x21192e89: irda_seq=0 time=110.39 ms.
32 bytes from 0x21192e89: irda_seq=2 time=110.43 ms.
32 bytes from 0x21192e89: irda_seq=3 time=110.44 ms.
32 bytes from 0x21192e89: irda_seq=5 time=108.71 ms.
32 bytes from 0x21192e89: irda_seq=6 time=108.32 ms.
32 bytes from 0x21192e89: irda_seq=8 time=114.54 ms.
32 bytes from 0x21192e89: irda_seq=9 time=114.26 ms.
32 bytes from 0x21192e89: irda_seq=11 time=110.44 ms.
32 bytes from 0x21192e89: irda_seq=12 time=110.43 ms.
32 bytes from 0x21192e89: irda_seq=14 time=110.44 ms.
32 bytes from 0x21192e89: irda_seq=15 time=110.44 ms.A few lost packets there, but oh well.
# head *It says:
==> ircomm <==
instance 0:
unused
==> irda_device <==
irda0, binding: irda0 <-> ttyS2
UP RUNNING SIR PIO
bps maxtt dsize winsize addbofs mintt ldisc
9600 50 2048 7 0 5000 40
==> irias <==
LM-IAS Objects:
name: Device, id=21314
- Attribute name: "DeviceName", value[IAS_STRING]: "Linux"
==> irlap <==
irlap0 <-> irda0 state: LAP_NDM
caddr: 0x9c, saddr: 0xc6ec6dd0, daddr: 0x000000
win size: 0, win: 0, win bytes: 0, bytes left: 0
tx queue len: 0 win queue len: 0 rbusy: FALSE
retrans: 0 vs: 0 vr: 0 va: 0
qos bps maxtt dsize winsize addbofs mintt ldisc comp
tx 9600 0 64 0 11 0 0 0
rx 9600 0 0 0 0 0 0 0
==> irlmp <==
Unconnected LSAPs:
lsap state: LSAP_DISCONNECTED, slsap_sel: 0x0, dlsap_sel: 0xff, (IrIAS s
rv)
Registred Link Layers:
lap state: LAP_STANDBY, saddr: 0xc6ec6dd0, daddr: 0xffffffff,
Connected LSAPs:
==> irttp <==
# ifconfighas an entry:
irda0 Link encap:UNSPEC HWaddr D0-6D-EC-C6-00-00-00-D9-00-00-00-00-
00-00-00-00
UP RUNNING NOARP MTU:2048 Metric:1
RX packets:167 errors:0 dropped:0 overruns:0 frame:0
TX packets:1109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:8
# dip -t
># dip -t
DIP: Dialup IP Protocol Driver version 3.3.7o-uri (8 Feb 96)
Written by Fred N. van Kempen, MicroWalt Corporation.
DIP> port ttyS2
#It exits, and the sys log shows.
Dec 12 14:27:46 rennell dip[831]: DIP: tty: set_state: Invalid argument
# cu -l /dev/ttyS2
cu: Stale lock /var/lock/LCK..ttyS2 held by process 831 created 1999-12-
12 14:27:46
cu: open (/dev/ttyS2): Permission denied
cu: /dev/ttyS2: Line in use
#It also exits, there is nothing in sys log.
# kermit
C-Kermit 5A(190), 4 Oct 94, for Linux
Copyright (C) 1985, 1994,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
C-Kermit>set line /dev/ttyS2
C-Kermit>connect
Connecting to /dev/ttyS2, speed 9600.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
Sorry, Can't condition communication line
C-Kermit>quit
#It also exits, there is nothing in sys log.
Also funny is the output from
# lsmodIt says:
Module Size Used by
irtty 4636 2 (autoclean)
ircomm_tty 17604 0 (autoclean) (unused)
ircomm 18040 0 (autoclean) [ircomm_tty]
irda 135713 2 [irtty ircomm_tty ircomm]
nm256 64456 0 (unused)
sound 57228 0 [nm256]
soundcore 2372 6 [sound]
vmnet 11200 3
vmppuser 5216 0 (unused)
parport_pc 5620 0 [vmppuser]
parport 7124 0 [vmppuser parport_pc]
vmmon 15072 0 (unused)
nfsd 150496 8 (autoclean)
3c575_cb 18792 2
cb_enabler 2104 2 [3c575_cb]
ds 5740 2 [cb_enabler]
i82365 22640 2
pcmcia_core 39912 0 [cb_enabler ds i82365]Why is ircomm_tty unused?
If you have read up to here, maybe you can suggest what to do.
With kind regards,
-- Kris Heyrman. Ottergemsesteenweg 337, B-9000 Gent. Phone: +32.9.221.79.69 "L'an 0. On arrète tout, puis on réflechit. Et c'est pas triste."
