Latest revision |
Your text |
Line 103: |
Line 103: |
| | | |
| This is handy for some configuration fixes and debugging. | | This is handy for some configuration fixes and debugging. |
- |
| |
- |
| |
- | The obexd is started under user '''user''' using D-Bus (no idea why because it doesn't restart when fail). So the command to start is defined in:
| |
- |
| |
- | /usr/share/dbus-1/services/obexd.service
| |
- |
| |
- | <source lang="properties">
| |
- | [D-BUS Service]
| |
- | Name=org.openobex
| |
- | Exec=/usr/lib/obex/obexd --nodaemon --noplugin=mas,syncevolution --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup --capability '!/usr/bin/gen-obex-capability.sh'
| |
- | </source>
| |
- |
| |
- | : ''Note: this is fixed version for CSSU-T version of obexd''
| |
- |
| |
- |
| |
- | <source lang="properties">
| |
- | [D-BUS Service]
| |
- | Name=org.openobex
| |
- | Exec=/usr/lib/obex/obexd --nodaemon --debug='*' --noplugin=syncevolution --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup --capability '!/usr/bin/gen-obex-capability.sh'
| |
- | </source>
| |
- |
| |
- | : ''Note: this is for debugging due to some troubleshooting or recognizing what Profile is used (PBAP or IrMC)''
| |
- |
| |
- |
| |
- | Some useful arguments:
| |
- | <source lang="bash">
| |
- | -d, --debug=DEBUG Enable debug information output
| |
- | -P, --noplugin=NAME,... Specify plugins not to load
| |
- | </source>
| |
- | : ''The most used DEBUG is '*' (--debug='*') to debug everything''
| |
- | :* ''plugin names:''
| |
- | :** ''ftp - File Transfer Profile for exchanging files''
| |
- | :** ''irmc - IrMC profile for synchronizing contacts and call history''
| |
- | :** ''map - Message Access Profile for SMS''
| |
- | :** ''opp - Object Push Profile for pushing file to the N900''
| |
- | :** ''pbap - Phone Book Access Profile for contacts and call history''
| |
- | :** ''pcsuite - Nokia PC Suite services''
| |
- | :** ''syncevolution - SyncML obex profile conflicting with nokia SyncML'' - should be disabled
| |
- |
| |
- |
| |
- | All possibilities:
| |
- | <source lang="bash">
| |
- | $ /usr/lib/obex/obexd --help
| |
- | Usage:
| |
- | obexd [OPTION...]
| |
- |
| |
- | Help Options:
| |
- | -?, --help Show help options
| |
- |
| |
- | Application Options:
| |
- | -n, --nodaemon Do not run as daemon in background
| |
- | -d, --debug=DEBUG Enable debug information output
| |
- | -r, --root=PATH Specify root folder location. Both absolute and relative can be used, but relative paths are assumed to be relative to user $HOME folder
| |
- | -S, --root-setup=SCRIPT Root folder setup script
| |
- | -l, --symlinks Allow symlinks leading outside of the root folder
| |
- | -c, --capability=FILE Specify capability file, use '!' mark for scripts
| |
- | -a, --auto-accept Automatically accept push requests
| |
- | -p, --plugin=NAME,... Specify plugins to load
| |
- | -P, --noplugin=NAME,... Specify plugins not to load
| |
- | </source>
| |
| | | |
| == Troubleshooting == | | == Troubleshooting == |