Ticket #531 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

opensync dies while discovering objtypes on a Motorola V3i

Reported by: cstender Assigned to: andrewb
Priority: normal Milestone: 0.40
Component: Plugin: moto Version: 0.32
Severity: normal Keywords:
Cc: bg@suse.de

Description

I tried to sync a Motorola V3i with trunk-svn (2007-08-07). While discovering objtypes opensync dies. I attached the trace files.

Attachments

trace-files-20070807.tar (50.0 kB) - added by cstender on 08/07/07 17:23:36.

Change History

08/07/07 17:23:36 changed by cstender

  • attachment trace-files-20070807.tar added.

08/07/07 17:24:43 changed by cstender

  • version changed from 0.31 to 0.32.

08/07/07 17:27:57 changed by cstender

  • milestone set to OpenSync 0.40.

08/08/07 01:13:55 changed by andrewb

  • status changed from new to closed.
  • resolution set to fixed.

When you say "opensync dies", I guess you mean it hangs?

This is related to the change I made for ticket #505. The relevant part of the traces is:

--> AT+MODE=0
<-- AT+MODE=0
<-- OK
--> AT&F
<-- AT&F
<-- OK
--> AT+MODE=2
<-- AT+MODE=2
<-- OK
--> ATE0Q0V1
<-- +MBAN: Copyright 2000-2002 Motorola, Inc.

... it seems that on your phone the MBAN output comes after the OK from AT+MODE=2, and we never get an OK for ATE0Q0V1.

I've committed an attempt at a fix in r2431, but I'm not sure if this will work reliably or for all phones. It definitely won't work if the +MBAN ever appears before the OK. Anyway, please try that and reopen if it doesn't work.

08/08/07 09:13:01 changed by cstender

With "opensync dies" I meant it hangs. :)

I'll build new packages and try it again. Thanks Andrew.