Return-Path: Message-ID: <369400.87206.qm@web95405.mail.in2.yahoo.com> References: <5d223510905060754p70b53725u52963a0b41c82788@mail.gmail.com> <363123.87568.qm@web95416.mail.in2.yahoo.com> <5d223510905070559q320fed9do34252e99473e1acf@mail.gmail.com> Date: Thu, 7 May 2009 18:51:56 +0530 (IST) From: balaji palaniswami Subject: Re: HSP and HFP no sound To: Rafael Seste Cc: linux-bluetooth@vger.kernel.org In-Reply-To: <5d223510905070559q320fed9do34252e99473e1acf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hello Rafael , Thanks for your output. Now i am trying to upgrade bluez stack from 4.12 defualt to 4.38 top of tree. OS :Ubuntu 8.10 Bluetooth dongle :Broadcom Head set :Jabra B160 Skype version :2.0.0.72 I just upgraded from Bluez 4.12 to 4.38 .In 4.38 bluez , i am able to pair the dongle with headset but i have no luck to hear test call from skype.I captured hcidump and looked into that it terminated with Disconnection after pairing.Once i started the skype there is no l2cap connection establishment.but it is working fine in 4.17. I will post dump for your analysis. Can you share your experience regarding this? Thanks, Balaji.P ----- Original Message ---- From: Rafael Seste To: balaji palaniswami Cc: linux-bluetooth@vger.kernel.org Sent: Thursday, 7 May, 2009 6:29:34 PM Subject: Re: HSP and HFP no sound Hi Balaji, here is the initialization output: bluetoothd[1475]: Bluetooth daemon bluetoothd[1475]: Enabling debug information bluetoothd[1475]: parsing main.conf bluetoothd[1475]: discovto=0 bluetoothd[1475]: pairto=0 bluetoothd[1475]: pageto=8192 bluetoothd[1475]: name=Sheeva bluetoothd[1475]: class=0x100204 bluetoothd[1475]: inqmode=0 bluetoothd[1475]: Key file does not have key 'DeviceID' bluetoothd[1475]: Starting SDP server bluetoothd[1475]: Loading plugins /usr/lib/bluetooth/plugins bluetoothd[1475]: Unix socket created: 11 bluetoothd[1475]: audio.conf: Key file does not have key 'MaxConnected' bluetoothd[1475]: Telephony plugin initialized bluetoothd[1475]: HFP AG features: "Ability to reject a call" "Enhanced call status" "Extended Error Result Codes" bluetoothd[1475]: Starting experimental netlink support bluetoothd[1475]: Failed to find Bluetooth netlink family bluetoothd[1475]: register_interface: path /org/bluez/1475/any bluetoothd[1475]: Registered interface org.bluez.Service on path /org/bluez/1475/any bluetoothd[1475]: /etc/bluetooth/network.conf: Key file does not have key 'Disable' bluetoothd[1475]: /etc/bluetooth/network.conf: Key file does not have key 'DisableSecurity' bluetoothd[1475]: /etc/bluetooth/network.conf: Key file does not have key 'Interface' bluetoothd[1475]: /etc/bluetooth/network.conf: Key file does not have key 'Interface' bluetoothd[1475]: /etc/bluetooth/network.conf: Key file does not have key 'Interface' bluetoothd[1475]: Config options: InterfacePrefix=bnep%d, PANU_Script=(null), GN_Script=(null), NAP_Script=(null), GN_Interface=pan0, NAP_Interface=pan1, Security=true bluetoothd[1475]: Failed to open control socket: Protocol not supported (93) bluetoothd[1475]: Can't init bnep module bluetoothd[1475]: input.conf: Key file does not have key 'IdleTimeout' bluetoothd[1475]: HCI dev 0 registered bluetoothd[1475]: child 1476 forked bluetoothd[1475]: HCI dev 0 up bluetoothd[1475]: Starting security manager 0 bluetoothd[1475]: headset_server_probe: path /org/bluez/1475/hci0 bluetoothd[1475]: audio.conf: Key file does not have key 'Master' bluetoothd[1475]: Adding record with handle 0x10000 bluetoothd[1475]: Record pattern UUID 00000003-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00000100-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001002-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001108-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001112-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001203-0000-1000-8000-00805f9 bluetoothd[1475]: audio.conf: Key file does not have key 'SCORouting' bluetoothd[1475]: Adding record with handle 0x10001 bluetoothd[1475]: Record pattern UUID 00000003-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00000100-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001002-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 0000111e-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 0000111f-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001203-0000-1000-8000-00805f9 bluetoothd[1475]: Changing service classes to 0x400204 bluetoothd[1475]: a2dp_server_probe: path /org/bluez/1475/hci0 bluetoothd[1475]: audio.conf: Key file does not have key 'Disable' bluetoothd[1475]: audio.conf: Key file does not have group 'A2DP' bluetoothd[1475]: audio.conf: Key file does not have group 'A2DP' bluetoothd[1475]: audio.conf: Key file does not have group 'A2DP' bluetoothd[1475]: audio.conf: Key file does not have group 'A2DP' bluetoothd[1475]: audio.conf: Key file does not have key 'Master' bluetoothd[1475]: SEP 0x2a04fc08 registered: type:0 codec:0 seid:1 bluetoothd[1475]: Adding record with handle 0x10002 bluetoothd[1475]: Record pattern UUID 00000019-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00000100-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001002-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 0000110a-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 0000110d-0000-1000-8000-00805f9 bluetoothd[1475]: Changing service classes to 0x480204 bluetoothd[1475]: avrcp_server_probe: path /org/bluez/1475/hci0 bluetoothd[1475]: audio.conf: Key file does not have key 'Master' bluetoothd[1475]: Adding record with handle 0x10003 bluetoothd[1475]: Record pattern UUID 00000017-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00000100-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001002-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 0000110c-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 0000110e-0000-1000-8000-00805f9 bluetoothd[1475]: Changing service classes to 0x480204 bluetoothd[1475]: Adding record with handle 0x10004 bluetoothd[1475]: Record pattern UUID 00000017-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00000100-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 00001002-0000-1000-8000-00805f9 bluetoothd[1475]: Record pattern UUID 0000110e-0000-1000-8000-00805f9 bluetoothd[1475]: Changing service classes to 0x480204 bluetoothd[1475]: proxy_probe: path /org/bluez/1475/hci0 bluetoothd[1475]: Registered interface org.bluez.SerialProxyManager on path /org/bluez/1475/hci0 bluetoothd[1475]: register_interface: path /org/bluez/1475/hci0 bluetoothd[1475]: Registered interface org.bluez.Service on path /org/bluez/1475/hci0 bluetoothd[1475]: Creating device /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: Probe drivers for /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: adapter_get_device(00:1D:FD:E4:42:FF) bluetoothd[1475]: audio handle_uuid: server not enabled for 00001112-0000-1000-8000-00805f9b34fb (0x1112) bluetoothd[1475]: audio handle_uuid: server not enabled for 0000111f-0000-1000-8000-00805f9b34fb (0x111f) bluetoothd[1475]: audio handle_uuid: server not enabled for 0000110a-0000-1000-8000-00805f9b34fb (0x110a) bluetoothd[1475]: Found AV Target bluetoothd[1475]: Registered interface org.bluez.Control on path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: Found AV Remote bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00000002-0000-1000-8000-0002ee000002 bluetoothd[1475]: Registered interface org.bluez.Serial on path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00001101-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00001103-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00001105-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00001106-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00001112-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 0000111f-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 0000112d-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 0000112f-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00005002-0000-1000-8000-0002ee000001 bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00005557-0000-1000-8000-0002ee000001 bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF: 00005601-0000-1000-8000-0002ee000001 bluetoothd[1475]: headset_probe: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: probe failed with driver input-headset for device /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: Creating device /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: Probe drivers for /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: adapter_get_device(00:21:FB:B4:45:07) bluetoothd[1475]: audio handle_uuid: server not enabled for 00001112-0000-1000-8000-00805f9b34fb (0x1112) bluetoothd[1475]: audio handle_uuid: server not enabled for 0000111f-0000-1000-8000-00805f9b34fb (0x111f) bluetoothd[1475]: audio handle_uuid: server not enabled for 0000110a-0000-1000-8000-00805f9b34fb (0x110a) bluetoothd[1475]: Found AV Target bluetoothd[1475]: Registered interface org.bluez.Control on path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: Found AV Target bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07: 00001101-0000-1000-8000-00805f9b34fb bluetoothd[1475]: Registered interface org.bluez.Serial on path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07: 00001105-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07: 00001106-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07: 00001112-0000-1000-8000-00805f9b34fb bluetoothd[1475]: serial_probe: path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07: 0000111f-0000-1000-8000-00805f9b34fb bluetoothd[1475]: headset_probe: path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: probe failed with driver input-headset for device /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: Adapter /org/bluez/1475/hci0 has been enabled bluetoothd[1475]: child 1476 exited bluetoothd[1475]: Failed to access HAL here is the output to pair the cell phone. bluetoothd[1475]: adapter_get_device(00:1D:FD:E4:42:FF) bluetoothd[1475]: link_key_request (sba=00:19:5D:0F:53:07, dba=00:1D:FD:E4:42:FF) bluetoothd[1475]: kernel auth requirements = 0x00 bluetoothd[1475]: stored link key type = 0x00 During the call, this was the output: bluetoothd[1475]: No matching connection found for handle 92 and here is the finalization output: bluetoothd[1475]: Removing adapter /org/bluez/1475/hci0 bluetoothd[1475]: headset_server_remove: path /org/bluez/1475/hci0 bluetoothd[1475]: Removing record with handle 0x10000 bluetoothd[1475]: Removing record with handle 0x10001 bluetoothd[1475]: a2dp_server_remove: path /org/bluez/1475/hci0 bluetoothd[1475]: Removing record with handle 0x10002 bluetoothd[1475]: avrcp_server_remove: path /org/bluez/1475/hci0 bluetoothd[1475]: Removing record with handle 0x10004 bluetoothd[1475]: Removing record with handle 0x10003 bluetoothd[1475]: proxy_remove: path /org/bluez/1475/hci0 bluetoothd[1475]: unregister_interface: path /org/bluez/1475/hci0 bluetoothd[1475]: Removing device /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: Unregistered interface org.bluez.Control on path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: serial_remove: path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: Unregistered interface org.bluez.Serial on path /org/bluez/1475/hci0/dev_00_1D_FD_E4_42_FF bluetoothd[1475]: Removing device /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: Unregistered interface org.bluez.Control on path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: serial_remove: path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: Unregistered interface org.bluez.Serial on path /org/bluez/1475/hci0/dev_00_21_FB_B4_45_07 bluetoothd[1475]: Cleanup plugins bluetoothd[1475]: unregister_interface: path /org/bluez/1475/any bluetoothd[1475]: Stopping SDP server bluetoothd[1475]: Exit I hope this can help. Tks Rafael On Wed, May 6, 2009 at 11:48 PM, balaji palaniswami wrote: > > Hi Rafael , > > root@debian:/var/log# bluetoothd -dn > bluetoothd[1535]: Bluetooth daemon > bluetoothd[1535]: Enabling debug information > bluetoothd[1535]: parsing main.conf > bluetoothd[1535]: discovto=0 > bluetoothd[1535]: pairto=0 > bluetoothd[1535]: pageto=8192 > bluetoothd[1535]: name=Sheeva > bluetoothd[1535]: class=0x100204 > bluetoothd[1535]: inqmode=0 > bluetoothd[1535]: Key file does not have key 'DeviceID' > bluetoothd[1535]: Unable to get on D-Bus > > > > From above log message , daemon is not able to get dbus instance because another bluetooth daemon is already running . > so stop the already running bluetooth dameon by service stop bluetooth > then start bluetooth -d -n > > Please share your output > Thanks, > Balaji.P > > > ----- Original Message ---- > From: Rafael Seste > To: linux-bluetooth@vger.kernel.org > Sent: Wednesday, 6 May, 2009 8:24:41 PM > Subject: HSP and HFP no sound > > Hi > > I'm trying to make bluetooth work in a embedded hw its an arm. I'm > using HSP and HFP. > I can scan, pair, make and receive calls but I can hear no sound in > both directions. > > I'm posting some information: > > root@debian:/var/log# uname -a > Linux debian 2.6.22.18 #3 Tue May 5 15:51:47 BRT 2009 armv5tejl GNU/Linux > > root@debian:/var/log# apt-cache policy bluez > bluez: > Installed: 4.32-0ubuntu4 > Candidate: 4.32-0ubuntu4 > Version table: > *** 4.32-0ubuntu4 0 > 500 http://ports.ubuntu.com jaunty/main Packages > 100 /var/lib/dpkg/status > > root@debian:/var/log# vi syslog > May 6 09:34:53 debian kernel: usb 1-1: new full speed USB device > using ehci_marvell and address 3 > May 6 09:34:53 debian kernel: usb 1-1: configuration #1 chosen from 1 choice > May 6 09:34:53 debian bluetoothd[1235]: HCI dev 0 registered > May 6 09:34:54 debian bluetoothd[1235]: HCI dev 0 up > May 6 09:34:54 debian bluetoothd[1235]: Starting security manager 0 > May 6 09:34:54 debian bluetoothd[1235]: rfcomm_bind: Address already > in use (98) > May 6 09:34:54 debian bluetoothd[1235]: audio-headset: Operation not > permitted (1) > May 6 09:34:54 debian bluetoothd[1235]: l2cap_bind: Address already in use (98) > May 6 09:34:54 debian bluetoothd[1235]: audio-a2dp: Operation not permitted (1) > May 6 09:34:54 debian bluetoothd[1235]: Registered interface > org.bluez.SerialProxyManager on path /org/bluez/1235/hci0 > May 6 09:34:54 debian bluetoothd[1235]: Registered interface > org.bluez.Service on path /org/bluez/1235/hci0 > May 6 09:34:54 debian bluetoothd[1235]: Registered interface > org.bluez.Control on path /org/bluez/1235/hci0/dev_00_1D_FD_E4_42_FF > May 6 09:34:54 debian bluetoothd[1235]: Registered interface > org.bluez.Serial on path /org/bluez/1235/hci0/dev_00_1D_FD_E4_42_FF > May 6 09:34:54 debian bluetoothd[1235]: probe failed with driver > input-headset for device /org/bluez/1235/hci0/dev_00_1D_FD_E4_42_FF > May 6 09:34:54 debian bluetoothd[1235]: Registered interface > org.bluez.Control on path /org/bluez/1235/hci0/dev_00_21_FB_B4_45_07 > May 6 09:34:54 debian bluetoothd[1235]: Registered interface > org.bluez.Serial on path /org/bluez/1235/hci0/dev_00_21_FB_B4_45_07 > May 6 09:34:54 debian bluetoothd[1235]: probe failed with driver > input-headset for device /org/bluez/1235/hci0/dev_00_21_FB_B4_45_07 > May 6 09:34:54 debian bluetoothd[1235]: Adapter /org/bluez/1235/hci0 > has been enabled > May 6 09:34:54 debian bluetoothd[1235]: Failed to access HAL > > root@debian:/var/log# hciconfig -a > hci0: Type: USB > BD Address: 00:19:5D:0F:53:07 ACL MTU: 672:3 SCO MTU: 48:1 > UP RUNNING PSCAN > RX bytes:4082 acl:51 sco:0 events:157 errors:0 > TX bytes:1715 acl:52 sco:0 commands:72 errors:0 > Features: 0xff 0x3e 0x85 0x30 0x18 0x18 0x00 0x00 > Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 > Link policy: RSWITCH HOLD SNIFF PARK > Link mode: SLAVE ACCEPT > Name: 'Sheeva' > Class: 0x480204 > Service Classes: Capturing, Telephony > Device Class: Phone, Cellular > HCI Ver: 1.2 (0x2) HCI Rev: 0x1f4 LMP Ver: 1.2 (0x2) LMP Subver: 0x1f4 > Manufacturer: Integrated System Solution Corp. (57) > > > root@debian:/var/log# hciconfig hci0 voice > hci0: Type: USB > BD Address: 00:19:5D:0F:53:07 ACL MTU: 672:3 SCO MTU: 48:1 > Voice setting: 0x0060 (Default Condition) > Input Coding: Linear > Input Data Format: 2's complement > Input Sample Size: 16 bit > # of bits padding at MSB: 0 > > root@debian:/var/log# bluetoothd -dn > bluetoothd[1535]: Bluetooth daemon > bluetoothd[1535]: Enabling debug information > bluetoothd[1535]: parsing main.conf > bluetoothd[1535]: discovto=0 > bluetoothd[1535]: pairto=0 > bluetoothd[1535]: pageto=8192 > bluetoothd[1535]: name=Sheeva > bluetoothd[1535]: class=0x100204 > bluetoothd[1535]: inqmode=0 > bluetoothd[1535]: Key file does not have key 'DeviceID' > bluetoothd[1535]: Unable to get on D-Bus > > > > -- > Rafael S. Seste > Eng Computa??o - Unicamp > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > Cricket on your mind? Visit the ultimate cricket website. Enter http://beta.cricket.yahoo.com > > -- > To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Rafael S. Seste Eng Computa??o - Unicamp Cricket on your mind? Visit the ultimate cricket website. Enter http://beta.cricket.yahoo.com