Ticket #531 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

opensync dies while discovering objtypes on a Motorola V3i

Reported by: cstender Owned by: andrewb
Priority: normal Milestone:
Component: Plugin: moto Version: 0.32
Severity: normal Keywords:
Cc: bg@…

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 7 years ago.

Change History

Changed 7 years ago by cstender

comment:1 Changed 7 years ago by cstender

  • Version changed from 0.31 to 0.32

comment:2 Changed 7 years ago by cstender

  • Milestone set to OpenSync 0.40

comment:3 Changed 7 years ago 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.

comment:4 Changed 7 years ago by cstender

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

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

Note: See TracTickets for help on using tickets.