maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Car kit can not access contact information... (https://talk.maemo.org/showthread.php?t=36272)

jarmo2 2010-07-07 21:22

Re: Car kit can not access contact information...
 
It helps since actual car kits can be totally different between car models and there are also different versions form the same kits. They all can work (unfortunately) differently.

Pbap is a quite new standard. It does not help here :(

asfig 2010-07-07 21:29

Re: Car kit can not access contact information...
 
jarmo2, i dont know what happened but i tried to create a hcidump file and i saw that i can acess to my contacts!!!!

thank you very much for your support.

what i saw is the list of calls its a bit confused, there is calls that i dont remember to do, others dont appear.

and if i receive a message? i can see the messages too?

:):D

jarmo2 2010-07-08 07:53

Re: Car kit can not access contact information...
 
asfig, pbap takes care of only contacts and call information. Nothing to do with sms.

jarmo2 2010-07-08 09:21

Re: Car kit can not access contact information...
 
1 Attachment(s)
I tried the new openobex library. Results are the same. :(

Attached is the hcidump file from the new library.

alexporta 2010-07-08 14:45

Re: Car kit can not access contact information...
 
nothing my sony mounted on my S-Max don't see the contacts neither the call list...

now I'm trying to install hcidump and then later Ill try to create a dump file

neilosleeman1979 2010-07-08 15:16

Re: Car kit can not access contact information...
 
SUCCESS - I can now see all my contacts on my Bury AD9060.

However - I did have to dial out through the car kit via the N900 first but now it syncs first time every time.

Next project - pull messages from the N900 to car kit.

crsnwby 2010-07-08 16:08

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by neilosleeman1979 (Post 745020)
SUCCESS - I can now see all my contacts on my Bury AD9060.

However - I did have to dial out through the car kit via the N900 first but now it syncs first time every time.

Next project - pull messages from the N900 to car kit.

erm... probably a good idead to tell people how you did it.:confused:

neilosleeman1979 2010-07-08 16:24

Re: Car kit can not access contact information...
 
erm......by following the steps in this thread.

crsnwby 2010-07-08 17:22

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by neilosleeman1979 (Post 745080)
erm......by following the steps in this thread.

Exactly which ones then... if you got it working it should be quite simple to put down in a few lines of text what you did.... or copy and paste it from above....:rolleyes:

neilosleeman1979 2010-07-08 17:30

Re: Car kit can not access contact information...
 
I reflashed my device as I had previously messed around with openobex - you may not need to do this though. I wanted to start from scratch in case I messed something up.

I then followed the first 4 steps in post #70.

When I connected the phone to my car kit it wouldn't sync, either automatically or by making the car kit manually sync. However, today I dialled out through the kit and recieved a call minutes later. When I recieved the call the car kit said the callers name so I realised it had synced.

Upon pressing phonebook on my car kit all my contacts were there.

neilosleeman1979 2010-07-08 17:42

Re: Car kit can not access contact information...
 
Just did a little more testing:

Added a contact to my N900, connected bluetooth to car kit. The new contact doesn't appear.

Made a phone call on my N900 whilst connected to my car kit. After hanging up the contact appeared on my car kit. I did not dial the new contact but an old number, already synced with the car kit.

Added another new contact.....connected via bluetooth to car kit......contact doesn't appear in car kit. Manually synced from car kit buttons and the contact appeared.

For those having trouble getting PBAP to work - after I first followed the steps in post #70 and I selected pressed sync on my car kit, my car kit just flashed up with 'failure'.

It has all appeared to work once I dialled out on my N900 through the car kit earlier on today - the first phone 'activity' I had using my car kit since having installed the files in post #70.

browncaravan 2010-07-08 18:10

Re: Car kit can not access contact information...
 
This is sounding more hopeful for me. Before I try and follow these instructions myself, would you, 'neilosleeman1979', would mind testing something for me...

Are you still able to bluetooth photos or similar via bluetooth to other phones/devices as it seems this was an issue previously. If you could let me know I would be grateful.

Cheers.

neilosleeman1979 2010-07-08 18:28

Re: Car kit can not access contact information...
 
I'm having trouble connecting to either my ipod touch or the wifes iphone.

The N900 sees both devices but cannot connect. Neither the ipod or the iphone can 'see' the N900.

I have no problem connecting to either my car kit or my OBD connector (I use Carman).

The N900 is 'visible'.

browncaravan 2010-07-08 19:27

Re: Car kit can not access contact information...
 
Hmm. That would be annoying to not be able to transfer files anymore. I wonder if you were to downgrade back to the original files whether that this would correct the bluetoothing transfer problems, but also leave the contact information in the car hands-free device.

If the car kit has a recent call list type thing, then downgrading would probably put an end to this feature but if it leaves the contact details on there and they still show and dial then it may be better than nothing.

What do you think?

neilosleeman1979 2010-07-08 19:33

Re: Car kit can not access contact information...
 
I think downgrading would remove the PBAP feature. Then when I dialled out through the N900 all contacts would be removed?

Not sure I'll bother downgrading - I've waited ages for PBAP to work and whilst not perfect I'm sure in future openobex version (0.29, 0.3.....) it'll be fixed. I've rarely used bluetooth file transfer on any phone in the last 10 years anyway.

Can any other users verify the same findings as me?

browncaravan 2010-07-08 19:44

Re: Car kit can not access contact information...
 
Well that's what I was thinking, downgrading would remove the PBAP and because it didnt have the PBAP connectivity there anymore then the N900 would not be able to tell the car to remove all the contacts and they would hopefully remain there in that state.

That was my thinking behind it anyway.

I'm still undecided whether to have a go at trying this with my Vauxhall bluetooth kit - it may or may not work, but it will probably remove my bluetoothing file transfer ability. I could imagine the comments people would make when I'm asked to send a file via bluetooth, to which respond with, my phone can't send via bluetooth anymore.

I'll have a think. Cheers for letting me know though.

jarmo2 2010-07-08 20:22

Re: Car kit can not access contact information...
 
I have the newest obexlibrary and obexd from this thread installed. I have no problems sending files from my phone via bluetooth. (N900 --> Fedora13)

neilosleeman1979 2010-07-08 20:31

Re: Car kit can not access contact information...
 
You can always downgrade if file transfer doesn't work. Maybe I'm out of luck only trying it with Apple products - I can send and recieve via bluetooth with my OBD tool.

browncaravan 2010-07-08 20:36

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by jarmo2 (Post 745303)
I have the newest obexlibrary and obexd from this thread installed. I have no problems sending files from my phone via bluetooth. (N900 --> Fedora13)

Thanks for that. Right, I reckon I'm tempted at having a go with them then, but not really knowing what I'm doing doesn't really help.

So, do I follow the instructions 1-4 on post #70 and do something else to get these latest files or do something else instead of #70?

Basically, which steps do I need to follow?

Cheers

neilosleeman1979 2010-07-08 20:49

Re: Car kit can not access contact information...
 
Post #70 has been edited and updated several times and it is easily followed.

Download the 3 files to a pc, transfer them to your N900. Install them following step 3 and then reboot. I have no linux experience but I followed it fine.

Like I said, it appeared not to work for me until I made/received a call.

leviathan18 2010-07-09 03:02

Re: Car kit can not access contact information...
 
not transfering the data to the car (seat leon fr 2007) i didnt try futher i will report tomorrow

browncaravan 2010-07-09 11:40

Re: Car kit can not access contact information...
 
I got a bit stuck following post #70, not knowing how to get the root access going but I have managed to solve that now and the steps in post #70 have been followed.

Right, time to report my findings...

I tested it with a Vauxhall built-in bluetooth system (it shows as a UHP device). I deleted the current pairing with the car and on the phone and started again.

It was sucessfully paired as usual and I tried phoning in and out but I still did not have access to the phone book, but after turning off the ignition, turning back on and most importantly, about 2 minutes wait, it showed a list of incoming calls, outgoing calls and missed calls (with names). All were completely incorrect (showing some that I had never phoned using this phone) and all three lists were exactly the same too.

I loaded the phone book and started scrolling through the names, which is great, however, I have two entries for everyone, all with their correct number, just duplicated by the two entries.

Can you believe it? I have had had no names in my phonebook ever since I got the N900 and now I get two of everyone. Still, two is better than none by far.

Now, the other issue is that for a name that has two numbers assigned to them, e.g. a mobile number and a home number, only one number gets transferred (the same number in both entries).

Anyway, patience is the key, it is all up and running within around 2 minutes of turning the key. I'm not sure that phoning in and out made any difference for me, I think it just killed the time of waiting and it would have transferred anyway.

For all those that have tried and failed with this, it may be an idea for you to try again, following the turning off procedure and waiting a few minutes before attempting to view the phonebook.

Any suggestions to these findings or how to correct these last few issues?

All in all though, great news.

Thanks to all that have assisted with this issue. It is appreciated. I'm sure one day someone will have it sorted so that it is perfect, but it is well beyond me.

crsnwby 2010-07-09 17:44

Re: Car kit can not access contact information...
 
cd/ Phonename/Documents/PBAPfiles

Replace phonename with, by default Nokia N900.

To see what your "Phonename" is open file manager and it will be the picture of the phone at the root of the file manager. You only need to do this if you have changed it I beleive, it should be default be Nokia N900.

browncaravan 2010-07-09 17:58

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by crsnwby (Post 746297)
cd/ Phonename/Documents/PBAPfiles

Replace phonename with, by default Nokia N900.

To see what your "Phonename" is open file manager and it will be the picture of the phone at the root of the file manager. You only need to do this if you have changed it I beleive, it should be default be Nokia N900.

Thanks for the info, managed to work it out. see the results above. Cheers

Jubr 2010-07-10 08:34

Re: Car kit can not access contact information...
 
I just tried the steps as described in post 70 with my BMW 118d (2010) and no success.
I installed the files, rebooted the phone, than went to my car and checked if contacts where there. They were not. Next step was to make an outgoing call, as this has been suggester earlier in this thread, also to no avail. Then I unpaired and repaired the devices, also without success. Last step was to restart the car and make an outgoing and incoming call, again without results.

If there is anything I can do to help, let me know. I'm not an expert, but I'm centainly no noob either.

jarmo2 2010-07-10 09:29

Re: Car kit can not access contact information...
 
jubr, this is interesting since I tested the latest versions with bmw X1 (2010) and it gets some of the contacts. I think the bluetooth implementation should be the same.

It would help If you could run the hcidump from the conversation and send it here. You could also compare it yourself with my dump. It is from a one generation older Bmw car kit.

Jubr 2010-07-10 09:53

Re: Car kit can not access contact information...
 
Any pointers on how to install hcidump? I have all repo's active (also testing and devel), but can't seem to find the bluez-hcidump package...

edit: I didn't have the developer repo :-) I must have missed that post

jarmo2 2010-07-10 10:01

Re: Car kit can not access contact information...
 
Check post #80 (page 8) on this thread

Jubr 2010-07-10 10:21

Re: Car kit can not access contact information...
 
Ok, so I got a 27kb file now, but gedit can't seem to open it. Is this normal, or did I do something wrong? When I try to read the contacts with cat, I can see some contents, and a whole bunch of symbols...

edit: never mind, found out that I have to parse the file first with hcidump -r

After parsing, I only get these 4 lines:

Code:

HCI sniffer - Bluetooth packet analyzer ver 1.42
> HCI Event: Connect Request (0x04) plen 13
< Unknown: type 0x00 len 2816
< Unknown: type 0x11 len 6655

However, when I read the file with cat, I can see some of my contacts data in the log file.

I'm going on a half hour drive in a few minutes, will run hcidump again so maybe I can get more data out of it.

Jubr 2010-07-10 11:56

Re: Car kit can not access contact information...
 
1 Attachment(s)
Ok, I did some more testing and now I have some more output.

It's a bit long, so I'll just add it as an attachment.
Hope it helps!

browncaravan 2010-07-11 15:17

Re: Car kit can not access contact information...
 
I've just noticed there is an update available for maemo in the application manager. Unfortunately, it states that this update has to be performed via the PC suite. The phone also states that there are problems due to application packages missing:
obexd (0.18) and libopenobex1 (1.4)

Ever since I upgraded to PBAP I have been unable to use PC suite via the USB cable and therfore cannot perform the update. I therefore thought I would downgrade to the above files and then upgrade again.

I am unable to downgrade successfully...

Basically, i have done what it says in post #70, opened x terminal at root and typed:
apt-get install libopenobex1=1.4-0maemo3+m5
apt-get install obexd=0.18-0maemo5+0m5

one after another, and at the same time, but I get errors:

'Reading package lits... Done
Building dependency tree
Reading state information... Done
E: Version '1.4-0maemo3+m5' for libopenobex1' was not found'

And similar for the other file.

Any ideas?
Thanks

Bennyz 2010-07-11 21:55

Re: Car kit can not access contact information...
 
Hi everybody,
Impressive Drdrewusaf!!! This worked!!!
I followed the 4 first steps and my phonebook is in the car!
I have an Audi A3 from 2010, with MMI and bluetooth preparation.
Just a little thing, the contacts are copied in the section "annuaire" (in french) but not in the "carnet d'adresse" (= phone book or adress book).
I'm just asking myself if there's a way to move those contacts in the phonebook of the car, but that's not so important!

I'm really impressed by what you're all able to do together, and I want to thank you all for that! (Incredible that the Nokia team could't make it!)
Ben

crsnwby 2010-07-11 23:35

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by Bennyz (Post 748496)
Hi everybody,
Impressive Drdrewusaf!!! This worked!!!
I followed the 4 first steps and my phonebook is in the car!
I have an Audi A3 from 2010, with MMI and bluetooth preparation.
Just a little thing, the contacts are copied in the section "annuaire" (in french) but not in the "carnet d'adresse" (= phone book or adress book).
I'm just asking myself if there's a way to move those contacts in the phonebook of the car, but that's not so important!

I'm really impressed by what you're all able to do together, and I want to thank you all for that! (Incredible that the Nokia team could't make it!)
Ben

I tired it on my A6 without any joy. I do however have the Dension 500 bluetooth setup rather than the Audi module. On the N900 when I check the device bluetooth services it does not show PBAP.... does yours?

Jubr 2010-07-12 09:08

Re: Car kit can not access contact information...
 
I just stumbled upon a thread where someone had a problem with his headset not being detected anymore. Someone suggested that the problem could be caused by "pc connectivity manager", which comments out the line "DisablePlugins = network,input,hal" in the file /etc/bluetooth/main.conf.

Since I also have pc connectivity manager installed, I will try if uncommenting this line is a solution for me later today. Will let you guys know how it works out.

mikemx 2010-07-12 13:55

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by crsnwby (Post 748570)
I tired it on my A6 without any joy. I do however have the Dension 500 bluetooth setup rather than the Audi module. On the N900 when I check the device bluetooth services it does not show PBAP.... does yours?

Same for me. Tried the patched OBEXT with an older A6 model (2006)
and could not see any attempt to access PBAP in the hcidump.
The MMI car kit seems to be limited to the headset/handsfree profile.
In the hcidump file I noticed the "at+cpbs=?" command was used to get
a list of available address books (which is not supported by bluez).

drdrewusaf 2010-07-12 17:32

Re: Car kit can not access contact information...
 
Jarmo - It looks like, from the phone's side, that the transfer completes correctly. Unfortunately your head unit isn't reporting any errors. It would seem that your head unit can understand snippets, but not all of the info. I would suggest trying removing all your contacts and building them one by one from scratch using a single phone number per entry (and make sure they are all the same type of number as well, i.e. only use the home phone field). If it transmits more than 5, keep going to 10. If all 10 make it across, stop adding number and start adding more info to the entries already made... This might help in finding what your head unit it tripping up on since we can't get any errors out of it.

Jubr - Can you re-up your hcidump in it's original form (don't use the -r switch)? I know it's not human-readable text, but Wireshark can read/format it and make it easier to get through so many packets.

Browncaravan - You found yet another typo in my instructions. The actual package you are trying to install/downgrade to is 1.4-0maemo3+0m5 (there's a second zero in there). I have fixed it in both posts with removal instructions.

Bennyz - Give it a few more tries, it should eventually send the entries to the correct directory. You can also try rebooting the phone. Finally, if your MMI is an RNS-E, give the car a rest for a while (meaning, reboot the phone and wait until morning to try again...the RNS-E is finicky...)


ALL: There's an update to OBEXD (v0.29) which seems to have a lot of changes in it. I will be building from source tonight and testing...If the new version is still successful, I will upload the resulting binary as always.



Drew

browncaravan 2010-07-12 18:55

Re: Car kit can not access contact information...
 
drdrewusaf - Thanks for your help again.

I've tried your new instructions and still not having much luck. Here are my various attempts and their results:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get install libopenobex1=1.4-0maemo3+0m5 apt-get install obexd=0.18-0maemo5+0m5
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.4-0maemo3+0m5' for 'libopenobex1' was not found
(ABOVE - BOTH AT THE SAME TIME)

/home/user # apt-get install libopenobex1=1.4-0maemo3+0m5 Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '1.4-0maemo3+0m5' for 'libopenobex1' was not found

/home/user # apt-get install libopenobex1=1.4-0maemo3+0m5 Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mp-fremantle-205-pr: Depends: obexd (= 0.18-0maemo5+0m5) but 0.28-0maemo3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

/home/user # apt-get install obexd=0.18-0maemo5+0m5
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mp-fremantle-205-pr: Depends: libopenobex1 (= 1.4-0maemo3+0m5) but 1.5-2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
/home/user #

Also, any idea why I get two phonebook entries turn up in my car? It seems that no-one else has mentioned this issue.

Thanks again - most helpful.

tthibodeau 2010-07-12 20:26

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by browncaravan (Post 748234)
I've just noticed there is an update available for maemo in the application manager. Unfortunately, it states that this update has to be performed via the PC suite. ...

I noticed the same update. As the description is exactly the same as the PR1.2 update and the size is 0KB, I'm assuming that this update is erroneous because of the messing around with obex, etc.

I don't think there really is an update to Maemo.

browncaravan 2010-07-12 20:31

Re: Car kit can not access contact information...
 
Quote:

Originally Posted by tthibodeau (Post 749597)
I noticed the same update. As the description is exactly the same as the PR1.2 update and the size is 0KB, I'm assuming that this update is erroneous because of the messing around with obex, etc.

I don't think there really is an update to Maemo.

Well that's what I'm not sure about, because the update mentions portrait browsing, internet video calling and more. My N900 do portrait browsing, so maybe this new update sorts that? Who knows. I can't find out at the minute as I can't get the PC Suite sorted. We'll see.

Cheers

Jubr 2010-07-12 21:24

Re: Car kit can not access contact information...
 
1 Attachment(s)
As requested, my unparsed hci dump...


All times are GMT. The time now is 05:16.

vBulletin® Version 3.8.8