chenning wrote:
> 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

You need to alias 'tty-ldisc-11' to irtty in your /etc/modules.conf (or
/etc/conf.modules if you are using older modutils).

> 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

Did you do a 'depmod -a'? Did you 'depmod -a' returns any error?

The easier way to test IrDA is to forget about auto insmod all the
modules. Just manually insmod all the modules you need:

irda.o, sa1100_ir.o, irtty.o (also ircomm.o and ircomm-tty.o if you
want to test out IrCOMM, or irlan.o if you want to test out IrLAN).

Then start the user-space utilities such as irattach and irmanager and
you should be able to use the IR properly.

Regards,
T J
_______________________________________________
Linux-IrDA mailing list  -  [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda

Reply via email to