Hi,
i think i solved it - Although not really satisfying - To recall - The
problem was that i wanted to load the modules when i will need them and
so save power on the laptop (no irda activity, even disabled rx/tx stuff).
I would like to get all the stuff automatically initialized on open
of /dev/ircomm - I got this to work with this modules.conf parts:
alias irda0 nsc-ircc
alias char-major-161 ircomm-tty
alias tty-ldisc-11 irtty
post-install irda modprobe nsc-ircc
post-install nsc-ircc echo 1 >/proc/sys/net/irda/discovery ; ifconfig irda0 up
options nsc-ircc dongle_id=0x9
options irda irda_debug=2
Problem was that the uucico calling out that device did an open
and tried to initialize the modem of the S25 which failed (timeout
in chat script). My first guess was that packets/chars sent to
ircomm were dropped in case of no existing irda (ircomm capable) device.
When looking at the ircomm_tty stuff i dropped that idea. So the
only idea i had was that the S25 also needed some time and probably
drops frames in a certain timeframe. I solved it now by changing the
line:
post-install nsc-ircc echo 1 >/proc/sys/net/irda/discovery ; ifconfig irda0 up
to:
post-install nsc-ircc echo 1 >/proc/sys/net/irda/discovery ; ifconfig irda0 up ; sleep
5
which delays the loading of ircomm and ircomm-tty by 5 seconds
in which the irda framework is already sending out discoverys.
Now it works immediatly.
Does someone have an idea on how to debug a bit more where the actual
problem is and the chars get lost ?
Flo
--
Florian Lohoff [EMAIL PROTECTED] +49-5201-669912
Why is it called "common sense" when nobody seems to have any?
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda