All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mohan Sundaram <mohan.tux@gmail.com>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: [Bluez-users] Headset problem
Date: Thu, 01 Nov 2007 19:01:18 +0530	[thread overview]
Message-ID: <4729D526.8050308@vsnl.com> (raw)

OS: Ubuntu Gutsy with standard Bluez utils
Headset utility command: gksudo -D 
/usr/share/applications/gbtsco.desktop /usr/bin/gbtsco
Paired devices management: kcmshell kcm_btpaired

Removed pairing and discovered Motorola HS805. Connects when choose make 
active headset in gbtsco. Bluetooth Manager shows popup where 0000 is 
given and connection gets established. Used hcitool to check.

	root@smohan-laptop:/home/smohan# hcitool con
	Connections:
         	< ACL 00:0B:2E:39:31:3F handle 12 state 1 lm MASTER
	root@smohan-laptop:/home/smohan#

Powered off headset. Powered it on and it was discovered in gbtsco. 
However, make active handset failed. hcidump shown below.

root@smohan-laptop:/home/smohan# hcidump -X -V
HCI sniffer - Bluetooth packet analyzer ver 1.39
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Create Connection (0x01|0x0005) plen 13
     bdaddr 00:0B:2E:39:31:3F ptype 0xcc18 rswitch 0x01 clkoffset 0x5c16 
(valid)
     Packet type: DM1 DM3 DM5 DH1 DH3 DH5
 > HCI Event: Command Status (0x0f) plen 4
     Create Connection (0x01|0x0005) status 0x00 ncmd 1
 > HCI Event: Link Key Request (0x17) plen 6
     bdaddr 00:0B:2E:39:31:3F
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
     bdaddr 00:0B:2E:39:31:3F key 265F25F5209707194F1651FF8A49B049
 > HCI Event: Command Complete (0x0e) plen 10
     Link Key Request Reply (0x01|0x000b) ncmd 1
     status 0x00 bdaddr 00:0B:2E:39:31:3F
 > HCI Event: Connect Complete (0x03) plen 11
     status 0x05 handle 12 bdaddr 00:0B:2E:39:31:3F type ACL encrypt 0x00
     Error: Authentication Failure
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
 > HCI Event: Command Complete (0x0e) plen 6
     Read Voice Setting (0x03|0x0025) ncmd 1
     status 0x00 voice setting 0x0060
< HCI Command: Create Connection (0x01|0x0005) plen 13
     bdaddr 00:0B:2E:39:31:3F ptype 0xcc18 rswitch 0x01 clkoffset 0x5c16 
(valid)
     Packet type: DM1 DM3 DM5 DH1 DH3 DH5
 > HCI Event: Command Status (0x0f) plen 4
     Create Connection (0x01|0x0005) status 0x00 ncmd 1
 > HCI Event: Link Key Request (0x17) plen 6
     bdaddr 00:0B:2E:39:31:3F
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
     bdaddr 00:0B:2E:39:31:3F key 265F25F5209707194F1651FF8A49B049
 > HCI Event: Command Complete (0x0e) plen 10
     Link Key Request Reply (0x01|0x000b) ncmd 1
     status 0x00 bdaddr 00:0B:2E:39:31:3F
 > HCI Event: Connect Complete (0x03) plen 11
     status 0x05 handle 12 bdaddr 00:0B:2E:39:31:3F type ACL encrypt 0x00
     Error: Authentication Failure

How do I get this to work if it is paired once? In Bluetooth 
preferences, the device is seen as a bonded and trusted device too.

Mohan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2007-11-01 13:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-01 13:31 Mohan Sundaram [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-11-01 13:30 [Bluez-users] Headset problem Mohan Sundaram
2007-11-01  2:48 Mohan Sundaram
2007-11-01  5:02 ` Marcel Holtmann
2007-11-01  6:27   ` Mohan Sundaram
2007-11-01  6:32     ` Marcel Holtmann
2007-11-01  7:19       ` Mohan Sundaram
2007-11-01  7:26       ` Mohan Sundaram
2007-03-19  9:53 [Bluez-users] headset problem Livio Tenze
2007-03-19 11:55 ` Wolfgang Wershofen

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=4729D526.8050308@vsnl.com \
    --to=mohan.tux@gmail.com \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=smohan@vsnl.com \
    /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.