Menu

Anyone ever got through that IRDA stuff?

Help
2001-03-01
2002-10-01
  • Alexander Th. Kloss

    Hello, there!

    The serial line is working fine. Only IRDA connection doesn't work. ncpd gets up properly but plpftp angers about "SOCKET CONNECTION not possible" or stuff like that.

    Anyone ever tested the IRDA connection feature?

    thx for help

    LX

     
    • Fritz Elfert

      Fritz Elfert - 2001-03-02

      IRDA should work but not as reliable as a direct serial
      line. The IrCOMM implementation (at least on my
      kernel 2.2.18) sometimes doesn't set DTR/DTD
      correctly even if irdadump shows the Psion correctly
      and then ncpd doesn't connect to the Psion.
      _IF_ the initial synchronization succeded, then the
      rest of the connection is reliable - however it's much
      slower than a serial line at 115200. Don't know why.
      Regarding IrOBEX: this isn't supported by plptools. There is a small program included in irda-utils, which does
      IrOBEX with a Psion.

       
    • Lyall Pearce

      Lyall Pearce - 2002-10-01

      I am trying to get my Revo talking to Mandrake 9 using IR.
      (My serial docking bay is at work)
      irdump shows that irda is working
      =======
      07:15:14.461092 xid:cmd 8b09a261 > ffffffff S=6 s=* lyalls-pc hint=0400 [ Computer ] (25)
      07:15:14.461076 xid:rsp 8b09a261 < 2a24d18d S=6 s=5 Symbian EPOC hint=8224 [ PDA/Palmtop IrCOMM IrOBEX ] (29)
      07:15:16.921146 xid:cmd 8b09a261 > ffffffff S=6 s=0 (14)
      07:15:17.011142 xid:cmd 8b09a261 > ffffffff S=6 s=1 (14)
      07:15:17.101146 xid:cmd 8b09a261 > ffffffff S=6 s=2 (14)
      07:15:17.191145 xid:cmd 8b09a261 > ffffffff S=6 s=3 (14)
      07:15:17.281148 xid:cmd 8b09a261 > ffffffff S=6 s=4 (14)
      07:15:17.371154 xid:cmd 8b09a261 > ffffffff S=6 s=5 (14)
      07:15:17.371139 xid:rsp 8b09a261 < 2a24d18d S=6 s=4 Symbian EPOC hint=8224 [ PDA/Palmtop IrCOMM IrOBEX ] (29)
      07:15:17.461154 xid:cmd 8b09a261 > ffffffff S=6 s=* lyalls-pc hint=0400 [ Computer ] (25)
      07:15:19.921211 xid:cmd 8b09a261 > ffffffff S=6 s=0 (14)
      =====

      With FULL debugging, ncpd does not connect at all.

      Oct  1 16:37:33 lyalls-pc irattach: executing: 'echo 1 > /proc/sys/net/irda/discovery'
      Oct  1 16:37:33 lyalls-pc irattach: Starting device irda0
      Oct  1 16:37:33 lyalls-pc irattach: executing: 'echo lyalls-pc > /proc/sys/net/irda/devname'
      Oct  1 16:46:35 lyalls-pc ncpd[3228]: daemon started. Listening at 127.0.0.1:7501 using device /dev/ttyS0
      Oct  1 16:46:35 lyalls-pc ncpd[3228]: packet: < DTR:1 RTS:1 DCD:0 DSR:0 CTS:0
      Oct  1 16:46:35 lyalls-pc ncpd[3228]: packet: linkFAILED
      Oct  1 16:46:35 lyalls-pc ncpd[3228]: Link: hasFailed: 0, 1
      Oct  1 16:46:36 lyalls-pc ncpd[3232]: packet: linkFAILED
      Oct  1 16:46:36 lyalls-pc ncpd[3232]: Link: hasFailed: 1, 1
      Oct  1 16:46:36 lyalls-pc ncpd[3232]: ncp: hasFailed: 0, 1
      Oct  1 16:46:39 lyalls-pc ncpd[3231]: packet: linkFAILED
      Oct  1 16:46:39 lyalls-pc ncpd[3231]: Link: hasFailed: 1, 1
      Oct  1 16:46:41 lyalls-pc ncpd[3232]: ncp: restarting
      Oct  1 16:46:41 lyalls-pc ncpd[3232]: resetting serial connection
      Oct  1 16:46:41 lyalls-pc ncpd[3232]: serial connection set to 57600 baud, fd=5
      Oct  1 16:46:41 lyalls-pc ncpd[3232]: packet: < DTR:1 RTS:1 DCD:0 DSR:0 CTS:0
      Oct  1 16:46:41 lyalls-pc ncpd[3232]: packet: linkFAILED
      Oct  1 16:46:41 lyalls-pc ncpd[3232]: Link: hasFailed: 0, 1
      Oct  1 16:46:42 lyalls-pc ncpd[3232]: packet: linkFAILED
      Oct  1 16:46:42 lyalls-pc ncpd[3232]: Link: hasFailed: 1, 1
      Oct  1 16:46:42 lyalls-pc ncpd[3232]: ncp: hasFailed: 0, 1
      Oct  1 16:46:43 lyalls-pc ncpd[3231]: packet: linkFAILED
      Oct  1 16:46:43 lyalls-pc ncpd[3231]: Link: hasFailed: 1, 1
      Oct  1 16:46:46 lyalls-pc ncpd[3231]: packet: linkFAILED
      Oct  1 16:46:46 lyalls-pc ncpd[3231]: Link: hasFailed: 1, 1
      Oct  1 16:46:47 lyalls-pc ncpd[3232]: ncp: restarting
      ======

      Any suggestions?

      Thanks in advance

      Lyall

       

Log in to post a comment.