maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900... (https://talk.maemo.org/showthread.php?t=59114)

edbanger 2011-03-31 17:34

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Hi,

Just dropping by to say this works perfectly on a 2009 Mercedes ML.
Sadly, it doesn't work when paired with my Tomtom GO 1000 Live. (It probably doesn't support PBAP or IrMC.)

mooninite 2011-04-01 03:33

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I have tried to implement "AT+CPBS" and "AT+CPBR" but I am not very familiar with the bluez code structure. I thought I had added a callback to get the phone to reply to an AT+CPBS call with a default list of phonebooks but the phone still returns "ERROR" when the car calls the AT command.

mirakels, what commands have you implemented?

Zarhan 2011-04-01 11:06

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by thanosz (Post 978758)
I did at some point get an hcidump but never got around to uploading it. Is this visible in the hcidump?

Yes - just use hcidump.

Also, another clue was that my car kit works perfectly with E90...

hschmitt 2011-04-07 09:39

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I saw there is a SAP (Sim Access Profile) server implementation in current Bluez 4.91. So maybe there is hope for those with a "premium" car kit.

Crogge 2011-04-15 16:32

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I have the problem that my Kenwood BT60 radio says only "hf error 68" for some reason when I try to connect my N900, could this be related with PBAP?

CupraR 2011-04-28 09:10

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I too would love to be able to get my phone working seamlessly with my Mk2 Seat Leon (2007)

colchaodemola 2011-05-05 12:22

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I installed
obexd2_0.37-0maemo1_armel.deb
libopenobex2-1.5-0maemo3_armel.deb

but my pioneer AVH3280BT does not sync with my phone :/

colchaodemola 2011-05-09 12:16

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Could anyone give me some help ?
I have installed
obexd2_0.37-0maemo1_armel.deb
libopenobex2-1.5-0maemo3_armel.deb

top shows me it is running :
/usr/lib/obex/obexd --debug --nodaemon --opp --ftp --pbap --irmc --pcsuite --symlinks --root .obex-root --root-setup /usr/bin/obex-root-setup --capability !/usr/bin/gen-obex-capability.sh

but i can see no communication in syslog ... and my pioneer 3200BT does not get the phone book.... Though i can use it to talk just fine.

I can see this in syslog:
May 9 09:33:59 Nokia-N900 obexd[15662]: src/transport.c:obex_transport_driver_register() driver 0x2b640 transport bluetooth registered
May 9 09:33:59 Nokia-N900 obexd[15662]: src/plugin.c:add_plugin() Plugin bluetooth loaded
May 9 09:33:59 Nokia-N900 obexd[15662]: plugins/bluetooth.c:start() listening on channel 9
May 9 09:33:59 Nokia-N900 obexd[15662]: plugins/bluetooth.c:start() listening on channel 10
May 9 09:33:59 Nokia-N900 obexd[15662]: plugins/bluetooth.c:start() listening on channel 24
May 9 09:33:59 Nokia-N900 obexd[15662]: plugins/bluetooth.c:find_adapter() FindAdapter(any)
May 9 09:33:59 Nokia-N900 obexd[15662]: plugins/bluetooth.c:add_record_reply() Registered: Object Push server, handle: 0x10005
May 9 09:33:59 Nokia-N900 obexd[15662]: plugins/bluetooth.c:add_record_reply() Registered: File Transfer server, handle: 0x10006
May 9 09:33:59 Nokia-N900 obexd[15662]: plugins/bluetooth.c:add_record_reply() Registered: Nokia OBEX PC Suite Services, handle: 0x10007


shouldn't PBAB service be registered ?

Reflektorfalke 2011-05-13 18:37

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
The other day I noted that, while I can still access my phone book and dial via my carkit, sound is not transmitted anymore.
I am pretty sure this was introduced by upgrading to power-kernel v47.
Can someone help narrow this problem down and confirm that current obex implementation stopped working with v47?

hschmitt 2011-05-13 19:52

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by Reflektorfalke (Post 1005700)
The other day I noted that, while I can still access my phone book and dial via my carkit, sound is not transmitted anymore.
I am pretty sure this was introduced by upgrading to power-kernel v47.
Can someone help narrow this problem down and confirm that current obex implementation stopped working with v47?

I don't use power-kernel, but obexd is not responsible for sound streaming via bluetooth. This is done purely by bluez.

Reflektorfalke 2011-05-13 20:19

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by hschmitt (Post 1005754)
I don't use power-kernel, but obexd is not responsible for sound streaming via bluetooth. This is done purely by bluez.

Thanks hschmitt!
Tried to verify this by pairing my N900 with a HS-56W headset - it works, audio is streamed...
Now I am confused!?:confused:
What does this tell me, whats the difference between audio streaming to headset and streaming to carkit?

Reflektorfalke 2011-05-17 18:18

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by Reflektorfalke (Post 1005700)
The other day I noted that, while I can still access my phone book and dial via my carkit, sound is not transmitted anymore.
I am pretty sure this was introduced by upgrading to power-kernel v47.
Can someone help narrow this problem down and confirm that current obex implementation stopped working with v47?


After having this issue for several days it suddenly disappeared:rolleyes:
Audio is transmitted just fine to and from carkit via bluetooth again. I have no clue what might have caused the issue as I didn`t change anything in the meantime:confused:

Sorry for the confusion caused by this!

thanosz 2011-06-18 17:44

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Hi,

For some reason audio is not transmitted anymore. Phone connects fine with car kit but audio stopped working for some reason.

I could never get phonebook to appear probably because my car kit is not PBAP, but at least I could get audio.

Are there any commands I can use to troubleshoot this? Is this a bluez problem?

Thanks

tsai 2011-06-21 12:58

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by cenwesi (Post 906768)
just in case anyone is wondering, this method works with sending contact info to the Blueant Q2 Bluetooth. Now when someone calls my n900 the Bluetooth announces the name :)

Hi Cenwesi, could you help me on how to do this? I have installed the obex deb packages given in the Bluetooth_PBAP page trying to make the contacts and calls recognized, but now my blueant q2 can not find or connect to my n900 anymore. I tried again (after downgrading to original state) and the result is the same. can you help me please? many thanks, tsai.

tsai 2011-06-21 14:10

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by tsai (Post 1034668)
Hi Cenwesi, could you help me on how to do this? I have installed the obex deb packages given in the Bluetooth_PBAP page trying to make the contacts and calls recognized, but now my blueant q2 can not find or connect to my n900 anymore. I tried again (after downgrading to original state) and the result is the same. can you help me please? many thanks, tsai.

I see now the Censensi's message was from 2010, any one else could help me? the restoration to the original settings will be of great help too, many thanks

Android_808 2011-07-12 12:35

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Just wondering how much work would be involved in updating the evolution-addressbook to support the newer versions of obexd. Reason being the 0.41 release has "initial work towards support for Message Access Profile".

wojtech 2011-10-21 13:24

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
1 Attachment(s)
Hi! I have a little problem. I have a Sony car reciever MEX BT3900U with BT HF. After I installed obexd2_0.37-0maemo1 and libopenobex2-1.5-0maemo3 the reciever reads phonebook fine. BUT when I make a call (or just leave the list) and want to open it again, the reciever keeps blinking with "LISTING" a even after 5 minutes nothing happens. Where could be the problem? I have attached the outputs from hcidump and sysklog - the first ones are saved after succesful load and the second ones after fail. Thanks for any help! :)

Android_808 2011-10-26 10:56

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Any further news on this project?

Reflektorfalke 2011-10-26 17:29

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by Android_808 (Post 1113871)
Any further news on this project?

I donīt think that anyone is still working on this.
Sure its still not available from repositories, but it works for most if not all with an appropriate carkit.

However, with my new baby (the N9) I have again problems with PBAP.
Created a new thread here and the issue is also discussed on MeeGo.com Forum.

n9iscool 2011-10-27 04:21

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Anyone know if an IrMC solution is in the works for N9? Or what it takes to port over from N900?

Thanks.

Quote:

Originally Posted by Reflektorfalke (Post 1114096)
I donīt think that anyone is still working on this.
Sure its still not available from repositories, but it works for most if not all with an appropriate carkit.

However, with my new baby (the N9) I have again problems with PBAP.
Created a new thread here and the issue is also discussed on MeeGo.com Forum.


sjordet 2011-10-31 10:11

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by n9iscool (Post 1114349)
Anyone know if an IrMC solution is in the works for N9? Or what it takes to port over from N900?

I guess it takes a developer with a N9 and a IrMC handsfree...

That said, I'd also really like to see this implemented...

mirakels 2011-10-31 12:24

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
If the n9 os uses a recent obexd code IrMC support should already be available.
All my core IrMC code is in the upstream obexd.

And I do not own a n9 of n950 so cannot test this myself.

Reflektorfalke 2011-10-31 19:35

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
1 Attachment(s)
Quote:

Originally Posted by mirakels (Post 1116340)
If the n9 os uses a recent obexd code IrMC support should already be available.
All my core IrMC code is in the upstream obexd.

And I do not own a n9 of n950 so cannot test this myself.

Hi mirakels thanks for your reply!
Seeing you here with your magic skills gives some hope getting PBAP/IrMC for N9 one day :D

I attached the 2 files I found in /usr/lib/obex...
(Didnīt find a "libopenobex")
Are those of any help for you finding the issue here?

mirakels 2011-10-31 19:50

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
cannot be of much help here.
If you run a 'strings obexd' you will see IrMC mentioned.
So it has the code inside. Maybe all you need is to figure out how
obexd is called on the n900 and check if the irmc service is enabled or not
(see the startup options on the maemo obexd wiki page)

mirakels 2011-10-31 19:55

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
oh, one other thing you might try is using the maemo libopenobex and obexd on te n9.... But you probably need to copy the files manually to the n9...

Reflektorfalke 2011-10-31 20:03

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116511)
cannot be of much help here.
If you run a 'strings obexd' you will see IrMC mentioned.
So it has the code inside. Maybe all you need is to figure out how
obexd is called on the n900 and check if the irmc service is enabled or not
(see the startup options on the maemo obexd wiki page)

Well, if I enter

Quote:

ps | grep obex
in xTerm, I get this output:

Quote:

/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
So it seems PBAP is supported while IrMC is not, right?

I can not test IrMC as my carkit (BMW) uses PBAP as far as I understand.

Unfortunately, as I described in the post/thread linked before, contacts are not transferred correctly :-(

Reflektorfalke 2011-10-31 20:24

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116512)
oh, one other thing you might try is using the maemo libopenobex and obexd on te n9.... But you probably need to copy the files manually to the n9...

Hm, ok I understand how to copy obexd from directory /usr/lib/obex/ on N900 to the very same directory on N9, but how about libopenobex? Where am I supposed to find this file?

Do I only need to replace these files or is there anything else to do? If I want to go back, all I need to do is to do it the other way, right?

mirakels 2011-10-31 20:44

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
It is not that the n9 does not supprot IrMC. It is just that pbap is enabled (--pbap) while irmc is not (there is no --irmc commandline option in your ps output) Adding --irmc should enable IrMC.

As for copying obexd, please first renamen the original obexd so you can easily switch back.
The libopenobexd can be placed in /usr/lib/ Note also the symlinks for libopenobex (see 'ls -l /usr/lib/libopenobex*' )
I guess there is also an libopenobex on the n9 but may be packaged with the obexd package. So please check before copying the n900 one and rename before copying.

You also might try using the libopenobex on the n9 (if it is there) if it is the same major version (e.g. libopenobex.so.2.x)

Reflektorfalke 2011-10-31 20:58

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116523)
It is not that the n9 does not supprot IrMC. It is just that pbap is enabled (--pbap) while irmc is not (there is no --irmc commandline option in your ps output) Adding --irmc should enable IrMC.

Thanks for all you efforts here!
Adding the IrMC option might be worth a try for those who need it!

Quote:

Originally Posted by mirakels (Post 1116523)
As for copying obexd, please first renamen the original obexd so you can easily switch back.
The libopenobexd can be placed in /usr/lib/ Note also the symlinks for libopenobex (see 'ls -l /usr/lib/libopenobex*' )
I guess there is also an libopenobex on the n9 but may be packaged with the obexd package. So please check before copying the n900 one and rename before copying.

You also might try using the libopenobex on the n9 (if it is there) if it is the same major version (e.g. libopenobex.so.2.x)

Ok, guess copying obexd after creating a backup shouldnīt be a problem.
Regarding libopenobex I checked again, in /usr/lib on N9 I have:
- libopenobex.so.1
- libopenobex.so.1.4.1

while on N900 in the same directory I have:
- libopenobex.so.1
- libopenobex.so.1.4.1
- libopenobex.so.2
- libopenobex.so.2.0.0

So I assume I also need to copy libopenobex.so.2 and libopenobex.so.2.0.0 from N900 to N9 and create symlinks?
How do I create these symlinks?

mirakels 2011-10-31 21:06

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
In that case you do not need to make a backup of the libopenobex lib. Just copy libopenobex.so.2.0.0 to the n9. Then whilst in /usr/lib:

ln -s libopenobex.so.2.0..0 libopenobex.so.2

Reflektorfalke 2011-10-31 21:53

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116527)
In that case you do not need to make a backup of the libopenobex lib. Just copy libopenobex.so.2.0.0 to the n9. Then whilst in /usr/lib:

ln -s libopenobex.so.2.0..0 libopenobex.so.2

Damn, doesnīt work :mad:

This is what I did:
Copied from N900 to N9:
obexd to /usr/lib/obex and
libopenobex.so.2.0.0 to /usr/lib

Then
ln -s libopenobex.so.2.0.0 libopenobex.so.2

Can still pair phone and carkit, but when it tries to transfer contacts it cancels immediately. Nothing transferred at all...

Thanks again anyway mirakels, your efforts are highly appreciated!

Reflektorfalke 2011-10-31 22:24

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
**** now my device is bricked!
"Device is malfunctioning"
"Security problem with obexd"
Dont follow the steps described before!

Hope I find out how to flash this baby :mad:

mirakels 2011-11-01 15:04

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I'm sorry you got into trouble with the device.
maybe there is a way to reinstall the obexd package.
It might be that they setup selinux on the device to guard against overwrites. Guess someone must know about that on the meego forums...

Reflektorfalke 2011-11-01 15:43

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116896)
I'm sorry you got into trouble with the device.
maybe there is a way to reinstall the obexd package.
It might be that they setup selinux on the device to guard against overwrites. Guess someone must know about that on the meego forums...

No worries, wasnīt your fault, appreciate your support on this!
Did everything on my own risk and canīt even tell what exactly bricked the device. When I tried to investigate this further I noticed that ps | grep obex didnīt give me the usual startup command. So I did a chmod a+x obexd and tried to restart obex manually. But restarting was denied with permission denied (yes I was root). Then I wanted to reboot, but phone just gave me a warning as described before.
Thus, reinstalling obexd package wasnīt possible and I had to reflash.
Reflash worked like a charm, so I am again a happy N9 user...Besides the PBAP-issue of course :D

Android_808 2011-11-01 16:05

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I was kinda hoping someone was going to look at update evolution-dataserver to allow more recent versions of obexd etc. to be used.

erendorn 2011-11-01 17:33

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by Reflektorfalke (Post 1116917)
No worries, wasnīt your fault, appreciate your support on this!
Did everything on my own risk and canīt even tell what exactly bricked the device. When I tried to investigate this further I noticed that ps | grep obex didnīt give me the usual startup command. So I did a chmod a+x obexd and tried to restart obex manually. But restarting was denied with permission denied (yes I was root). Then I wanted to reboot, but phone just gave me a warning as described before.
Thus, reinstalling obexd package wasnīt possible and I had to reflash.
Reflash worked like a charm, so I am again a happy N9 user...Besides the PBAP-issue of course :D

The aegis security checks the hashes of the binaries, and compare them to authorized ones. It will prevent you from running your non Nokia signed version, even as root (permission denied), and will prevent the system from running it during boot (bricked device).
If you don't need too many privileges for obexd, you can try to package your custom version, and install (dpkg) it in devel mode (which may get aegis to register and trust the binary).
If this needs privileges restricted to Nokia, then you won't be able to change the obexd without using a custom, aegis-free kernel.

See there for details.

Reflektorfalke 2011-11-03 19:17

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by erendorn (Post 1116974)
The aegis security checks the hashes of the binaries, and compare them to authorized ones. It will prevent you from running your non Nokia signed version, even as root (permission denied), and will prevent the system from running it during boot (bricked device).
If you don't need too many privileges for obexd, you can try to package your custom version, and install (dpkg) it in devel mode (which may get aegis to register and trust the binary).
If this needs privileges restricted to Nokia, then you won't be able to change the obexd without using a custom, aegis-free kernel.

See there for details.

This was my guess, Aegis being the bad boy here :mad:
But thanks for the details and clarification anyway!
Unfortunately I have no idea how to package my own version, but at least there is some hope:
Konttori said...
Quote:

A lot of work has been put to better interoperability of BT with cars. I don't know of the exact model you have, but likely the situation is better in PR1.1
link

sjordet 2011-11-04 13:32

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116523)
It is not that the n9 does not supprot IrMC. It is just that pbap is enabled (--pbap) while irmc is not (there is no --irmc commandline option in your ps output) Adding --irmc should enable IrMC.

Aha, this is very interesting. Is there any reason that this wouldn't be enabled by default?

Thank you :)

sjordet 2011-11-04 13:42

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Wrong forum, but do anyone know where the startup options for obexd are specified?

Can't find it anywhere, and I can't kill the obexd-process, so I can't start it manually with the right options either...

Reflektorfalke 2011-11-04 19:47

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by sjordet (Post 1118274)
Wrong forum, but do anyone know where the startup options for obexd are specified?

Can't find it anywhere, and I can't kill the obexd-process, so I can't start it manually with the right options either...

You can find obex start command in
/usr/share/dbus-1/services/obexd.service


(On N900, but should be the same on N9)

Not sure, but it might be no good idea to edit this file, as it might also brick your device!?


All times are GMT. The time now is 04:56.

vBulletin® Version 3.8.8