All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carl K <carl@personnelware.com>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] PM325 by LG cell phone - pairing failed
Date: Fri, 09 Jun 2006 03:02:45 -0500	[thread overview]
Message-ID: <44892B25.6000309@personnelware.com> (raw)
In-Reply-To: <1149836904.6618.4.camel@localhost>

Marcel Holtmann wrote:
> Hi Carl,
>
>   
>> I am trying to pair my phone to my ubuntu/dapper laptop . 
>> carl@asus17:~$ lsusb
>>
>> Bus 003 Device 002: ID 044e:3001 Alps Electric Co., Ltd UGTZ4 Bluetooth
>> carl@asus17:~$ cat /etc/bluetooth/pin
>> 1234
>> carl@asus17:~$ sudo /etc/init.d/bluez-utils start
>>
>> On the phone:  menu, bluetooth, add new, Searching and Pairing,
>> it shows asus17-0, I select that, phone prompts "Enter PIN code", I 
>> enter 1234<Next> and within a second get "pairing failed"
>>
>> guessing because of this:
>>
>> Jun  9 00:37:42 localhost gconfd (root-7749): starting (version 2.14.0), 
>> pid 7749 user 'root'
>> Jun  9 00:37:42 localhost gconfd (root-7749): Resolved address 
>> "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only 
>> configuration source at position 0
>> Jun  9 00:37:42 localhost gconfd (root-7749): Resolved address 
>> "xml:readwrite:/root/.gconf" to a writable configuration source at 
>> position 1
>> Jun  9 00:37:42 localhost gconfd (root-7749): Resolved address 
>> "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only 
>> configuration source at position 2
>> Jun  9 00:37:42 localhost gconfd (root-7749): Resolved address 
>> "xml:readonly:/var/lib/gconf/debian.defaults" to a read-only 
>> configuration source at position 3
>> Jun  9 00:37:42 localhost gconfd (root-7749): Resolved address 
>> "xml:readonly:/var/lib/gconf/defaults" to a read-only configuration 
>> source at position 4
>> Jun  9 00:38:42 localhost gconfd (root-7749): GConf server is not in 
>> use, shutting down.
>> Jun  9 00:38:42 localhost gconfd (root-7749): Exiting
>>
>> Jun  9 01:03:08 localhost hcid[8572]: Bluetooth HCI daemon
>> Jun  9 01:03:08 localhost hcid[8572]: Can't get system message bus name: 
>> Connection ":1.15" is not allowed to own the service "org.bluez" due to 
>> security policies in the configuration file
>> Jun  9 01:03:08 localhost hcid[8572]: Starting security manager 0
>> Jun  9 01:03:08 localhost sdpd[8577]: Bluetooth SDP daemon
>>
>>
>> I probably need to file a bug report with ubuntu, but I would like to 
>> get some feedback from the experts so that the report has some useful info.
>>     
>
> for the "security policies" error you should really file a bug report
> with Ubuntu. 
will do.

> For the rest show us the output of "hcidump -X -V" while
> you are trying to pair. I suspect that you PIN help isn't called
> properly.
>   
HCI sniffer - Bluetooth packet analyzer ver 1.28
device: hci0 snap_len: 1028 filter: 0xffffffff
 > HCI Event: Connect Request (0x04) plen 10
    bdaddr 08:00:37:03:EF:36 class 0x400204 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
    bdaddr 08:00:37:03:EF:36 role 0x01
    Role: Slave
 > HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
 > HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 42 bdaddr 08:00:37:03:EF:36 type ACL encrypt 0x00
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
    handle 42 policy 0x0f
    Link policy: RSWITCH HOLD SNIFF PARK
 > HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
    bdaddr 08:00:37:03:EF:36 mode 1
 > HCI Event: Command Complete (0x0e) plen 6
    Write Link Policy Settings (0x02|0x000d) ncmd 1
    status 0x00 handle 42
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
    handle 42 ptype 0xcc18
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
 > HCI Event: Command Status (0x0f) plen 4
    Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
 > HCI Event: Connection Packet Type Changed (0x1d) plen 5
    status 0x00 handle 42 ptype 0xcc18
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
 > HCI Event: Max Slots Change (0x1b) plen 3
    handle 42 slots 5
 > HCI Event: PIN Code Request (0x16) plen 6
    bdaddr 08:00:37:03:EF:36
< HCI Command: PIN Code Request Reply (0x01|0x000d) plen 23
    bdaddr 08:00:37:03:EF:36 len 4 pin '1234'
 > HCI Event: Command Complete (0x0e) plen 10
    PIN Code Request Reply (0x01|0x000d) ncmd 1
    status 0x00 bdaddr 08:00:37:03:EF:36
 > HCI Event: Link Key Notification (0x18) plen 23
    bdaddr 08:00:37:03:EF:36 key 7ECC0F84F68E851175F204130B4E561A type 0
 > HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 42 reason 0x13
    Reason: Remote User Terminated Connection
 > HCI Event: Connect Request (0x04) plen 10
    bdaddr 08:00:37:03:EF:36 class 0x400204 type ACL
