Hi,
I tried hard, but until now without any success.
BTW I use a Debian 2.1 (glibc6.0) system.
I compiled the 2.2.12 kernel with the patch-2.2.12-irda3 with the
following option:. (I cannot update to the 2.2.13 due to other
circumstances.)
CONFIG_IRCOMM=m
CONFIG_IRDA_OPTIONS=y
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRTTY_SIR=m
CONFIG_IRPORT_SIR=m
CONFIG_DONGLE=y
CONFIG_ACTISYS_DONGLE=m
(from http://www.snafu.de/~wehe/IR-HOWTO-3.html)
CONFIG_SYSCTL=y
CONFIG_SERIAL=m
During the boot sequence setserial is called with "-b /dev/ttyS1 irq 3
port 0x2F8 skip_test autoconfig session_lockout".
I got and installed the irda-utils (0.9.5) package compiled for Debian
(slink) and irmanager is called during boot up. Then I found in
http://www4.pasta.cs.uit.no/pipermail/linux-irda/1999-November/000565.html
that the new 0.9.5 doesn't work with the 2.2.12 kernel. So I fetched
the irda-utils-0.9.4 package, compiled and installed it.
The install script produces the devices as follows:
mknod /dev/ircomm0 c 60 64
mknod /dev/ircommnew0 c 161 0
mknod /dev/irlpt0 c 161 10
and adds the following entries into /etc/conf.modules:
alias tty-ldisc-11 irtty
# The following is for new kernel.
alias char-major-161 ircomm-tty
# The following is for old kernel.
alias char-major-60 ircomm_tty
(I changed the last ircomm_tty to ircomm-tty.)
Now I can load everything with irmanager and /etc/irda/driver
(containing "irattach /dev/ttyS1 -d actisys+").
At the first glance everything seems to be ok:
lsmod:
ircomm-tty 15848 1 (autoclean)
ircomm 5276 0 (autoclean) [ircomm-tty]
actisys 772 1 (autoclean)
irtty 2880 2 (autoclean)
irda 63809 1 [ircomm-tty ircomm actisys irtty]
serial 20048 1 (autoclean)
cat /etc/log/syslog:
Dec 27 16:54:39 frosch irmanager: executing: 'echo frosch >
/proc/sys/net/irda/devname'
Dec 27 16:54:39 frosch irmanager: + 0.1 Fri Jul 25 11:45:26 1997 Dag Brattli
Dec 27 16:54:39 frosch irmanager: + 0.1 Fri Jul 25 11:45:26 1997 Dag Brattli
Dec 27 16:54:39 frosch irattach: Serial connection established.
Dec 27 16:54:39 frosch kernel: IrDA: Registered device irda0
Dec 27 16:54:40 frosch kernel: IrDA: Initializing ACTiSYS dongle!
but nothing in "/proc/net/irda/discovery"
head /proc/net/irda/*:
==> /proc/net/irda/discovery <==
IrLMP: Discovery log:
==> /proc/net/irda/ircomm <==
Instance 0:
==> /proc/net/irda/irda_device <==
irda0, binding: irda0 <-> ttyS1 <-> actisys
UP RUNNING SIR PIO DONGLE
bps maxtt dsize winsize addbofs mintt ldisc
9600 50 2048 7 0 5000 40
==> /proc/net/irda/irias <==
LM-IAS Objects:
name: Device, id=21314
- Attribute name: "DeviceName", value[IAS_STRING]: "Linux"
==> /proc/net/irda/irlap <==
irlap0 <-> irda0 state: LAP_NDM
caddr: 0x52, saddr: 0xc2ba13a2, 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
rx 9600 0 0 0 0 0 0
==> /proc/net/irda/irlmp <==
Unconnected LSAPs:
lsap state: LSAP_DISCONNECTED, slsap_sel: 0x0, dlsap_sel: 0xff, (IrIAS srv)
Registred Link Layers:
lap state: LAP_STANDBY, saddr: 0xc2ba13a2, daddr: 0xffffffff,
Connected LSAPs:
==> /proc/net/irda/irttp <==
I tried to connect to my Psion5 with the psion5 program from
irda-utils but without success (only timeouts). I wanted to log into
my Psion machine with getty over the IR link - without success, too.
The following caught my attention: When I stop the irmanager I get the
following entries in the syslog:
Dec 27 17:01:15 frosch irmanager: got SIGTERM or SIGINT
Dec 27 17:01:16 frosch kernel: irtty_set_dtr_rts(), error doing ioctl!
Does anybody know what I am doing wrong?? Can anybody help?
Stephan
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda