Active Topics

 



Notices


Reply
Thread Tools
Posts: 159 | Thanked: 122 times | Joined on Nov 2009
#51
Originally Posted by liiver View Post
but i have no obexd running. with killall obexd it is gone from ps list. but still i get this Cant' register with session bus error.

Also I dont get it from where this obexd is run without --pbap option if i have it clearly stated in /usr/share/dbus-1/services/obexd.service file?
Did you change the new obexd to be executable? you can see it with
Code:
ls -l
if not use
Code:
chmod a+x obexd
 

The Following User Says Thank You to hschmitt For This Useful Post:
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#52
Originally Posted by jakoleh View Post
I've problem that I can start the obexd with debug mode only if I start it using root shell accessible with root command (which I think means wiht super user rights "sudo gainroot --use-su"). It doesn't start if I have only given "sudo gainroot" command first.
Please note, if you start obexd from xterm, it starts without confirmation. Check with

ps | grep obex

if it is running.
 
Posts: 49 | Thanked: 23 times | Joined on Oct 2009 @ Oulu, Finland
#53
It had nothing to do with the kernel... I have same problem with the original one. Obexd loading ends to "Jul 29 21:07:34 Nokia-N900 obexd[1606]: src/plugin.c:add_plugin() Plugin ftp loaded" message.

------ Old message --------
Sorry I sent message too hasty... the reason why obexd did't start was enhanced kernel. I uninstalled it and now obexd starts. My mistake... sorry.
------ End of old message ------

Last edited by jakoleh; 2010-07-29 at 18:15. Reason: Wrong information....
 
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#54
I wrapped up a new obexd based on 0.29.

It includes:

- 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 using dbus-send commands. Needs updated pcsuite-enable.sh and pcsuite-disabel.sh.

BUGS: pbap still sends phonebook twice (see tuxys report below)

Please test as always (see post 1).
For PBAB include the --pbap option, for IRMC include --irmc option (both is possible too)
Attached Files
File Type: gz obexd.gz (155.2 KB, 128 views)

Last edited by mirakels; 2010-07-30 at 19:50.
 

The Following 2 Users Say Thank You to mirakels For This Useful Post:
Posts: 6 | Thanked: 0 times | Joined on Apr 2010
#55
This doesn't seem to be working on my BMW 325i (2006). Does anyone know if the bluetooth implementation is different in the BMWs prior to 2007?

I'll post my hcidump soon.

Thanks.
 
Posts: 3 | Thanked: 1 time | Joined on Dec 2009 @ Italy
#56
Originally Posted by mirakels View Post
I wrapped up a new obexd based on 0.29.

It includes:

- 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)

Please test as always (see post 1).
For PBAB include the --pbap option, for IRMC include --irmc option (both is possible too)

With this obex version and command line:

/usr/lib/obexd --nodaemon --opp --ftp --pbap --irmc --pcsuite --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup

in file /usr/share/dbus-1/services

Parrot MKi9100 work fine

-=LordByte=-
 

The Following User Says Thank You to lordbyte For This Useful Post:
Posts: 159 | Thanked: 122 times | Joined on Nov 2009
#57
Mirakels had a very good idea: Instead of patching obexd to use "the old" signalling about PC Suite mode it would be better to make the N900 understand "the new" signalling from obexd upstream version.
Therefore /usr/sbin/pcsuite-enable.sh could get an additional entry and maybe /usr/sbin/pcsuite-disable.sh
For /usr/sbin/pcsuite-enable.sh I think an the entry should be below line 61: kill -USR1 $OBEXD_PID
and it could be:
dbus-send --system --type=signal / com.meego.usb_moded.sig_usb_state_ind string:'ovi_suite'

With this line added - in theory - both obexd versions should work with PC Suite. I did a test from commandline and there was a log entry from obexd, that it received the signal.

Maybe it is necessary to add the following line to /usr/sbin/pcsuite-disable.sh
dbus-send --system --type=signal / com.meego.usb_moded.sig_usb_state_ind string:'USB disconnected'
But I don't know whether this is true.
 

The Following 3 Users Say Thank You to hschmitt For This Useful Post:
Posts: 23 | Thanked: 27 times | Joined on Jul 2010 @ Delft, Netherlands
#58
Originally Posted by mirakels View Post
I wrapped up a new obexd based on 0.29.

It includes:

- 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)

Please test as always (see post 1).
For PBAB include the --pbap option, for IRMC include --irmc option (both is possible too)
Great, I was (slowly) working on a backport of the ebook plugin, can cancel that now.

I'm missing one change in your list, and that is filtering of phonebook queries. The ebook backend doesn't discriminate between different phonebooks (e.g. general vs SIM phonebook), resulting in multiple listings for every contact. Does your change handle that (would have, but cannot review source as you didn't include it yet).

My last obexd (old thread) included a simple filter for SIM phonebook queries. Not optimal, but it worked.
 

The Following User Says Thank You to tuxy For This Useful Post:
Posts: 197 | Thanked: 101 times | Joined on Dec 2009 @ Netherlands
#59
the SIM phonebook filter is not in.
If you post the patch I can include it.

I want to cleanup my code and resolve a small cosmetical issue in the irmc code and the will post all pathces. A few of them ara already posted to the obex/bluetooth mailinglist for inclusion in the mainstream repo.
 

The Following User Says Thank You to mirakels For This Useful Post:
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#60
Originally Posted by mirakels View Post
I wrapped up a new obexd based on 0.29.

It includes:

- 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)

Please test as always (see post 1).
For PBAB include the --pbap option, for IRMC include --irmc option (both is possible too)
Hm, did anyone get PC Suite connection to work with this version?

Tried again with this command:
Code:
/usr/lib/obex/obexd --nodaemon --opp --ftp --pcsuite --pbap --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup --capability !/usr/bin/gen-obex-capability.sh
But it didn`t work...
 
Reply

Tags
bada rox, bluetooth, carkit, contacts, irmc sync, pbap profile


 
Forum Jump


All times are GMT. The time now is 12:00.