Adam Williamson
2008-06-03 00:28:56 UTC
Okay, so as promised, I gave synce-hal a shot :)
It seems to work great to pick up the device and start hal-dccm with
absolutely no messing about - great. synce-trayicon sees the device.
However, I seem to be stuck on partnerships.
I can't use create_partnership.py - I guess that's only for WM5/6 style
partnerships. So I use synce-matchmaker. This seems to create a
partnership fine:
[***@lenovo adamw]$ synce-matchmaker status
Current partner index: 1
Partner 1 id: 0x5c4caac8
Partner 1 name: "lenovo"
but sync-engine isn't having any of it. I run sync-engine and see:
2008-06-02 17:26:44,057 INFO engine.partnerships.Partnerships : ReadDevicePartnerships: Deleting dangling registry entry: (1, 1548528328L)
2008-06-02 17:26:44,069 DEBUG engine.partnerships.Partnerships : AttemptToBind: No valid host bindings found for any device partnership
2008-06-02 17:26:44,070 DEBUG engine.partnerships.Partnerships : AttemptToBind: setting current partnership to None
2008-06-02 17:26:44,074 DEBUG engine.syncengine.kernel : OnConnect: No valid partnership bindings are available, please create one (org.synce.SyncEngine.Error.NoBoundPartnership: )
2008-06-02 17:26:44,075 DEBUG syncengine : installing signal handlers
and now my partnership's disappeared! :
[***@lenovo adamw]$ synce-matchmaker status
Current partner index: 0
What's going on here, then?
I haven't verified that it'd work with my WM6.1 test device yet, but I
suspect it will - I'll check that out. I'll also check if the opensync
synce plugin works with synce-hal, but I suspect it won't.
It seems to work great to pick up the device and start hal-dccm with
absolutely no messing about - great. synce-trayicon sees the device.
However, I seem to be stuck on partnerships.
I can't use create_partnership.py - I guess that's only for WM5/6 style
partnerships. So I use synce-matchmaker. This seems to create a
partnership fine:
[***@lenovo adamw]$ synce-matchmaker status
Current partner index: 1
Partner 1 id: 0x5c4caac8
Partner 1 name: "lenovo"
but sync-engine isn't having any of it. I run sync-engine and see:
2008-06-02 17:26:44,057 INFO engine.partnerships.Partnerships : ReadDevicePartnerships: Deleting dangling registry entry: (1, 1548528328L)
2008-06-02 17:26:44,069 DEBUG engine.partnerships.Partnerships : AttemptToBind: No valid host bindings found for any device partnership
2008-06-02 17:26:44,070 DEBUG engine.partnerships.Partnerships : AttemptToBind: setting current partnership to None
2008-06-02 17:26:44,074 DEBUG engine.syncengine.kernel : OnConnect: No valid partnership bindings are available, please create one (org.synce.SyncEngine.Error.NoBoundPartnership: )
2008-06-02 17:26:44,075 DEBUG syncengine : installing signal handlers
and now my partnership's disappeared! :
[***@lenovo adamw]$ synce-matchmaker status
Current partner index: 0
What's going on here, then?
I haven't verified that it'd work with my WM6.1 test device yet, but I
suspect it will - I'll check that out. I'll also check if the opensync
synce plugin works with synce-hal, but I suspect it won't.
--
adamw
adamw