Editing Bluetooth PBAP pre 0.46

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 12: Line 12:
=== PBAP ===
=== PBAP ===
-
The Bluetooth Phone Book Access Profile (PBAP) allows to exchange Phone Book objects between carkits and mobile devices. In other words, PBAP profile gives your car unit read access to your mobile phone book (to be exact: to both, the phonebook stored on SIM card and the phone book stored on internal memory. But for the N900 only second one is relevant).  
+
The Bluetooth Phone Book Access Profile (PBAP) allows to exchange Phone Book objects between carkits and mobile devices. In other words, PBAB profile gives your car unit read access to your mobile phone book (to be exact: to both, the phonebook stored on SIM card and the phone book stored on internal memory. But for the N900 only second one is relevant).  
-
Described in a more specific way, whenever a connection between your carkit and your PBAP enabled phone is established, your phone book will be transfered to your carkit automatically. What happens from now with the transfered phone book of course depends on the features of your carkit. Typical use cases are browse and dial (voice-dial if supported by carkit) your contacts and show caller names for incoming calls. With an integrated In-Car Infotainment/Phone/Navigation/Whatever system it is even possible to use the contacts addresses as target for the navigation system.
+
Described in a more specific way, whenever a connection between your carkit and your PBAB enabled phone is established, your phone book will be transfered to your carkit automatically. What happens from now with the transfered phone book of course depends on the features of your carkit. Typical use cases are browse and dial (voice-dial if supported by carkit) your contacts and show caller names for incoming calls. With an integrated In-Car Infotainment/Phone/Navigation/Whatever system it is even possible to use the contacts addresses as target for the navigation system.
By default N900 does NOT support PBAP and thus the in-car use cases described above are either not possible or require manual workarounds as the in other threads described "Petrovich workaround" (manual sending of vCards via Bluetooth) or OPP (Object Push Profile - A Bluetooth profile that enables a Bluetooth device to transfer (push) an object (e.g. contact) to another Bluetooth device).
By default N900 does NOT support PBAP and thus the in-car use cases described above are either not possible or require manual workarounds as the in other threads described "Petrovich workaround" (manual sending of vCards via Bluetooth) or OPP (Object Push Profile - A Bluetooth profile that enables a Bluetooth device to transfer (push) an object (e.g. contact) to another Bluetooth device).
Line 25: Line 25:
<div style="text-align:center;">'''NOW YOU CAN HAVE PBAB and IrMC ON YOUR N900 !!!'''</div>
<div style="text-align:center;">'''NOW YOU CAN HAVE PBAB and IrMC ON YOUR N900 !!!'''</div>
-
== Credits ==
+
=== Credits ===
Credits for the achieved so far go to those who contributed in the old thread [http://talk.maemo.org/showthread.php?t=36272 "Car kit can not access contact information"] as well as the new thread [http://talk.maemo.org/showthread.php?t=59114 Announce - Bluetooth PBAP and IrMC / Carkit support is coming to N900...]:
Credits for the achieved so far go to those who contributed in the old thread [http://talk.maemo.org/showthread.php?t=36272 "Car kit can not access contact information"] as well as the new thread [http://talk.maemo.org/showthread.php?t=59114 Announce - Bluetooth PBAP and IrMC / Carkit support is coming to N900...]:
Line 31: Line 31:
Especially the developers: drdrewusaf, tuxy, jarmo2, hschmitt, Ossman, mirakels..., but of course also all the others who helped with testing and troubleshooting!
Especially the developers: drdrewusaf, tuxy, jarmo2, hschmitt, Ossman, mirakels..., but of course also all the others who helped with testing and troubleshooting!
-
== Disclaimer ==
+
=== Disclaimer ===
<font color=red>'''!!! CAUTION !!!'''
<font color=red>'''!!! CAUTION !!!'''
Line 52: Line 52:
(Note: Carkits older than 2007 probably do NOT support PBAP)
(Note: Carkits older than 2007 probably do NOT support PBAP)
-
== Current Project Status: ==
+
=== Current Project Status: ===
-
===''' Supported Carkits '''===
+
'''--- Successful phonebook transfers were reported for the following carkits ---
-
 
+
'''
-
So far, successful phonebook transfers were reported for the following carkits:
+
(If you are able to successfully transfer your phonebook to any carkit not listed here, please let us know or just add to following list!):
(If you are able to successfully transfer your phonebook to any carkit not listed here, please let us know or just add to following list!):
-
===='''Via PBAP:'''====
+
Via PBAP:
-
 
+
* 2008 BMW 120d
-
=====Built-In Carkits:=====
+
* 2008 BMW 318d
-
======Acura======
+
* 2008 BMW 320d with Business Navi
-
* Acura TL -2010- SH-AWD w/Technology Package
+
* 2008 BMW 535d Touring with Navigationsystem Professional
-
 
+
* 2010 BMW X1
-
======Audi======
+
* 2007 BMW X5 E70
-
* Audi -2009- with RNS-E
+
* 2010 Audi A3 with RNS-E and bluetooth preparation
-
* Audi A3 -2009- (Facelift) with Radio Concert and bluetooth preparation
+
* 2009 Audi with RNS-E
-
* Audi A3 -2010- with RNS-E and bluetooth preparation
+
* 2010 Peugeot 5008 Connect Nav carkit
-
* Audi A3 -2011- with Radio Concert and bluetooth preparation
+
-
* Audi A4 -2010- with MMI (usable, BUT reads double entries, looks like phonebook is both on N900 and on SIM-card)
+
-
 
+
-
======BMW======
+
-
* BMW 1series -2008- (E81/E82/E87/E88)
+
-
* BMW 1series -2010- (E81/E82/E87/E88)
+
-
* BMW 3series -2007- (E90/E91/E92/E93)
+
-
* BMW 3series -2008- (E90/E91/E92/E93)
+
-
* BMW 3series -2009- (E90/E91/E92/E93)
+
-
* BMW 3series -2011- (E90/E91/E92/E93)
+
-
* BMW 5series -2009- (E60/E61)
+
-
* BMW 5series -2010- (F10/F11)
+
-
* BMW X1 -2010- (E84)
+
-
* BMW X5 -2007- (E70)
+
-
 
+
-
======Chrysler======
+
-
* Town and Country 2010 (Limited)
+
-
 
+
-
 
+
-
======Citroen======
+
-
* Citroen C5 (2006) with RD4 audio / Bluetooth system (phone book access works and outgoing calls can be made, but no caller ID and no phone number is shown on incoming calls; missed/dialed/received lists aren't available, either)
+
-
* Citroen (Model unknown)
+
-
* Citroen DS3 (2011) with MyWay audio/navigation/Bluetooth system (Phone book access direct from phone available, outgoing calls can be made, caller ID with phone number is shown on incoming calls, missed/dialed/received lists are available but this are only the calls that were made whilst connected with the MyWay-system)
+
-
 
+
-
======Dodge======
+
-
* Durango 2012 with RHR UConnect (Citadel)
+
-
 
+
-
======Fiat======
+
-
* Fiar Scudo Panorama - 2007 - car kit bluetooth
+
-
 
+
-
======Ford======
+
-
* Ford Mondeo -2007- Navigationsystem NX with Touchscreen
+
-
* Ford Galaxy -2010- Navigation with Touchscreen
+
-
* Ford Focus -2010- with Ford 6000CD
+
-
* Ford Escape -2011- Limited with Touchscreen
+
-
* Ford Mondeo -2011- Navigationsystem Travelpilot NX with Touchscreen
+
-
 
+
-
======Honda======
+
-
* Honda Accord -2009- (EU) HFT system with SatNav
+
-
* Honda CRV -2010- (EU) HFT system with SatNav
+
-
* Honda Civic 2012 EX,Si. HandsFreeLink HFL
+
-
 
+
-
======Hyundai======
+
-
* Hyundai Sonata -2011- SE Stock Bluetooth
+
-
======Infiniti======
+
-
* Infiniti FX37 -2010-
+
-
 
+
-
======Land Rover======
+
-
* Land Rover Discovery 3 -2007-
+
-
======Lexus======
+
-
* IS 220d -2011-
+
-
======Mercedes======
+
-
* Mercedes E-class > 09/2010- Audio 50 APS
+
-
* Mercedes E-class > 09/2010- Audio 20
+
-
* Mercedes C-class > 03/2011- all
+
-
* Mercedes GLK- class >09/2010- Audio 50 APS and Audio 20
+
-
 
+
-
======MINI======
+
-
* MINI -2010- (R55/R56/R57)
+
-
======Nissan======
+
-
* 370Z -2011- HD-Navi
+
-
======Opel======
+
-
* Insignia -2009- DVD800 (Same as [http://wiki.maemo.org/Bluetooth_PBAP#Vauxhall Vauxhall])
+
-
======Peugeot======
+
-
* Peugeot 207 GTI 2010
+
-
* Peugeot 307 (2007) - Default RD4 Audio Equipment
+
-
* Peugeot 3008 - Built-In NAV Carkit
+
-
* Peugeot 5008 -2010- Connect Nav carkit
+
-
* Peugeot 407SW 2008
+
-
 
+
-
======Renault======
+
-
* Renault Megane 3 Coupé / Hatchback - 3D Sound by Arkamys
+
-
* Renault Scenic XMOD Live (2012)
+
-
 
+
-
======SAAB======
+
-
* SAAB 9-3 -2011- with built-in TEL4
+
-
======Seat======
+
-
* Seat Exeo -2009-
+
-
======Skoda======
+
-
* Skoda Oktavia -2010-
+
-
* Skoda Octavia -2010- with built-in "Bolero" radio/CD player and BT car kit
+
-
* Skoda Oktavia 04.2008 does not work with latest instructions
+
-
* Skoda Octavia 06.2010 mit Amundsen und Skoda BT (nur Phonebook funktioniert good)
+
-
* Skoda Superb -2011- with built-in "Columbus" and BT car kit without rSAP
+
-
 
+
-
======Toyota======
+
-
* Toyota Prius MY -2010-
+
-
======Vauxhall======
+
-
* Vauxhall (Model unknown)
+
-
* Vauxhall (Insignia - DVD 800 Navi)
+
-
 
+
-
======Volvo======
+
-
* Volvo S60 -2011- (BT version 5.00.17H)
+
-
* Volvo V60 -2011- (BT version 5.00.17H)
+
-
* Volvo XC60 2011- (BT version 5.00.17Q - pair again after installation deb-files)
+
-
* Volvo XC60 2012- (BT version 5.00.17Q - pair again after installation deb-files)
+
-
 
+
-
======VW======
+
-
* VW Passat -2008- with RNS 300 and Bluetooth Touch Adapter
+
-
* VW Golf -2011- with 9ZB Bluetooth and RNS-510 navigation
+
-
* VW Golf Variant -2008- with RNS 300 and Bluetooth Touch Adapter
+
-
* VW Golf -2012- TDI with RNS 315 navigation (tech package build option in US)
+
-
* VW New Beetle 2012 - TSI with RNS 315 navigation (EU/The Netherlands)
+
-
 
+
-
=====Stand alone devices:=====
+
-
======Alpine======
+
-
* Alpine CDE-103BT (has an inbuilt parrot module)
+
-
======Blaupunkt======
+
-
* Blaupunkt Hamburg MP68
+
-
======Bury======
+
* Bury AD9060
* Bury AD9060
-
* Bury CC9060 plus
+
* Bury C9056
-
* Bury CC9056
+
-
 
+
-
======Garmin======
+
-
* Garmin Nuvi 715
+
-
* Garmin Nuvi 265w
+
-
* Garmin Zumo 660
+
-
 
+
-
======JVC======
+
-
* JVC KD-R811
+
-
 
+
-
======Kenwood======
+
-
* Kenwood DNX6140
+
-
* Kenwood DNX9960
+
-
* Kenwood HD942U (with KCA-BT200 bluetooth module)
+
-
* Kenwood KDC-BT50U (upgrade Kenwood-BT-Firmware to 3.30.4 for more reliability)
+
-
 
+
-
======Navigon======
+
-
* Navigon 8410
+
-
======Nokia======
+
-
* Nokia CK-15W
+
-
======Parrot======
+
-
* Parrot MKi9000 v1.70
+
* Parrot MKi9100
* Parrot MKi9100
-
* Parrot MKi9200
+
* Vauxhall (Model unknown)
-
* Parrot CK3100
+
* Citroen (Model unknown)
-
* Parrot CK3200LS
+
* 2009 Seat Exeo
-
* Parrot CK3200 LS-COLOR
+
-
* Parrot LG 3200
+
-
* Parrot LS 3200
+
-
* Parrot Minikit Slim
+
-
======Pioneer======
+
Via IrMC
-
* Pioneer AVH-3200BT
+
-
* Pioneer AVH-P8400BH
+
-
* Pioneer DEH-6200BT
+
-
* Pioneer DEH-P7100BT
+
-
* Pioneer DEH-7300BT
+
-
* Pioneer MVH-8200BT
+
-
======Sony======
 
-
* Sony MEX-BT3900U
 
-
* Sony DSX-S300BTX
 
-
 
-
===='''Via IrMC'''====
 
-
 
-
 
-
=====Built-In Carkits:=====
 
-
 
-
* Citroen C4 hatch 2010
 
* Citroen C4 picasso
* Citroen C4 picasso
-
* Renault Megane Scenic 2010
 
-
=====Stand alone devices:=====
+
====''' Known issues / problems '''====
-
 
+
-
* Kenwood DNX6140
+
-
* Parrot MK6000
+
-
 
+
-
===''' Known issues / problems '''===
+
* <s>Broken PC Suite connectivity</s>  
* <s>Broken PC Suite connectivity</s>  
-
* <s>False Maemo 5 update announcement in App Manager</s> *)
+
* False Maemo 5 update announcement in App Manager
-
* <s>In some cases broken file transfer via BT to certain devices</s>
+
* In some cases broken file transfer via BT to certain devices
-
* Sometimes contacts synced from other devices (e.g. using PC Suite) with special characters in names/details are not transferred (correctly). Recreating these contacts on your N900 ''should'' solve this issue.
+
* Lists for outgoing/incoming/missed calls are not supported (some carkits maintain own lists)
-
* <s>Lists for outgoing/incoming/missed calls are not supported (some carkits maintain own lists)</s> **)
+
* Installing/Removing requires manual steps in xTerm
-
* <s>PBAP working but buggy, after copying contacts to some handsfree devices only some of them are visible, incoming calls show wrong name from some other contact.</s> **)
+
-
* <s>Installing/Removing requires manual steps in xTerm</s>
+
 +
====''' Installation Guide '''====
-
'' *) Please note, this problem is related to initial versions of the PBAP implementation. With the latest .deb-files this problem should be solved!''
+
Step 1)
-
''(The false Maemo5 update in app manager with early versions of PBAP/IrMC solution was related to the mp-fremantle-205-pr package.''
+
Download the following 3 files and copy them to your phone (provided by drdrewusaf):
-
''Removing this package solved this problem, but removal of mp-fremantle-205-pr *might* cause trouble with future Maemo updates. Unfortunately keeping the package prevents uninstalling the initial PBAP implementation...(you might want to search the two threads for more information on this...).)''
+
-
''Any information on how to uninstall without removing the package or how to reinstall the package is very welcome!''
+
-
'' **) Please note, this feature was added in version 0.46-1maemo2.''
+
[http://ftp.us.debian.org/debian/pool/main/libo/libopenobex/libopenobex1_1.5-2_armel.deb Openobex 1.5-2 libraries]
-
==''' Installation Guide '''==
+
[http://ftp.us.debian.org/debian/pool/main/libo/libopenobex/openobex-apps_1.5-2_armel.deb Openobex 1.5-2 apps]
-
Mirakels created two deb-files in order to make the installation more user friendly.
+
[http://forums.internettablettalk.com/attachment.php?attachmentid=11779&stc=1&d=1278357528 obexd]
-
This installation is based on obexd-0.30 and provides
+
-
* PBAP support
+
-
* IrMC support
+
-
* PC Suite support
+
-
* Multiple phone numbers per contact
+
-
* Skip SIM contact requests (means contacts are not shown twice)
+
-
* vCards are separated correctly with CRLF between ENV:VCARD and BEGIN:VCARD.
+
-
=== Step 0 ===
 
-
In case you played with obex on your phone before / had previous versions of this project installed, please perform a downgrade to original version first by following the steps described in section [http://wiki.maemo.org/Bluetooth_PBAP#Downgrade_to_Original_State Downgrade to Original State]
+
Step 2)
-
=== Step 1 ===
+
Open a root terminal and navigate to the folder you saved the 3 files in (where "/path/to/files" is the real path to your downloaded files):
-
Download these 2 .deb packages provided by mirakels:
+
<source lang="bash">
 +
cd /path/to/files</source>
-
[http://talk.maemo.org/attachment.php?attachmentid=12973&d=1281827814 libopenobex2_1.5_armel.deb]
 
-
[http://talk.maemo.org/attachment.php?attachmentid=12986&d=1281878114 obexd2_0.30-0maemo1_armel.deb]
+
Step 3)
-
or use the newer obexd2 version updated to the latest obexd repository and build against the pr1.3 sdk:
+
Install the packages.  
 +
As root run:  
-
[http://talk.maemo.org/attachment.php?attachmentid=15356&stc=1&d=1289056159 obexd2_0.35-0maemo1_armel.deb]
+
<source lang="bash">
 +
dpkg -i libopenobex1_1.5-2_armel.deb openobex-apps_1.5-2_armel.deb obexd_0.28-0maemo3_armel.deb</source>
-
Even more recent versions.
 
-
[http://talk.maemo.org/attachment.php?attachmentid=18181&d=1299055571 obexd2_0.37-0maemo1_armel.deb]
+
Step 4)
-
[http://talk.maemo.org/attachment.php?attachmentid=18183&d=1299056116 libopenobex2-1.5-0maemo3_armel.deb]
+
Download the latest version of obexd zipped binary provided by mirakels from here
 +
[http://talk.maemo.org/attachment.php?attachmentid=12612&d=1280519142 obex download]
-
Packages provided by luf:
+
This version provides:
 +
* PBAP support (actually the plain PBAP that is in the 0.29 repo)
 +
* IRMC sync support (only full phonebook retrieves)
 +
* extra CR/LF between contacts
 +
* support for multiple phone numbers per contact
 +
* PC-Suite support (based on the patch test from hschmitt)
-
New patched version of obexd droped the dependency to openobex. So you need just obexd package.
+
BUGS: pbap sends phonebook twice.
-
[http://talk.maemo.org/attachment.php?attachmentid=27460&d=1342981511 obexd_0.46-1maemo2+cssu1_armel.deb]
 
-
Standard evolution-data-server in Maemo N900 returns even empty fields in VCARD what isn't supported in some handsfree devices. There is patched version which you can use in such situation.
+
Step 5)
-
[http://talk.maemo.org/attachment.php?attachmentid=27461&d=1342981527 evolution-data-server-addressbook_1.4.2.1-20120717-maemo1+cssu1_armel.deb]
+
Replace the current obexd in /usr/lib/obex/obexd with the new one from mirakels,
 +
as root run:
-
[http://talk.maemo.org/attachment.php?attachmentid=27462&d=1342981545 libebook_1.4.2.1-20120717-maemo1+cssu1_armel.deb]
+
<source lang="bash">
 +
cd <where your new version is>
 +
gunzip obexd.gz
 +
mv obexd /usr/lib/obex/obexd</source>
-
[http://talk.maemo.org/attachment.php?attachmentid=27464&d=1342981585 libedata-book_1.4.2.1-20120717-maemo1+cssu1_armel.deb]
+
Make sure that it is excecutable
-
[http://talk.maemo.org/attachment.php?attachmentid=27465&d=1342981599 libedataserver_1.4.2.1-20120717-maemo1+cssu1_armel.deb]
+
<source lang="bash">
 +
chmod a+x /usr/lib/obex/obexd</source>
-
This may hopefully get into CSSU.
 
-
If you want to take look at sources you can [http://merlin1991.at/~luf/pbap/ Packages and sources for PBAP]
+
Step 6)
-
=== Step 2 ===
+
Edit the obex start command in ''/usr/share/dbus-1/services/obexd.service'':
 +
* for PBAB include the option ''--pbap'' (already added after previous steps),
 +
* for IRMC include the option ''--irmc'' (both is possible too),
 +
* for PC Suite connection add ''--capability !/usr/bin/gen-obex-capability.sh''
-
Place them in a folder on the N900, say <code>/home/user/mypackages</code>
 
-
=== Step 3 ===
+
Step 7)
-
As root run (replace /home/user/mypackages with the path to the folder where you placed the files):
+
Reboot, test and ENJOY - hopefully ;-)
-
 
+
-
<source lang="bash">
+
-
cd /home/user/mypackages
+
-
dpkg -i *.deb</source>
+
-
 
+
-
=== Step 4 ===
+
-
 
+
-
Reboot the phone.
+
-
Test and ENJOY - hopefully ;-)
+
'''-> Please share your results !!!'''
'''-> Please share your results !!!'''
-
Worked fine with Audi A4 (2011) MMI, accept the incoming, outgoing, etc shows irrelevant contacts.
+
====''' Troubleshooting '''====
-
<s>PBAP working but buggy, after copying contacts to Nokia Speakerphone HF-510 only some of them are visible, incoming calls show wrong name from some other contact.</s>
+
For troubleshooting install and use hcidump and/or syslog
-
This buggy behaviour is fixed in version 0.46-1maemo2. Please give it a try.
+
   
 +
=====''' Download and install hcidump '''=====
-
<font color=grey>
+
 
 +
First you need to add the developer repository, see [http://wiki.maemo.org/Documentation/devtools/maemo5#Installation Wiki page].
-
=== Old/Obsolete Installation Guide ===
+
After adding the repository, run the following command as root:
-
Note: The following installation steps are not necessary anymore and just kept for better understanding of what was going on so far.
+
<source lang="bash">
 +
apt-get install bluez-hcidump</source>
-
Step 1
+
OR if the above fails, try the following steps:
-
Download the following 3 files and copy them to your phone (provided by drdrewusaf):
 
-
* [http://ftp.us.debian.org/debian/pool/main/libo/libopenobex/libopenobex1_1.5-2_armel.deb Openobex 1.5-2 libraries]
+
Step 1)
-
* [http://ftp.us.debian.org/debian/pool/main/libo/libopenobex/openobex-apps_1.5-2_armel.deb Openobex 1.5-2 apps]
+
-
* [http://forums.internettablettalk.com/attachment.php?attachmentid=11779&stc=1&d=1278357528 obexd]
+
-
Step 2
+
Download the deb-package containing hcidump from here: [http://repository.maemo.org/pool/fremantle/free/b/bluez-hcidump/bluez-hcidump_1.42-0maemo2_armel.deb hcidump download]
-
Open a root terminal and navigate to the folder you saved the 3 files in (where "/path/to/files" is the real path to your downloaded files):
 
-
<source lang="bash">
+
Step 2)
-
cd /path/to/files
+
-
</source>
+
-
Step 3
+
Unpack it (alien on Linux, 7-zip on Windows)
-
Install the packages.
 
-
As root run:
 
-
<source lang="bash">
+
Step 3)
-
dpkg -i libopenobex1_1.5-2_armel.deb openobex-apps_1.5-2_armel.deb obexd_0.28-0maemo3_armel.deb
+
-
</source>
+
-
Step 4
+
Copy /usr/sbin/hcidump to the N900
-
Download the latest version of obexd zipped binary provided by mirakels from here
 
-
[http://talk.maemo.org/attachment.php?attachmentid=12612&d=1280519142 obex download]
+
Step 4)
-
This version provides:
+
In xTerm as root:  
-
* <font color=grey>PBAP support (actually the plain PBAP that is in the 0.29 repo)</font>
+
-
* <font color=grey>IRMC sync support (only full phonebook retrieves)</font>
+
-
* <font color=grey>extra CR/LF between contacts</font>
+
-
* <font color=grey>support for multiple phone numbers per contact</font>
+
-
* <font color=grey>PC-Suite support (based on the patch test from hschmitt)</font>
+
 +
<source lang="bash">
 +
chmod a+x /usr/sbin/hcidump</source>
-
BUGS: pbap sends phonebook twice.
 
-
Step 5
+
'''-- Usage of hcidump --'''
-
Replace the current obexd in <code>/usr/lib/obex/obexd</code> with the new one from mirakels,
 
-
as root run:
 
-
<source lang="bash">
+
For testing/debugging with hcidump, run the following command (where "/some/path/somefilename" is a real path and any name you choose for your output file.)
-
cd <where your new version is>
+
-
gunzip obexd.gz
+
-
mv obexd /usr/lib/obex/obexd
+
-
</source>
+
-
 
+
-
Make sure that it is excecutable
+
<source lang="bash">
<source lang="bash">
-
chmod a+x /usr/lib/obex/obexd
+
hcidump -w /some/path/somefilename</source>
-
</source>
+
-
Step 6
+
right before turning your head unit/car on. Then, do what you would normally do to get contacts to show up and wait for it to finish/fail. Then, press ctrl+c on the phone to exit hcidump. Finally, you can view the output/dump file with Wireshark or upload your dump files so we can see what's going on.
-
Edit the obex start command in ''/usr/share/dbus-1/services/obexd.service'':
+
'''-> Please share your results !!!
-
* <font color=grey>for PBAB include the option ''--pbap'' (already added after previous steps),</font>
+
'''
-
* <font color=grey>for IRMC include the option ''--irmc'' (both is possible too),</font>
+
-
* <font color=grey>for PC Suite connection add ''--capability !/usr/bin/gen-obex-capability.sh''</font>
+
-
Step 7
 
-
Reboot, test and ENJOY - hopefully ;-)
+
=====''' Install syslogd and enable obexd debug option '''=====
-
'''-> Please share your results !!!'''
 
-
</font>
 
-
== Troubleshooting ==
+
For further troubleshooting information you may also want to try to enable obexd syslog debugging messages:
-
For troubleshooting install and use hcidump and/or syslog
 
-
=== Download and install hcidump ===
+
Step 1)
-
 
+
-
First you need to add the developer repository, see [[Documentation/devtools/maemo5#Installation the devtools installation instructions]].
+
-
After adding the repository, run the following command as root:
+
Install syslogd:
 +
As root run
<source lang="bash">
<source lang="bash">
-
apt-get install bluez-hcidump</source>
+
apt-get install sysklogd</source>
-
OR if the above fails, try the following steps:
 
-
# Download the deb-package containing hcidump from here: [http://repository.maemo.org/pool/fremantle/free/b/bluez-hcidump/bluez-hcidump_1.42-0maemo2_armel.deb hcidump download]
+
Step 2)  
-
# Unpack it (alien on Linux, 7-zip on Windows)
+
-
# Copy <code>/usr/sbin/hcidump</code> to the N900
+
-
# In xTerm as root:<source lang="bash">chmod a+x /usr/sbin/hcidump</source>
+
-
=== Usage of hcidump ===
+
Kill running obexd process
-
 
+
As root run
-
For testing/debugging with hcidump, run the following command (where "/some/path/somefilename" is a real path and any name you choose for your output file.)
+
<source lang="bash">
<source lang="bash">
-
hcidump -w /some/path/somefilename
+
killall obexd</source>
-
</source>
+
-
right before turning your head unit/car on. Then, do what you would normally do to get contacts to show up and wait for it to finish/fail. Then, press ctrl+c on the phone to exit hcidump. Finally, you can view the output/dump file with Wireshark or upload your dump files so we can see what's going on.
 
-
'''-> Please share your results !!!
+
Step 3)
-
'''
+
-
=== Install syslogd and enable obexd debug option ===
+
Restart obexd with enabled debug option
 +
As root run
-
For further troubleshooting information you may also want to try to enable obexd syslog debugging messages:
+
<source lang="bash">
-
 
+
/usr/lib/obex/obexd --debug --opp --ftp --pcsuite --pbap --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup --capability !/usr/bin/gen-obex-capability.sh</source>
-
Step 1)
+
-
Install syslogd. As root run <source lang="bash">apt-get install sysklogd</source>
+
-
Step 2)
+
-
Kill running obexd process. As root run <source lang="bash">killall obexd</source>
+
-
Step 3)
+
-
Restart obexd with enabled debug option. As root run:<source lang="bash">/usr/lib/obex/obexd --debug --opp --ftp --pcsuite --pbap --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup --capability !/usr/bin/gen-obex-capability.sh</source>  
+
-
OR
+
-
Add the '''--debug''' option
 
-
in the ''/usr/share/dbus-1/services/obexd2.service'' file (for example just before the --nodaemon option).
 
Step 4)  
Step 4)  
-
Sysklogd will create a file <code>/var/log/syslog</code>
+
Sysklogd will create a file /var/log/syslog
After your test copy this file to some other location (do not delete the original) and edit out the relevant part and post it [http://talk.maemo.org/showthread.php?t=59114 here].
After your test copy this file to some other location (do not delete the original) and edit out the relevant part and post it [http://talk.maemo.org/showthread.php?t=59114 here].
-
== Downgrade to Original State ==
+
 
 +
 
 +
====''' Downgrade to Original State '''====
To reinstall the original packages:  
To reinstall the original packages:  
-
=== Step 1 ===
+
 
 +
Step 1)
Download these 2 .deb packages:
Download these 2 .deb packages:
Line 482: Line 274:
[http://repository.maemo.org/pool/fremantle/free/o/obexd/obexd_0.18-0maemo5+0m5_armel.deb obexd 0.18]
[http://repository.maemo.org/pool/fremantle/free/o/obexd/obexd_0.18-0maemo5+0m5_armel.deb obexd 0.18]
-
=== Step 2 ===
 
-
Place them in a folder on the N900, say <code>/home/user/mypackages</code>
+
Step 2)
-
=== Step 3 ===
+
Place them in a folder on the N900, say /home/user/mypackages
 +
 
 +
 
 +
Step 3)
As root run (replace /home/user/mypackages with the path to the folder where you placed the files):
As root run (replace /home/user/mypackages with the path to the folder where you placed the files):
Line 495: Line 289:
dpkg -i *.deb</source>
dpkg -i *.deb</source>
-
=== Step 4 ===
+
 
 +
Step 4)
Reboot the phone.
Reboot the phone.

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)