So near, but I just can't quite seem to get an IR connection between
my T20 (44u) and my Palm. I don't have any other IR devices to
test. But it seems probably a linux IRDA problem. I've read everything I
can find on the web but would appreciate any advice as to what to try
next to figure out where the problem is.
Summary:
I get as far as making the palm respond waiting for sender with irattach but
can't get any more response. Nothing logged in discovery.
Details:
irda-utils=0.9.9
pilot-link.0.9.3
modules.conf:
alias tty-ldisc-11 irtty
alias char-major-161 ircomm_tty
options nsc-ircc dongle_id=0x09
alias irda0 nsc-ircc
[Although the last two made no difference]
lsmod:
ircomm-tty 17128 0
ircomm 5924 0 [ircomm-tty]
irtty 4900 0
irda 74657 0 [ircomm-tty ircomm irtty]
The command
irattach /dev/ttyS1 -s 1
responds
1.1 Tue Nov 9 15:30:55 1999 Dag Brattli
and exits leaving irattach running as indicated by ps -ax.
/var/log/messages says:
Nov 18 17:23:38 localhost irattach: device=/dev/ttyS1
Nov 18 17:23:38 localhost irattach: SIR device
Nov 18 17:23:38 localhost kernel: IrDA: Registered device irda0
Nov 18 17:23:39 localhost irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery'
Nov 18 17:23:39 localhost irattach: SIR device (2)
Nov 18 17:23:39 localhost irattach: Starting device irda0
Nov 18 17:23:39 localhost irattach: executing: 'echo localhost >
/proc/sys/net/irda/devname'
and brings up on my Palm "waiting for sender"
But there is never a log in discovery that indicates finding the palm
it is just blank
cat /proc/net/irda/discovery:
IrLMP: Discovery log:
And the command
pilot-xfer /dev/ircomm0 -l
gives
Waiting for connection on /dev/ircomm0 (press the HotSync button now)...
but just hangs. The Palm is running Palm-OS 3.3 (upgraded Palm IIIx)
and hotsync is set to direct serial, IR to a PC/Handheld. Pressing the
hot-sync button just times out.
For what it is worth, I seem to be able to bring up the irda0 interface
with ifconfig irda0 up so that ifconfig gives
irda0 Link encap:IrLAP HWaddr 42:a2:b1:c6
UP RUNNING NOARP MTU:2048 Metric:1
RX packets:75 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:8
# setserial /dev/ttyS1
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
[/root]# ls /dev/ttyS? -l
crw-rw---- 1 root tty 4, 64 Nov 18 18:34 /dev/ttyS0
crw-rw-rw- 1 root tty 4, 65 Nov 18 18:34 /dev/ttyS1
crw-rw---- 1 root uucp 4, 66 Aug 24 05:00 /dev/ttyS2
c
Tried doing setserial /dev/ttyS1 uart none but then irattach did not succeed
it terminates immediately with /var/log/messages:
Nov 18 18:39:42 localhost irattach: device=/dev/ttyS1
Nov 18 18:39:42 localhost irattach: SIR device
Nov 18 18:39:42 localhost irattach: tcsetattr: Input/output error
Tried recompiling the kernel (2.2.16-22) with serial support as a module,
since I read somewhere that was needed. No difference.
As you can see, my wheels seem to be spinning. Thanks in advance for
any help that anyone can offer.
Ian Hutchinson.
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda