linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] Headset problem
@ 2007-11-01  2:48 Mohan Sundaram
  2007-11-01  5:02 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Mohan Sundaram @ 2007-11-01  2:48 UTC (permalink / raw)
  To: BlueZ users

I have a Motorola headset and am trying to use it with my system. When I 
invoke the Bluetooth headset applet, the headset is discovered by does 
not register as the active handset. It looks like the connection is made 
but it still does not show up.

root@smohan-laptop:/home/smohan# hcidump
HCI sniffer - Bluetooth packet analyzer ver 1.39
device: hci0 snap_len: 1028 filter: 0xffffffff
< HCI Command: Inquiry (0x01|0x0001) plen 5
 > HCI Event: Command Status (0x0f) plen 4
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Result with RSSI (0x22) plen 15
 > HCI Event: Inquiry Complete (0x01) plen 1
< HCI Command: Remote Name Request (0x01|0x0019) plen 10
 > HCI Event: Command Status (0x0f) plen 4
 > HCI Event: Remote Name Req Complete (0x07) plen 255
< HCI Command: Create Connection (0x01|0x0005) plen 13
 > HCI Event: Command Status (0x0f) plen 4
 > HCI Event: Link Key Request (0x17) plen 6
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
 > HCI Event: Command Complete (0x0e) plen 10
 > HCI Event: Connect Complete (0x03) plen 11
< HCI Command: Read Voice Setting (0x03|0x0025) plen 0
 > HCI Event: Command Complete (0x0e) plen 6
< HCI Command: Create Connection (0x01|0x0005) plen 13
 > HCI Event: Command Status (0x0f) plen 4
 > HCI Event: Link Key Request (0x17) plen 6
< HCI Command: Link Key Request Reply (0x01|0x000b) plen 22
 > HCI Event: Command Complete (0x0e) plen 10
 > HCI Event: Connect Complete (0x03) plen 11

after this, hcitool con does not show any connections.
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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Bluez-users] Headset problem
@ 2007-11-01 13:31 Mohan Sundaram
  0 siblings, 0 replies; 10+ messages in thread
From: Mohan Sundaram @ 2007-11-01 13:31 UTC (permalink / raw)
  To: BlueZ users

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Bluez-users] Headset problem
@ 2007-11-01 13:30 Mohan Sundaram
  0 siblings, 0 replies; 10+ messages in thread
From: Mohan Sundaram @ 2007-11-01 13:30 UTC (permalink / raw)
  To: BlueZ users

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [Bluez-users] headset problem...
@ 2007-03-19  9:53 Livio Tenze
  2007-03-19 11:55 ` Wolfgang Wershofen
  0 siblings, 1 reply; 10+ messages in thread
From: Livio Tenze @ 2007-03-19  9:53 UTC (permalink / raw)
  To: bluez-users

Hi all,

I am starting to use bluez 3.9 and now I am testing the headset
connection. I found in bluez-utils/audio a daemon named
bluetoothd-service-headset. I thought it was similar to the old hstest.
I tested this daemon: it recognizes the headset but I am not able to use
the sco channel. Moreover the -o and -i options of the daemon seem not
to work.
When I try to call

bluetoothd-service-headset -c 1 -o pippo 00:03:89:75:36:7F
the program answers

headset[802]: Bluetooth headset service daemon
headset[802]: add_ag_record: got record id 0x10000
bluetoothd-service-headset: headset.c:1549: audio_headset_open_output:
Assertion `hs->output' failed.
Aborted

May you help me? How can I use the headset connection?
Thanks in advance!

Livius





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-11-01 13:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-01  2:48 [Bluez-users] Headset problem 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
  -- strict thread matches above, loose matches on Subject: below --
2007-11-01 13:31 Mohan Sundaram
2007-11-01 13:30 Mohan Sundaram
2007-03-19  9:53 [Bluez-users] headset problem Livio Tenze
2007-03-19 11:55 ` Wolfgang Wershofen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).