Hi, all.
I can't connect an iPAQ and notebook. The followed is my steps.
In notebook:
insmod irda
insmod nsc-ircc
irattach irda0 -s
modprobe irlan access=2
in iPAQ:
insmod irda irda_debug=5
insmod sa1100_ir
irattach irda0 -s
modprobe irlan access=2
The messages listed as followed in the /proc/net/irda in iPAQ.
(none):/proc/net/irda# cat irlap
irlap0 state: LAP_NRM_S
caddr: 0x54, saddr: 0xd9ca5178, daddr: 0xb1689671
win size: 7, win: 7, line capacity: 4800, bytes left: 4800
tx queue len: 0 win queue len: 0 rbusy: FALSE mbusy: FALSE
retrans: 0 vs: 6 vr: 7 va: 5
qos bps maxtt dsize winsize addbofs mintt ldisc comp
tx 115200 500 2048 7 0 1000 12
rx 115200 500 2048 7 0 1000 12
(none):/proc/net/irda# cat irlmp
Unconnected LSAPs:
lsap state: LSAP_DISCONNECTED, slsap_sel: 0x11, dlsap_sel: 0xff, (IrLAN data)
lsap state: LSAP_DISCONNECTED, slsap_sel: 0x0, dlsap_sel: 0xff, (IrIAS srv)
Registred Link Layers:
lap state: LAP_ACTIVE, saddr: 0xd9ca5178, daddr: 0xb1689671, refcount: 1
Connected LSAPs:
lsap state: LSAP_DATA_TRANSFER_READY, slsap_sel: 0x10, dlsap_sel: 0x11, (IrLAN ctrl (p))
(none):/proc/net/irda# cat irlan
IrLAN instances:
ifname: irlan0,
client state: IRLAN_IDLE, provider state: IRLAN_OPEN,
saddr: 0xd9ca5178, daddr: 0xffffffff
version: 0.0,
access type: UNKNOWN
media: 802.3
local filter:
remote filter:
tx busy: FALSE
The messages listed as followed in /proc/net/irda in the notebook:
[root@DChen_Linux /proc/net/irda]#cat discovery
IrLMP: Discovery log:
nickname: Linux, hint: 0x4400, saddr: 0xb1689671, daddr: 0xd9ca5178
[root@DChen_Linux /proc/net/irda]#cat irlap
irlap0 state: LAP_XMIT_P
caddr: 0x54, saddr: 0xb1689671, daddr: 0xd9ca5178
win size: 7, win: 7, line capacity: 4800, bytes left: 4800
tx queue len: 0 win queue len: 0 rbusy: FALSE mbusy: FALSE
retrans: 0 vs: 7 vr: 6 va: 6
qos bps maxtt dsize winsize addbofs mintt ldisc comp
tx 115200 500 2048 7 0 1000 12
rx 115200 500 2048 7 0 1000 12
[root@DChen_Linux /proc/net/irda]#cat irlmp
Unconnected LSAPs:
lsap state: LSAP_DISCONNECTED, slsap_sel: 0x12, dlsap_sel: 0xff, (IrLAN data)
lsap state: LSAP_DISCONNECTED, slsap_sel: 0x10, dlsap_sel: 0xff, (IrLAN ctrl (p))
lsap state: LSAP_DISCONNECTED, slsap_sel: 0x0, dlsap_sel: 0xff, (IrIAS srv)
Registred Link Layers:
lap state: LAP_ACTIVE, saddr: 0xb1689671, daddr: 0xd9ca5178, refcount: 1
Connected LSAPs:
lsap state: LSAP_DATA_TRANSFER_READY, slsap_sel: 0x11, dlsap_sel: 0x10, (IrLAN ctrl (c))
[root@DChen_Linux /proc/net/irda]#cat irlan
IrLAN instances:
ifname: irlan0,
client state: IRLAN_WAIT, provider state: IRLAN_IDLE,
saddr: 0xb1689671, daddr: 0xd9ca5178
version: 1.1,
access type: PEER
media: 802.3
local filter:
remote filter: DIRECTED MULTICAST BROADCAST
tx busy: TRUE
[root@DChen_Linux /proc/net/irda]#cat irias
LM-IAS Objects:
name: PnP, id=54082
- Attribute name: "Comp#01", value[IAS_STRING]: "PNP8389"
- Attribute name: "Manufacturer", value[IAS_STRING]: "Linux-IrDA Project"
- Attribute name: "CompCnt", value[IAS_INTEGER]: 1
- Attribute name: "DeviceID", value[IAS_STRING]: "HWP19F0"
- Attribute name: "Name", value[IAS_STRING]: "Linux"
name: Device, id=0
- Attribute name: "IrLMPSupport", value[IAS_OCT_SEQ]: octet sequence
- Attribute name: "DeviceName", value[IAS_STRING]: "DChen_Linux"
name: IrLAN, id=213556
- Attribute name: "IrDA:TinyTP:LsapSel", value[IAS_INTEGER]: 16
[root@DChen_Linux /proc/net/irda]#cat irttp
TSAP 0, stsap_sel: 12, dtsap_sel: 00
connected: FALSE, avail credit: 0, remote credit: 0, send credit: 0
tx packets: 0, rx packets: 0, tx_queue len: 0 rx_queue len: 0
tx_sdu_busy: FALSE, rx_sdu_busy: FALSE
max_seg_size: 0, tx_max_sdu_size: 0, rx_max_sdu_size: 0
Used by (IrLAN data)
TSAP 1, stsap_sel: 11, dtsap_sel: 10
connected: TRUE, avail credit: 1, remote credit: 13, send credit: 1
tx packets: 9, rx packets: 9, tx_queue len: 0 rx_queue len: 0
tx_sdu_busy: FALSE, rx_sdu_busy: FALSE
max_seg_size: 2045, tx_max_sdu_size: 1518, rx_max_sdu_size: 1518
Used by (IrLAN ctrl (c))
TSAP 2, stsap_sel: 10, dtsap_sel: 00
connected: FALSE, avail credit: 0, remote credit: 0, send credit: 0
tx packets: 0, rx packets: 0, tx_queue len: 0 rx_queue len: 0
tx_sdu_busy: FALSE, rx_sdu_busy: FALSE
max_seg_size: 0, tx_max_sdu_size: 0, rx_max_sdu_size: 0
Used by (IrLAN ctrl (p))
Who will tell me how should I do?
Thank you.
Received on Wed Oct 10 19:43:36 2001
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:44:13 EDT