Hello,
since 2 Days I'm trying to get IrDA up and running with the Siemens S25.
I think that I'm on the right way but all the postings here and the IrDA
how-to confused me...
So here some information about my system:
Acer Travelmate 312T
SuSE 6.2
Linux 2.2.12 (nothing patched)
irdautils-0.9.4
Kernel options:
<*> IrDA subsystem support
--- IrDA protocols
< > IrLAN protocol
<*> IrCOMM protocol
< > IrLPT protocol
[*] IrDA protocol options
--- IrDA options
[*] Cache last LSAP
[ ] Fast RRs
[*] Debug information
[ ] IrLAP compression
--- SIR device drivers
<*> IrTTY (uses Linux serial driver)
<*> IrPORT (IrDA serial driver)
These are all options I've enabled.
At boottime all looks ok:
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
Linux-IrDA: IrCOMM Protocol ( revision:Tue May 18 03:11:39 1999 )
ircomm_tty: virtual tty driver for IrCOMMM ( revision:Wed May 26
00:49:11 1999 )
Then I've added this to conf.modules and created the ircomm device:
alias tty-ldisc-11 irtty
alias chae-major-60 ircomm_tty
mknod /dev/ircomm c 60 64
/etc/irda/drivers:
irattach /dev/ttyS0
I've tryed to use /dev/ttyS2 but then the irmanager returns an error.
When I
use ttyS2, then the virtual ircomm_tty is called, right? How can I find
out which
resources are used by ttyS2 Device?
When I use ttyS0 or 1, the irmanager starts successfull:
irmanager: executing: 'echo c6 > /proc/sys/net/irda/devname' (c6 is the
hostname)
irmanager: + 0.1 Fri Jul 25 11:45:26 1997 Dag Brattli
irmanager: + 0.1 Fri Jul 25 11:45:26 1997 Dag Brattli
kernel: Serial Driver version 4.27 with no serial options enabled
kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A (why ttyS00)
kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A (why ttyS01)
kernel: IrDA: Registered device irda0
irattach: Serial connection established.
So everything looks ok...only ttyS00 is a little strange...or not?
When the irmanager is started I've got a new network Device:
irda0 Link encap:IrLAP HWaddr 30:65:e3:06...
Then I start minicom on Device /dev/ircomm...
The kernel debug says:
kernel: irvtd_open():irnine0 count 1
kernel: ircomm_open_instance():
kernel: ircomm_next_state: NEXT STATE=0(IDLE), servicetype=(0)
kernel: irias_add_octseq_attrib()
kernel: irias_add_octseq_attrib: name=Parameters
kernel: irias_add_octseq_attrib: len=6
kernel: ircomm_next_state: NEXT STATE=1(DESCOVERY_WAIT), servicetype=(2)
kernel: irvtd_set_termios:
And that's it. Minicom can't iniatilize the Modem.
I've got the original Acer Windows 98 installation on the Laptop and the
IR
communication with the Telephone works well...
Why can't I use normal ttyS* for the communication with the modem ? The
<*> IrTTY Kernel options should enable this or not? /dev/ttyS0 in the
minicom
configuration does't work.
Perhaps I've to apply the patch-2.2.12-irda3. How can I do this? And
what will
change?
Greetinx, Volker
--
Volker Dierks mailto:[EMAIL PROTECTED]
mwi holding gmbh http://www.mwi-online.de
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda