View Single Post
Posts: 3 | Thanked: 1 time | Joined on May 2010
#5
An alternative, more persistent, way for me to reliably repeat my half-way-there results seems to be to load the btusb module with the reset parameter.

Test it with:
Code:
# hciconfig hci0 down
# rmmod btusb
# modprobe btusb reset=1
# hciconfig hci0 up
If this helps make it persistent with the following line in /etc/modprobe.d/options.conf or similar file:

Code:
options btusb reset=1
I have also tried to sync via USB and get the exact same behavior...

First find a SYNCML-SYNC interface:
Code:
# syncml-obex-client -u
Found 4 USB OBEX interfaces
Interface 0:
        Manufacturer: Nokia
        Product: N900 (PC-Suite Mode)
        Interface description: PC Suite Services
Interface 1:
        Manufacturer: Nokia
        Product: N900 (PC-Suite Mode)
        Interface description: SYNCML-SYNC
Interface 2:
        Manufacturer: Nokia
        Product: N900 (PC-Suite Mode)
        Interface description: PC Suite Services
Interface 3:
        Manufacturer: Nokia
        Product: N900 (PC-Suite Mode)
        Interface description: SYNCML-SYNC
Use '-u interface_number' to connect
Then try to sync via that interface (-u 1):
Code:
# syncml-obex-client -u 1 --identifier "PC Suite" --slow-sync text/x-vcard Contacts --slow-sync text/x-vcalendar Calendar --slow-sync text/plain Notes --wbxml --version 1.0 --dumpinfo
connection with device succeeded
Received an Alert for the DS Server at Calendar: Type: 200, Last 0, Next 1273577047
Slowsyncing
Received an Alert for the DS Server at Contacts: Type: 200, Last 0, Next 1273577047
Slowsyncing
Received an Alert for the DS Server at Notes: Type: 200, Last 0, Next 1273577047
Slowsyncing
Just received a new session with ID 1273577047
Received the DevInf
Session 1273577047 reported final. flushing
Received an transport error: Link Error: 0x0
Send the output below to the libsyncml developers

========================================
Man: Nokia
Mod: N900
FirmwareVersion: (null)
SoftwareVersion: 210.34.75
HardwareVersion: (null)

ReceiveLimit: 0
MaxObjSize: 0
Connection used: OBEX Client
Identifier: PC Suite

Databases:
DB Locations: Contacts
DB Type: text/x-vcard
DB Slow: 1

DB Locations: Calendar
DB Type: text/x-vcalendar
DB Slow: 1

DB Locations: Notes
DB Type: text/plain
DB Slow: 1

Bluetooth: Unknown
Wbxml: Yes
SyncML Version: 1.1
SupportsNumberofChanges: Yes
SupportsLargeObjects: Yes
For USB access you need to be root though, and obviously a cable. That is why I would prefer to sync over Bluetooth if possible.

Anyone got this working??