2006-01-13 11:39:57

by Victor Shcherbatyuk

[permalink] [raw]
Subject: RE: [Bluez-devel] Problems with smart phones when using a "silent"kernel

Marcel,

Small update. I've tried to connect with rfcomm tool - the same
behaviour. With the silent kernel it does not connect to Windows Mobile
phones. The logs show attempts to connect to the phone with "normal"
kernel (connection successful) and "silent" one (fails). PSM Not
Supported is something that probably goes wrong...

Regards,
Victor.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Victor
Shcherbatyuk
Sent: Thursday, January 12, 2006 14:35 PM
To: [email protected]
Subject: RE: [Bluez-devel] Problems with smart phones when using a
"silent"kernel

Marcel,

Well, there are some PSM not supported packets in the failing dump. But
I still can not figure out what is wrong there... Thanks.

Regards,
Victor.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Marcel
Holtmann
Sent: Thursday, January 12, 2006 14:27 PM
To: [email protected]
Subject: Re: [Bluez-devel] Problems with smart phones when using a
"silent"kernel

Hi Victor,

> I have a very strange problem here. When using a "silent" kernel
> (CONFIG_CMDLINE="console=/dev/null quiet" instead of
> CONFIG_CMDLINE="console=ttySAC0,115200") It is no longer possible to
> pair with Microsoft smartphones. A phone reports "the connection
> failed or pass key is incorrect". If a phone was already paired
> everything works fine. Other phones work fine too. Any clue what can
> go wrong. All this doesn't make much sence, but it is reality :) I've
> attached the dumps for the same phone for both of the kernels (silent
> and not). We use 2.6.13 with bluez 2.15 and there is no option to
> switch to something more recent. Just wonder what can cause the
> problem.... From the log I see that pairing actually went ok, cause it

> switched on encryption mode and exchanged some AT's, might be
> something with our application as well, but does not seem to be
likelly...

I don't see any strange inside the dump and I doubt that it really has
something to do with the console option. Maybe your application can live
if the console is /dev/null.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that
makes searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


This e-mail message contains information which is confidential and may
be privileged. It is intended for use by the addressee only. If you are
not the intended addressee, we request that you notify the sender
immediately and delete or destroy this e-mail message and any
attachment(s), without copying, saving, forwarding, disclosing or using
its contents in any other way. TomTom N.V., TomTom International BV or
any other company belonging to the TomTom group of companies will not be
liable for damage relating to the communication by e-mail of data,
documents or any other information.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that
makes searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel


This e-mail message contains information which is confidential and may be privileged. It is intended for use by the addressee only. If you are not the intended addressee, we request that you notify the sender immediately and delete or destroy this e-mail message and any attachment(s), without copying, saving, forwarding, disclosing or using its contents in any other way. TomTom N.V., TomTom International BV or any other company belonging to the TomTom group of companies will not be liable for damage relating to the communication by e-mail of data, documents or any other information.


Attachments:
hcidump_log_silent.txt (5.81 kB)
hcidump_log_silent.txt
hcidump_log.txt (14.02 kB)
hcidump_log.txt
Download all attachments

2006-01-13 12:13:18

by Marcel Holtmann

[permalink] [raw]
Subject: RE: [Bluez-devel] Problems with smart phones when using a "silent"kernel

Hi Victor,

> Small update. I've tried to connect with rfcomm tool - the same
> behaviour. With the silent kernel it does not connect to Windows Mobile
> phones. The logs show attempts to connect to the phone with "normal"
> kernel (connection successful) and "silent" one (fails). PSM Not
> Supported is something that probably goes wrong...

these stupid Microsoft devices. Everytime they get a connection, they
connect back to the SDP server of that device and this fails. So it
seems to me that the SDP daemon is not running or have problems with the
console redirected to /dev/null. Check in the log files for errors from
sdpd. Or you might need to use strace to track it.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel