Hi there,

I'm trying to get IrDA working on my new PDA, and I'm having some
difficulties getting it going.  Right now I've got the IrDA core and IrTTY
compiled into the kernel.  Here's what I typically do:
on my PC (w/ JeyEye PC dongle)
(no modules loaded)
irattach /dev/ttyS1 -d esi -s
lsmod reveals:
esi                      960   1 (autoclean)
irtty                   7408   2 (autoclean)
irda                  139920   1 (autoclean) [esi irtty]
serial                 41072   3 (autoclean)

on my PDA
irattach /dev/ttyS1 -s

/proc/net/irda/discovery on my PC shows that it has discovered my PDA, but my
PDA isn't discovering my PC.  irdaping doesn't get any response from either
side.  I can do irdadump on my PC, and actually see the pings coming in from
my PDA, and what looks like the responses being sent out, but my PDA never
sees the responses.

17:37:49.260759 test:cmd ca=0xfe pf=1 f67b2497 < 678bda33 (32) 
17:37:49.260795 test:rsp ca=0xfe pf=1 678bda33 > f67b2497 (32) 
17:37:50.270692 test:cmd ca=0xfe pf=1 f67b2497 < 678bda33 (32) 
17:37:50.270718 test:rsp ca=0xfe pf=1 678bda33 > f67b2497 (32) 

The opposite isn't true...When I ping my PDA from my PDA, I only see traffic
going one way:

17:38:36.998985 test:cmd ca=0xfe pf=1 678bda33 > f67b2497 (32) 
17:38:37.998129 test:cmd ca=0xfe pf=1 678bda33 > f67b2497 (32) 
17:38:38.998096 test:cmd ca=0xfe pf=1 678bda33 > f67b2497 (32) 

Unfortunately, I can't compile irdadump for my PDA
because a bunch of headers are missing (glib.h, packet.h, stdint.h)

The only sign I have that something is wrong is an assertion failure in
irda_device.c, irda_device_set_media_busy, ASSERT(self != NULL, return);

I've gone through the mailing list archives and it seems like maybe the order
of loading modules, calling irattach is important?  Should all the IrDA stuff
be modules on my PDA?

Right now it looks to me like my PDA isn't receiving IrDA frames properly.
Is this related to the assertion failure?

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

Reply via email to