Hi,
This is what I did to get Irda working on my Toshiba laptop 480 CDT.
kernel-2.4.1
irda-utils-0.9.13
RH 6.2
At the Toshiba technical support centre I found a message regarding the
COM setting for Generic IrDA. In short, I had to change from COM2 to
COM3. So I did and after that Linux recognized the serial port during
the boot.
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS02 at 0x03e8 (irq = 4) is a 16550A
(only the first one was recognized before the change).
Next I had to change /etc/sysconfig/pcmcia to exclude irq 10:
PCIC_OPTS="irq_list=3,4,5,7,9,12"
Then: setserial /dev/ttyS2 irq 10
to change the irq. (I took 10, because in Windows when changing the COM
ports I noticed interrupt request 10).
Next: /usr/sbin/irattach /dev/ttyS2 -s 1
(after creating /dev/ircomm0 and /dev/ircomm1 and putting the next lines
in /etc/modules.conf
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
).
Putting my Palm V in front of the infrared port of the laptop caused the
ircomm modules to be automatically loaded. Syncing (using Jpilot) worked
fine (after ln -s /dev/ircomm0 /dev/pilot).
Now the questions:
1) Why did I need windows to change the port setting?
2) Why can't I use irq 4 (nothing connected to ttyS0)
3) Starting /etc/rc.d/init.d/irda reports :
irattach: Sorry, dongle not supported yet!
and will not run.
but my /etc/sysconfig/irda looks like this:
IRDA=yes
DEVICE=/dev/ttyS2
#DONGLE=actisys+
DISCOVERY=yes
Somehow the irda scripts try to this:
/usr/sbin/irattach /dev/ttyS2 -d -sinstead of
/usr/sbin/irattach /dev/ttyS2 -s
4) findchip does not work. Is there a change to get FIR working as well?
loading toshoboe results in an error message:
irattach: + Hint: insmod errors can be caused by incorrect
module parameters, including invalid IO or IRQ parameters
insmod toshoboe failed
Well I hope this is useful info.
Regards,
Rob
--
_____________________________________________________________
Rob W. van Swol
National Aerospace Laboratory NLR Tel. +31 527 248252
P.O. Box 153 Fax +31 527 248210
8300 AD Emmeloord E-Mail [EMAIL PROTECTED]
The Netherlands http://www.neonet.nl/
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda