Gareth Duncan wrote:

> Hi,
> 
> I'm having a problem communicating with a nokia 6210 over irda using a girbil
> dongle. I'm using a 2.4.4 kernel on a SuSE 7.2 distribution. The phone is
> recognised ok but I cannot get a response from it. I've tested it under
> Windows 98 and I can dial into my ISP fine (I have to set the speed to 9600
> to get this to work).
> 
> When I run irattach I get the following
> 
> 
>>/etc/init.d/irda start
>>
> Sep 24 20:38:18 thegimp kernel: IrDA: Registered device irda0
> Sep 24 20:38:19 thegimp irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery'
> Sep 24 20:38:20 thegimp irattach: Starting device irda0
> Sep 24 20:38:20 thegimp kernel: irlmp_register_client()
> Sep 24 20:38:20 thegimp kernel: irtty_net_open()
> Sep 24 20:38:20 thegimp kernel: irlap_change_speed(), setting speed to 9600
> Sep 24 20:38:20 thegimp irattach: executing: 'echo thegimp > 
>/proc/sys/net/irda/devname'
> 
> My irdadump shows that the phone is being found
> 
> 
>>irdadump
>>
> 20:36:08.848683 xid:cmd 19064e06 > ffffffff S=6 s=0 (14)
> 20:36:08.938683 xid:cmd 19064e06 > ffffffff S=6 s=1 (14)
> 20:36:09.028683 xid:cmd 19064e06 > ffffffff S=6 s=2 (14)
> 20:36:09.118683 xid:cmd 19064e06 > ffffffff S=6 s=3 (14)
> 20:36:09.108683 xid:rsp 19064e06 < 114b0000 S=6 s=2 Nokia 6210 hint=b125 [ PnP Modem 
>Fax Telephony IrCOMM IrOBEX ] (27)
> 20:36:09.208683 xid:cmd 19064e06 > ffffffff S=6 s=4 (14)
> 20:36:09.298683 xid:cmd 19064e06 > ffffffff S=6 s=5 (14)
> 20:36:09.388683 xid:cmd 19064e06 > ffffffff S=6 s=* thegimp hint=0400 [ Computer ] 
>(23)
> 
> 
>>cat /proc/net/irda/discovery
>>
> IrLMP: Discovery log:
> 
> nickname: Nokia 6210, hint: 0xb125, saddr: 0x19064e06, daddr: 0x114b0000
> 
> But when I run wvdial the following happens
> 
> 
>>wvdial
>>
> --> WvDial: Internet dialer version 1.41
> --> Initializing modem.
> --> Sending: ATZ
> Sep 24 20:38:33 thegimp kernel: IrCOMM protocol (Dag Brattli)
> Sep 24 20:38:33 thegimp kernel: ircomm_tty_attach_cable()
> Sep 24 20:38:33 thegimp kernel: ircomm_tty_ias_register()
> Sep 24 20:38:33 thegimp kernel: irlmp_register_client()
> Sep 24 20:38:33 thegimp kernel: irlap_change_speed(), setting speed to 115200
> Sep 24 20:38:37 thegimp kernel: IrLAP, no activity on link!


It would appear that the phone is refusing to respond to the connection 
here.  An irdadump trace of this connection setup sequence would help in 
determining exactly why.

> --> Sending: ATQ0
> --> Re-Sending: ATZ
> Sep 24 20:38:38 thegimp kernel: irlmp_state_setup() WATCHDOG_TIMEOUT!
> --> Modem not responding.
> Sep 24 20:38:46 thegimp kernel: irlap_change_speed(), setting speed to 9600
> Sep 24 20:38:46 thegimp kernel: ircomm_tty_close()
> Sep 24 20:38:46 thegimp kernel: ircomm_tty_shutdown()
> Sep 24 20:38:46 thegimp kernel: ircomm_tty_detach_cable()
> Sep 24 20:38:46 thegimp kernel: ircomm_close()
> 
> I think the modules that I need are all loaded
> 
> 
>>lsmod
>>
> Module                  Size  Used by
> ircomm-tty             31568   0  (autoclean)
> ircomm                 14304   0  (autoclean) [ircomm-tty]
> af_packet              11584   0  (autoclean)
> irtty                   7568   2  (autoclean)
> irda                  146224   1  (autoclean) [ircomm-tty ircomm irtty]
> 
> [snip]
> 
> I'm setting the speed in wvdial to 9600 so why does this happen?


The speed you set on the IrCOMM device (9600) is independent of the 
speed the IrDA interface uses (115200).  The IrCOMM speed is really only 
for the guy at the other end of the IrDA channel to use to setup a DTE 
device.  So, data between the Linux box and phone will be sent at 
115200, even though the modem in the phone will only operate at 9600 baud.

 
> Sep 24 20:38:33 thegimp kernel: irlap_change_speed(), setting speed to 115200
> 
> Can anyone see where the problem is?
> 
> Thanks,
> 
> Gareth.
> _______________________________________________
> Linux-IrDA mailing list  -  [EMAIL PROTECTED]
> http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda
> 


-- 
Casey Carter
[EMAIL PROTECTED]
[EMAIL PROTECTED]
AIM: cartec69

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

Reply via email to