I'm using 2.4.9 for an ARM board.

I do the following steps:

insmod ./irda.o
insmod ./sa1100_ir.o
insmod ./ircomm.o
insmod ./irtty.o
insmod ./ircomm-tty.o
echo 1 > /proc/sys/net/irda/discovery
echo 9 > /proc/sys/net/irda/debug
irattach irda0

This seems to get things 'going', but it fails to discover other IRDA
devices.  I get the following debugging messages (I added some extra
debugging printks too...):

Where am I going wrong?  What should I try next?

Thanks

Robert Whaley


 Apr 12 05:04:08 Linux kern.debug irlmp_discovery_timer_expired()
<4>in irlmp_do_discovery
<4>lap: c8a363a0
<4>in do_discovery loop
<7>irlmp_expire_discoveries()
<4>calling do_lap_event
<4>in do_lap_event1 in do_lap_event2 in do_lap_event3
<7>irlmp_do_lap_event(), EVENT = LM_LAP_DISCOVERY_REQUEST, STATE = LAP_STANDBY, call: 
ca8a1fdc
<7>irlmp_state_standby()
<7>irlap_discovery_request(), nslots = 6
<7>irlap_do_event(), event = DISCOVERY_REQUEST, state = LAP_NDM
<7>irlap_send_discovery_xid_frame(), s=0, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:08 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:08 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=1, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:08 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:08 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=2, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:08 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:08 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=3, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:09 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:09 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=4, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:09 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:09 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=5, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:09 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:09 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=255, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_NDM
<7>irlmp_link_discovery_confirm()
<7>irlmp_add_discovery_log()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<4>in do_lap_event1 in do_lap_event2 in do_lap_event3
<7>irlmp_do_lap_event(), EVENT = LM_LAP_DISCOVERY_CONFIRM, STATE = LAP_STANDBY, call: 
ca8a1fdc
<7>irlmp_state_standby()
<7>irlmp_discovery_confirm()

Apr 12 05:04:11 Linux kern.debug irlmp_discovery_timer_expired()
<4>in irlmp_do_discovery
<4>lap: c8a363a0
<4>in do_discovery loop
<7>irlmp_expire_discoveries()
<4>calling do_lap_event
<4>in do_lap_event1 in do_lap_event2 in do_lap_event3
<7>irlmp_do_lap_event(), EVENT = LM_LAP_DISCOVERY_REQUEST, STATE = LAP_STANDBY, call: 
ca8a1fdc
<7>irlmp_state_standby()
<7>irlap_discovery_request(), nslots = 6
<7>irlap_do_event(), event = DISCOVERY_REQUEST, state = LAP_NDM
<7>irlap_send_discovery_xid_frame(), s=0, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:11 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:11 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=1, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:11 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:11 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=2, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:11 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:11 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=3, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:12 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:12 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=4, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:12 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:12 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=5, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_QUERY

Apr 12 05:04:12 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_state_query(), device is slow to answer, waiting some more!

Apr 12 05:04:12 Linux kern.debug irlap_do_event(), event = SLOT_TIMER_EXPIRED, state = 
LAP_QUERY
<7>irda_device_is_receiving()
<7>irlap_send_discovery_xid_frame(), s=255, S=6, command=1
<7>async_wrap_skb(), xbofs=12
<7>next LAP state = LAP_NDM
<7>irlmp_link_discovery_confirm()
<7>irlmp_add_discovery_log()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<7>dequeue_first()
<4>in do_lap_event1 in do_lap_event2 in do_lap_event3
<7>irlmp_do_lap_event(), EVENT = LM_LAP_DISCOVERY_CONFIRM, STATE = LAP_STANDBY, call: 
ca8a1fdc
<7>irlmp_state_standby()
<7>irlmp_discovery_confirm()

.
.
.



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

Reply via email to