< HCI Command: Accept Connection Request (0x01|0x0009) plen 7
    bdaddr 08:00:37:03:EF:36 role 0x01
    Role: Slave
 > HCI Event: Command Status (0x0f) plen 4
    Accept Connection Request (0x01|0x0009) status 0x00 ncmd 1
 > HCI Event: Connect Complete (0x03) plen 11
    status 0x00 handle 43 bdaddr 08:00:37:03:EF:36 type ACL encrypt 0x00
< HCI Command: Write Link Policy Settings (0x02|0x000d) plen 4
    handle 43 policy 0x0f
    Link policy: RSWITCH HOLD SNIFF PARK
 > HCI Event: Page Scan Repetition Mode Change (0x20) plen 7
    bdaddr 08:00:37:03:EF:36 mode 1
 > HCI Event: Command Complete (0x0e) plen 6
    Write Link Policy Settings (0x02|0x000d) ncmd 1
    status 0x00 handle 43
< HCI Command: Change Connection Packet Type (0x01|0x000f) plen 4
    handle 43 ptype 0xcc18
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
 > HCI Event: Command Status (0x0f) plen 4
    Change Connection Packet Type (0x01|0x000f) status 0x00 ncmd 1
 > HCI Event: Connection Packet Type Changed (0x1d) plen 5
    status 0x00 handle 43 ptype 0xcc18
    Packet type: DM1 DM3 DM5 DH1 DH3 DH5
 > HCI Event: Max Slots Change (0x1b) plen 3
    handle 43 slots 5
 > ACL data: handle 43 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0044
< ACL data: handle 43 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0044 result 0 status 0
      Connection successful
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > ACL data: handle 43 flags 0x02 dlen 20
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 8
      MTU 256 FlushTO 65535
< ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0044 flags 0x00 result 0 clen 0
      Success
< ACL data: handle 43 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0044 flags 0x00 clen 0
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
 > ACL data: handle 43 flags 0x02 dlen 22
    L2CAP(d): cid 0x0040 len 18 [psm 1]
        SDP SSA Req: tid 0x0 len 0xd
          pat uuid-16 0x1108 (Headset)
          max 240
          aid(s) 0x0001 (SrvClassIDList)
          cont 00
< ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(d): cid 0x0044 len 10 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x5
          count 2
          cont 00
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > ACL data: handle 43 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0044
< ACL data: handle 43 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0044
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > ACL data: handle 43 flags 0x02 dlen 12
    L2CAP(s): Connect req: psm 1 scid 0x0045
< ACL data: handle 43 flags 0x02 dlen 16
    L2CAP(s): Connect rsp: dcid 0x0040 scid 0x0045 result 0 status 0
      Connection successful
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > ACL data: handle 43 flags 0x02 dlen 20
    L2CAP(s): Config req: dcid 0x0040 flags 0x00 clen 8
      MTU 256 FlushTO 65535
< ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0045 flags 0x00 result 0 clen 0
      Success
< ACL data: handle 43 flags 0x02 dlen 12
    L2CAP(s): Config req: dcid 0x0045 flags 0x00 clen 0
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(s): Config rsp: scid 0x0040 flags 0x00 result 0 clen 0
      Success
 > ACL data: handle 43 flags 0x02 dlen 22
    L2CAP(d): cid 0x0040 len 18 [psm 1]
        SDP SSA Req: tid 0x0 len 0xd
          pat uuid-16 0x111e (Handsfree)
          max 240
          aid(s) 0x0001 (SrvClassIDList)
          cont 00
< ACL data: handle 43 flags 0x02 dlen 14
    L2CAP(d): cid 0x0045 len 10 [psm 1]
        SDP SSA Rsp: tid 0x0 len 0x5
          count 2
          cont 00
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > ACL data: handle 43 flags 0x02 dlen 12
    L2CAP(s): Disconn req: dcid 0x0040 scid 0x0045
< ACL data: handle 43 flags 0x02 dlen 12
    L2CAP(s): Disconn rsp: dcid 0x0040 scid 0x0045
 > HCI Event: Number of Completed Packets (0x13) plen 5
    handle 43 packets 1
 > HCI Event: Disconn Complete (0x05) plen 4
    status 0x00 handle 43 reason 0x13
    Reason: Remote User Terminated Connection




_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2006-06-09  8:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-09  6:32 [Bluez-users] PM325 by LG cell phone - pairing failed Carl K
2006-06-09  7:08 ` Marcel Holtmann
2006-06-09  8:02   ` Carl K [this message]
2006-06-09  8:07     ` Marcel Holtmann
2006-06-09  8:27       ` Carl K
2006-06-09  8:40         ` Marcel Holtmann
2006-06-09  9:38           ` Carl K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44892B25.6000309@personnelware.com \
    --to=carl@personnelware.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.