Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Problem with get from T610

2004-10-11
2013-05-01
  • hi forum,

    As a lot of people before me i have trouble getting pictures from my SE T610.

    My config:
    Suse Linux 9.1 (2.6.5-7.108-default)
    openobex-1.0.1
    obexftp-0.10.3
    ircp-0.3

    Sending worked without a problem but the get doesn't work. The trace:

    The list command:
    >>>
    philipp@linux:~> obexftp -l /Bilder
    No custom transport
    obexftp_cli_open()
    obexftp_cli_connect()
    Connecting...cli_sync_request()
    obexftp_sync()
    client_done()
    client_done() Found connection number: 2
    client_done() Sender identified
    obexftp_sync() OBEX_HandleInput = 31
    obexftp_sync() Done success=1
    done
    Receiving /Bilder... obexftp_list() Listing /Bilder -> (null)
    cli_sync_request()
    obexftp_sync()
    obexftp_sync() OBEX_HandleInput = 252
    obexftp_sync() OBEX_HandleInput = 504
    \obexftp_sync() OBEX_HandleInput = 507
    obexftp_sync() OBEX_HandleInput = 252
    obexftp_sync() OBEX_HandleInput = 504
    |obexftp_sync() OBEX_HandleInput = 507
    client_done()
    client_done() Found connection number: 2
    client_done() Found connection number: 2
    client_done() Found connection number: 2
    client_done() Found body (length: 1024)
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE folder-listing SYSTEM "obex-folder-listing.dtd">
    <!--
    Generated by XML Coder.
    xml_coder.c (Sep 24 2003 11:04:08)
    (C) 2001 Sony Ericsson Mobile Communications AB, Lund, Sweden
    -->
    <folder-listing version="1.0"><parent-folder/>
    <file name="Bild(1).jpg" size="36174"/>
    <file name="Paul.jpg" size="13860"/>
    <file name="Astrid.jpg" size="8169"/>
    <file name="Hintergrund.gif" size="1727"/>
    <file name="Ice.jpg" size="8568"/>
    <file name="Flower.gif" size="427"/>
    <file name="Rose.wbmp" size="134"/>
    <file name="Beer.wbmp" size="134"/>
    </folder-listing>
    client_done() Done body
    client_done() Body not written
    obexftp_sync() OBEX_HandleInput = 43
    obexftp_sync() Done success=1
    done
    obexftp_cli_disconnect()
    Disconnecting...cli_sync_request()
    obexftp_sync()
    client_done()
    obexftp_sync() OBEX_HandleInput = 3
    obexftp_sync() Done success=1
    done
    obexftp_cli_close()
    <<<

    and than the get:
    >>>
    philipp@linux:~> obexftp -c Bilder -g Ice.jpg
    No custom transport
    obexftp_cli_open()
    obexftp_cli_connect()
    Connecting...cli_sync_request()
    obexftp_sync()
    client_done()
    client_done() Found connection number: 3
    client_done() Sender identified
    obexftp_sync() OBEX_HandleInput = 31
    obexftp_sync() Done success=1
    done
    Sending Bilder... obexftp_setpath() Changing to Bilder
    Sending Bilder... cli_sync_request()
    obexftp_sync()
    client_done()
    obexftp_sync() OBEX_HandleInput = 3
    obexftp_sync() Done success=0
    failed: Bilder
    Receiving Ice.jpg... obexftp_get() Getting Ice.jpg -> Ice.jpg
    cli_sync_request()
    obexftp_sync()
    client_done()
    obexftp_sync() OBEX_HandleInput = 3
    obexftp_sync() Done success=0
    failed: Ice.jpg
    obexftp_cli_disconnect()
    Disconnecting...cli_sync_request()
    obexftp_sync()
    client_done()
    obexftp_sync() OBEX_HandleInput = 3
    obexftp_sync() Done success=1
    done
    obexftp_cli_close()
    <<<

    The changeDir always fails.

     
    • Update: Sorry used old obexftp package, now I have obexftp-0.10.4, but now I can't connect?

      >>>
      philipp@philipp@linux:~> ps ax | grep irattach
      6041 ?        S      0:00 /usr/sbin/irattach /dev/ttyS1 -s
      27973 pts/1    S+     0:00 grep irattach
      <<<

      List command:
      >>>
      philipp@linux:~> obexftp -i -l /
      No custom transport
      obexftp_cli_open()
      obexftp_cli_connect()
      Connecting...obexftp_cli_connect() IR -1
      obexftp_cli_connect() TC -1
      failed: connect
      Still trying to connect
      obexftp_cli_connect()
      Connecting...obexftp_cli_connect() IR -1
      obexftp_cli_connect() TC -1
      failed: connect
      Still trying to connect
      obexftp_cli_connect()
      Connecting...obexftp_cli_connect() IR -1
      obexftp_cli_connect() TC -1
      failed: connect
      Still trying to connect
      No custom transport
      obexftp_cli_open()
      obexftp_cli_connect()
      Connecting...obexftp_cli_connect() IR -1
      obexftp_cli_connect() TC -1
      failed: connect
      Still trying to connect
      obexftp_cli_connect()
      Connecting...obexftp_cli_connect() IR -1
      obexftp_cli_connect() TC -1
      failed: connect
      Still trying to connect
      obexftp_cli_connect()
      Connecting...obexftp_cli_connect() IR -1
      obexftp_cli_connect() TC -1
      <<<

      Please help :)

       
    • Speed_D
      Speed_D
      2004-10-19

      I had the same problem connecting with my T610 using that build of obexftp.  Here's what I did to fix it:

      cat /proc/sys/net/irda/max_tx_data_size

      ... mine was 2042 I think.

      go look at the source for obexftp.  Find obexftp.h and look in there for:

      #define STREAM_CHUNK 4096

      change that to something smaller.  I tried 1024.  make clean then make.  Worked like a charm.

      - S

       
    • Speed_D
      Speed_D
      2004-10-19

      One more thing: if you tried it with the default STREAM_CHUNK setting, you could very well knock out your IrDA connection as it overflows the connection to the phone.  So turn on your phone's infrared, then run irdadump and see if your phone shows up.  You should see lines in there containing this:

      T610 series hint=9124 [ PnP Modem IrCOMM IrOBEX ]

      If you don't, then cycle power on your phone and restart your IrDA service (or reboot).  Then try obexftp again using the build with the smaller STREAM_CHUNK size.