Ticket #627 (new defect)

Opened 7 years ago

Last modified 4 years ago

syncml-obex-client had an error: There are no valid USB interfaces

Reported by: stuart Owned by: dgollub
Priority: normal Milestone:
Component: Plugin: syncml Version: 0.38
Severity: normal Keywords:
Cc:

Description (last modified by felixmoeller) (diff)

I'm trying to synchronize my Nokia E65 via USB. I always get an "Unable to find sink for data" error message followed by a "There are no valid USB interfaces". msynctool then hangs and I have to kill it with control-C.

I'm using Debian unstable and compiled from source.

I have put the Nokia's USB connection into "PC Suite" mode with the command "Menu->Connect.->Data cbl.".

:; msynctool --version[[BR]]
This is msynctool version "0.34"[[BR]]
using OpenSync version "0.34"[[BR]]
:; msynctool --discover NokiaE65[[BR]]
memner:0 [[BR]]
Discovered Objtypes:
        contact
                Format: vcard30[[BR]]
memner:1 [[BR]]
Discovered Objtypes:[[BR]]
        data
                Format: file
        contact
                Format: vcard30[[BR]]
:; msynctool --sync  NokiaE65[[BR]]
Synchronizing group "NokiaE65" [[BR]]
The previous synchronization was unclean. Slow-syncing[[BR]]
data sink of member 1 of type syncml-obex-client had an error: Unable to find sink for data[[BR]]
Main sink of member 1 of type syncml-obex-client just connected[[BR]]
data sink of member 2 of type file-sync just connected[[BR]]
contact sink of member 2 of type file-sync just connected[[BR]]
Main sink of member 2 of type file-sync just connected[[BR]]
contact sink of member 1 of type syncml-obex-client had an error: There are no valid USB interfaces[[BR]]
:; msynctool --showgroup NokiaE65 [[BR]]
Group: NokiaE65[[BR]]
Member 1: syncml-obex-client[[BR]]
        Configuration : <?xml version="1.0"?>[[BR]]
<config>[[BR]]
  <!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected -->[[BR]]
  <bluetooth_address>00:xx:xx:xx:xx:xx</bluetooth_address>[[BR]]
  <!-- (Only for bluetooth) The bluetooth channel to use. `sdptool browse $MAC` to search for the correct channel -->[[BR]]
  <bluetooth_channel>14</bluetooth_channel>[[BR]]
  <!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. -->[[BR]]
  <interface>0</interface>[[BR]]
  <!-- The string that the plugin will use to identify itself. Some devices need a special string here. -->[[BR]]
  <identifier>PC Suite</identifier>[[BR]]
  <!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 -->[[BR]]
  <version>1</version>[[BR]]
  <!-- if the plugin should use wbxml -->[[BR]]
  <wbxml>1</wbxml>[[BR]]
  <!-- The username to use. Leave empty to not require a username -->[[BR]]
  <username></username>[[BR]]
  <!-- the password for the username -->[[BR]]
  <password></password>[[BR]]
  <!-- sets the connection type to use. 5 means obex over usb, 2 means obex over bluetooth -->[[BR]]
  <type>5</type>[[BR]]
  <!-- If wbxml is enabled, defines wether the wbxml should use string tables -->[[BR]]
  <usestringtable>0</usestringtable>[[BR]]
  <!-- Never send ADD command, but send REPLACE (not needed normally) -->[[BR]]
  <onlyreplace>0</onlyreplace>[[BR]]
 <!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! -->[[BR]]
  <onlyLocaltime>0</onlyLocaltime>[[BR]]
  <!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 -->[[BR]]
  <recvLimit>10000</recvLimit>[[BR]]
  <maxObjSize>0</maxObjSize>[[BR]]
  <database>[[BR]]
     <name>Contacts</name>[[BR]]
     <objtype>contact</objtype>[[BR]]
     <objformat>vcard30</objformat>[[BR]]
  </database>[[BR]]
</config>[[BR]]
[[BR]]
Member 2: file-sync[[BR]]
        Configuration : <?xml version="1.0"?>[[BR]]
<config>[[BR]]
  <directory>[[BR]]
    <path>/home/stuart/etc/NokiaE65/opensync</path>[[BR]]
    <objtype>data</objtype>[[BR]]
  </directory>[[BR]]
[[BR]]
  <!-- [[BR]]
   [[BR]]
   Field objformat set the object format which should be used to store.[[BR]]
   objformat is optional - by default objformat is "file".[[BR]]
[[BR]]
  --> [[BR]]
        [[BR]]
  <directory>[[BR]]
    <path>/home/stuart/etc/NokiaE65/opensync/contact</path>[[BR]]
    <objtype>contact</objtype>[[BR]]
    <objformat>vcard30</objformat>[[BR]]
  </directory>[[BR]]
[[BR]]
  <!--[[BR]]
  <directory>[[BR]]
    <path></path>[[BR]]
    <objtype>event</objtype>[[BR]]
    <objformat>vevent20</objformat>[[BR]]
  </directory>[[BR]]
  -->[[BR]]
[[BR]]
</config>[[BR]]
[[BR]]
: root@kooka; syncml-obex-client -u [[BR]]
Found 3 USB OBEX interfaces[[BR]]
Interface 0:
        Manufacturer: Nokia
        Product: Nokia E65
        Interface description: SYNCML-SYNC[[BR]]
Interface 1:
        Manufacturer: Nokia
        Product: Nokia E65
        Interface description: PC Suite Services[[BR]]
Interface 2:
        Manufacturer: Nokia
        Product: Nokia E65
        Interface description: SYNCML-DM[[BR]]
Use '-u interface_number' to connect

Change History

comment:1 Changed 7 years ago by felixmoeller

  • Description modified (diff)

formatting the entry for better readability. ;)

comment:2 Changed 7 years ago by felixmoeller

  • Owner changed from abauer to dgollub
  • Component changed from Plugin: syncml-client to Plugin: syncml

Just learned from Daniel that syncml-client is the one based on sync4j.

comment:3 Changed 6 years ago by tuju

  • Version changed from 0.34 to 0.38

comment:4 Changed 4 years ago by sim

decoration Changed 1 year ago by admin

bathtub Changed 1 year ago by admin

solar system Changed 1 year ago by admin

stair parts Changed 1 year ago by admin

solar supply Changed 1 year ago by admin

Note: See TracTickets for help on using tickets.