From: Jean Tourrilhes <jt@bo...> - 2003-10-29 02:22:46
Theodor Milkov wrote :
> setserial /dev/ttyS0 uart none
> modprobe irda
> modprobe nsc-ircc
> ip link set dev irda0 up
> echo "1" > /proc/sys/net/irda/discovery
Which dongle_id value do you use ?
> So far, so good - irda is working. irdadump shows:
Whould you mind reporting the irdadump during the initial
connection setup and at the point of failure ?
> And I'm actualy able to communicate with my cell phone using minicom on
> /dev/ircomm0. But after few minutes communication sudenly fails. I can
> see in system logs:
> Sep 21 23:33:02 zimage kernel: ircomm_tty_close()
Hum... I would like to see what's just before that.
> I tried to repower the phone, but this doesn't help. I tried to
> rmmod/insmod all the irda related modules, but that doesn't help either.
> I need to restart the Thinkpad to get it working for a while again.
That's uncool. If you rmmod/insmod the nsc-ircc module, the
driver reconfigure the chip, which should make it work again. Sounds
like some deeper hardware problem. Make sure that the driver report
the same hw config the second time you insert it.