Irda on Armada M700:
Kernel linux-2.2.14 with patch-2.2.14-irda1 and irda-utils-0.9.9.
/usr/src/linux/drivers/net/irda/smc-ircc modified:
$ diff smc-ircc.c smc-ircc.c~
65,66c65,66
< static unsigned int io[] = { 0x2e8, 0x140, 0x118, 0x240, 0x100 };
< static unsigned int io2[] = { 0x2f8, 0x3e8, 0x2e8, 0x3e8, 0x3e8 };
---
> static unsigned int io[] = { 0x2e8, 0x140, 0x118, 0x240 };
> static unsigned int io2[] = { 0x2f8, 0x3e8, 0x2e8, 0x3e8 };
109c109
< for (i=0; (io[i] < 2000) && (i < 5); i++) {
---
> for (i=0; (io[i] < 2000) && (i < 4); i++) {
Additions to /etc/conf.module:
alias tty-ldisc-11 irtty
alias char-major-161 ircomm-tty
alias irda0 smc-ircc
Devices:
crw-r--r-- 1 root root 161, 0 Mar 16 17:19 /dev/ircomm0
crw-r--r-- 1 root root 161, 1 Mar 1 10:29 /dev/ircomm1
crw-r--r-- 1 root root 161, 17 Mar 1 10:29 /dev/irlpt0
crw-r--r-- 1 root root 161, 17 Mar 1 10:29 /dev/irlpt1
Usage SIR:
# setserial /dev/ttyS2 irq 3
# irattach /dev/ttyS2 -s 1
Usage FIR:
# setserial /dev/ttyS2 uart none
# irattach irda0 -s 1
Note: It seems as if the setserial command here is not really needed,
but otherwise I have to run irattach twice.
Testing:
ppp via sh888 works over SIR and FIR (though i get a 1s ping time to a
machine at the other end of the ppp tunnel).
Printing (ah well, 'cat file.ps > /dev/irlpt0') work with SIR. I
couldn't print over FIR I just got
irlap_change_speed(), setting speed to 9600
irlap_change_speed(), setting speed to 4000000
irport_change_speed_complete()
IrLAP, no activity on link!
irlmp_state_setup() WATCHDOG_TIMEOUT!
in dmesg.
Bj�rn Sandell DCE/DFS Sysadmin The Chips Project
Chalmers University of Technology www.chips.chalmers.se
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www4.pasta.cs.UiT.No/mailman/listinfo/linux-irda