Hi, all
I had tried to setup my IrDA, and was told that it can work on
Assabet(sa1110?). But I can not configure it correctly. May be some key
steps were skipped by me. I tell you about my work:
1. I reconfigure linux kernel, and enable the IrDA system, the IrDA part
configuration as following:
#
# IrDA (infrared) support
#
CONFIG_IRDA=m
CONFIG_IRLAN=m
CONFIG_IRCOMM=m
# CONFIG_IRDA_ULTRA is not set
CONFIG_IRDA_OPTIONS=y
# CONFIG_IRDA_CACHE_LAST_LSAP is not set
# CONFIG_IRDA_FAST_RR is not set
CONFIG_IRDA_DEBUG=y
#
# Infrared-port device drivers
#
CONFIG_IRTTY_SIR=m
CONFIG_IRPORT_SIR=m
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
# CONFIG_TOSHIBA_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
CONFIG_SA1100_FIR=m
CONFIG_DONGLE=y
# CONFIG_ESI_DONGLE is not set
2. I rebuild linux kernel and modules, and install modules in my RAM-disk
image. (/lib/modules/version/., you see.)
3. I download irda-utils to dynamically upload IrDA modules. And I modified
some script file, I do not know if I complete it. I just do what IrDA-howto
said.
Then I restart the system. I got the message in /var/log/message:
ttyS2 on SA1100 UART2 (irq 16), using IRDA
but nothing else about IrDA in it. And I can not found a /dev/ttyS2 file,
then i run mknod to create one, then I run:
irattach /dev/ttyS2 &
And some message dump such as:
"1.1 Tue Nov 9 15:30:55 1999 Dag Brattli"
and irattach EXIRTED!!, Then i run:
irmanager -d 1
And got:
sh: /proc/sys/net/irda/discovery: No such file or directory
sh: /proc/sys/net/irda/devname: No such file or directory
At this time, /var/log/message dump some like this:
Jan 1 00:02:42 Linux user.info irattach: device=/dev/ttyS2
Jan 1 00:02:42 Linux user.info irattach: SIR device
Jan 1 00:02:42 Linux user.err irattach: irattach: tty: set_disc(11): Bad
file
Jan 1 00:02:42 Linux daemon.info modprobe: can't locate module tty-ldisc-11
Jan 1 00:02:49 Linux user.info irmanager: executing: '/sbin/modprobe irda'
Jan 1 00:02:49 Linux user.info irmanager: + can't locate module irda
Jan 1 00:02:49 Linux user.info irmanager: Trying to load module irda exited
wi1Jan 1 00:02:49 Linux user.info irmanager: Setting discovery to 1 exited
with s1Jan 1 00:02:49 Linux user.info irmanager: Setting devname to Linux
exited with1Jan 1 00:02:49 Linux daemon.info modprobe: can't locate module
char-major-9
I do not know what is the file tty-ldisc-11, maybe other error thing I had
made.
I need you help. Making me setup my irda0 device driver is enough.
Thanks,
Best regards,
Ning.
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda