> I think I found a mistake in [1]. Could you please > > - open your /usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py > (as root) > > - go to lines 433 and 436 > > - change sink to source > > and see if that fixes the problem. > > Thanks! > > [1] > https://bazaar.launchpad.net/~blueman/blueman/trunk/revision/724#blueman/main/PulseAudioUtils.py
Hi, Unfortunately it doesn't work. But I've a more complete output for you, it shows when headset correctly connect the first time after bluetooth service was restarted, hope it can give some help: (N.B. changes to PulseAudioUtils.py have been reverted to original 1.23+update1-1) ### blueman 1.23+update1-1 loaded AFTER bluetooth service was restarted, so it works the first time I turn the headset on ### $ blueman-applet Loading configuration plugins blueman-applet version 1.23 starting Using gconf config backend _________ Load (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:68) ['DBusService', 'NMDUNSupport', 'SerialManager', 'StandardItems', 'NMPANSupport', 'PulseAudio', 'TransferService', 'Networking', 'ExitItem', 'PPPSupport', 'KillSwitch', 'AppIndicator', 'StatusIcon', 'Headset', 'PowerManager', 'NetUsage', 'RecentConns', 'DiscvManager', 'ShowConnected', 'AuthAgent', 'Menu', 'DhcpClient'] Using gconf config backend _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.Headset.Headset'> Using gconf config backend _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.Networking.Networking'> Using gconf config backend _________ load_nap_settings (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/Networking.py:47) Loading NAP settings _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.StatusIcon.StatusIcon'> Using gconf config backend _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.DBusService.DBusService'> _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.NMDUNSupport.NMDUNSupport'> _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.Menu.Menu'> _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.ShowConnected.ShowConnected'> _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) Not loading PPPSupport because it's conflict has higher priority _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.PulseAudio.PulseAudio'> Using gconf config backend _________ pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306) 1 _________ on_load (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PulseAudio.py:160) PulseAudio version: [2, 0, 0] _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.PowerManager.PowerManager'> _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.KillSwitch.KillSwitch'> Using gconf config backend _________ on_load (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:40) Using the new killswitch system _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.AuthAgent.AuthAgent'> _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.DhcpClient.DhcpClient'> _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.SerialManager.SerialManager'> Using gconf config backend _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.AppIndicator.AppIndicator'> /usr/lib/python2.7/dist-packages/blueman/plugins/applet/AppIndicator.py:44: Warning: /tmp/buildd/glib2.0-2.33.12+really2.32.4/./gobject/gsignal.c:2459: signal `child-added' is invalid for instance `0x2c8d090' self.indicator.set_menu(applet.Plugins.Menu.get_menu()) _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) Not loading NMPANSupport because it's conflict has higher priority _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.TransferService.TransferService'> _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.DiscvManager.DiscvManager'> Using gconf config backend _________ update_menuitems (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:132) warning: Adapter is None _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.RecentConns.RecentConns'> Using gconf config backend _________ __load_plugin (/usr/lib/python2.7/dist-packages/blueman/main/PluginManager.py:142) loading <class 'blueman.plugins.applet.StandardItems.StandardItems'> _________ pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306) 2 _________ update_state (/usr/lib/python2.7/dist-packages/blueman/main/KillSwitchNG.py:162) State: True _________ on_switch_added (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:61) killswitch registered 1 _________ on_obex_owner_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/TransferService.py:70) obex owner changed: :1.57 Using gconf config backend _________ on_dbus_name_owner_change (/usr/bin/blueman-applet:102) org.bluez owner changed to :1.94 _________ set_nap (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/Networking.py:80) set nap False _________ register_agent (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/AuthAgent.py:68) Registering agent _________ __init__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:35) caching initial properties _________ initialize (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/RecentConns.py:150) rebuilding menu _________ enumerate_connections (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/ShowConnected.py:64) Found 0 existing connections _________ pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306) 3 _________ on_started (/usr/lib/python2.7/dist-packages/blueman/main/applet/Transfer.py:88) opp Started _________ on_started (/usr/lib/python2.7/dist-packages/blueman/main/applet/Transfer.py:88) ftp Started _________ pa_context_event (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:306) 4 _________ on_adapter_property_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:103) prop UUIDs dbus.Array([dbus.String(u'00001000-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001001-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000112d-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001112-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000111f-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110c-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110e-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001103-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001105-0000-1000-8000-00805f9b34fb')], signature=dbus.Signature('s'), variant_level=1) _________ on_adapter_property_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:103) prop UUIDs dbus.Array([dbus.String(u'00001000-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001001-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000112d-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001112-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000111f-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110c-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110e-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001103-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001105-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001106-0000-1000-8000-00805f9b34fb')], signature=dbus.Signature('s'), variant_level=1) _________ on_adapter_property_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:103) prop Class 5374208 _________ <lambda> (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:318) 1 _________ on_power_state_query (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/KillSwitch.py:88) True _________ UpdatePowerState (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PowerManager.py:176) off False foff False on True current state True new state True ### BELOW, WHEN I TURN THE HEADSET ON (and it connects) ### _________ __init__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:35) caching initial properties _________ __del__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:78) deleting device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 _________ Destroy (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:114) invalidating device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 _________ __init__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:35) caching initial properties _________ on_adapter_property_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:103) prop UUIDs dbus.Array([dbus.String(u'00001000-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001001-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000112d-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001112-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000111f-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110c-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110e-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001103-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001105-0000-1000-8000-00805f9b34fb'), dbus.String(u'00001106-0000-1000-8000-00805f9b34fb'), dbus.String(u'0000110a-0000-1000-8000-00805f9b34fb')], signature=dbus.Signature('s'), variant_level=1) _________ on_adapter_property_changed (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/DiscvManager.py:103) prop Class 5898496 _________ load_cb (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PulseAudio.py:330) Load result 32 /usr/lib/python2.7/dist-packages/blueman/gui/Notification.py:169: GtkWarning: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed screen, area, orientation = status_icon.get_geometry() _________ init_services (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:91) Loading services org.bluez.Error.AlreadyConnected: Already Connected _________ __del__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:78) deleting device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 _________ Destroy (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:114) invalidating device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 _________ __event_callback (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:602) 9 6 _________ __event_callback (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:602) 4 32 ### WHEN I TURN THE HEADSET OFF ### _________ unref (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PulseAudio.py:117) 32 0 _________ unload (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PulseAudio.py:104) 32 _________ <lambda> (/usr/lib/python2.7/dist-packages/blueman/plugins/applet/PulseAudio.py:108) Unload 32 result 1 _________ __event_callback (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:602) 41 6 _________ __event_callback (/usr/lib/python2.7/dist-packages/blueman/main/PulseAudioUtils.py:602) 36 32 _________ __init__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:35) caching initial properties _________ __del__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:78) deleting device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 _________ Destroy (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:114) invalidating device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 ### AND WHEN I TURN THE HEADSET ON AGAIN (it doesn't work anymore, it requires bluetooth service to be restarted) _________ __init__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:35) caching initial properties _________ __del__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:78) deleting device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 _________ Destroy (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:114) invalidating device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 _________ __init__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:35) caching initial properties _________ __del__ (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:78) deleting device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 _________ Destroy (/usr/lib/python2.7/dist-packages/blueman/main/Device.py:114) invalidating device /org/bluez/2642/hci0/dev_00_18_E4_10_CD_69 Regards -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org