Lots of errors etc in syslog, added some notes on top of the obvious errors.
Kernel keeps spamming syslog with these (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1748565): kernel: [15621.044566] Bluetooth: hci0: last event is not cmd complete (0x0f) Note: this kernel message disappears when and if i get a bluetooth connection that works with AD2P. If HSP/HFP is set instead this message spams the log. 1) Ubuntu control panel, events when enabling bluetooth: systemd[1]: Starting Load/Save RF Kill Switch Status... systemd[1]: Started Load/Save RF Kill Switch Status. kernel: [15952.121703] usb 1-7: new full-speed USB device number 16 using xhci_hcd kernel: [15952.271062] usb 1-7: New USB device found, idVendor=8087, idProduct=0a2b kernel: [15952.271069] usb 1-7: New USB device strings: Mfr=0, Product=0, SerialNumber=0 kernel: [15952.274564] Bluetooth: hci0: Bootloader revision 0.0 build 26 week 38 2015 kernel: [15952.275558] Bluetooth: hci0: Device revision is 16 kernel: [15952.275563] Bluetooth: hci0: Secure boot is enabled kernel: [15952.275566] Bluetooth: hci0: OTP lock is enabled kernel: [15952.275569] Bluetooth: hci0: API lock is enabled kernel: [15952.275572] Bluetooth: hci0: Debug lock is disabled kernel: [15952.275576] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 kernel: [15952.276189] Bluetooth: hci0: Found device firmware: intel/ibt-12-16.sfi systemd[1]: Reached target Bluetooth. upowerd[1560]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.1 upowerd[1560]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0 upowerd[1560]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb1/1-7 kernel: [15952.453260] [UFW BLOCK] IN=wlp4s0 OUT= MAC= SRC=fe80:0000:0000:0000:XXX DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=807886 PROTO=UDP SPT=8612 DPT=8612 LEN=24 kernel: [15952.453273] [UFW BLOCK] IN=wlp4s0 OUT= MAC= SRC=fe80:0000:0000:0000:XXX DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=273955 PROTO=UDP SPT=8612 DPT=8610 LEN=24 kernel: [15952.463425] [UFW BLOCK] IN=wlp4s0 OUT= MAC= SRC=fe80:0000:0000:0000:XXX DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=807886 PROTO=UDP SPT=8612 DPT=8612 LEN=24 kernel: [15952.463447] [UFW BLOCK] IN=wlp4s0 OUT= MAC= SRC=fe80:0000:0000:0000:XXX DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=64 TC=0 HOPLIMIT=1 FLOWLBL=273955 PROTO=UDP SPT=8612 DPT=8610 LEN=24 kernel: [15953.936818] Bluetooth: hci0: Waiting for firmware download to complete kernel: [15953.937485] Bluetooth: hci0: Firmware loaded in 1625036 usecs kernel: [15953.937530] Bluetooth: hci0: Waiting for device to boot kernel: [15953.949542] Bluetooth: hci0: Device booted in 11737 usecs kernel: [15953.949684] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-12-16.ddc kernel: [15953.960521] Bluetooth: hci0: Applying Intel DDC parameters completed bluetoothd[8656]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98) bluetoothd[8656]: RFCOMM server failed for :1.68/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb: rfcomm_bind: Address already in use (98) NetworkManager[1222]: <info> [1536298184.5852] bluez5: NAP: added interface 00:28:F8:28:45:F5 bluetoothd[8656]: Endpoint registered: sender=:1.68 path=/MediaEndpoint/A2DPSource bluetoothd[8656]: Endpoint registered: sender=:1.68 path=/MediaEndpoint/A2DPSink bluetoothd[8656]: Endpoint registered: sender=:1.39 path=/MediaEndpoint/A2DPSource bluetoothd[8656]: Endpoint registered: sender=:1.39 path=/MediaEndpoint/A2DPSink NetworkManager[1222]: <info> [1536298184.6229] keyfile: add connection in-memory NetworkManager[1222]: <info> [1536298184.6244] bluez: BT device Samsung Galaxy S7 edge added (NAP) NetworkManager[1222]: <info> [1536298184.6252] manager: new Bluetooth device (/org/freedesktop/NetworkManager/Devices/15) NetworkManager[1222]: <info> [1536298184.6258] device state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external') NetworkManager[1222]: <info> [1536298184.6507] device state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed') kernel: [15959.948617] Bluetooth: hci0: last event is not cmd complete (0x0f) 2) Ubuntu control panel, events when enabling Jabra Elite device: gnome-shell[2235]: g_source_remove: assertion 'tag > 0' failed kernel: [16375.892576] Bluetooth: hci0: last event is not cmd complete (0x0f) kernel: [16391.773520] Bluetooth: hci0: last event is not cmd complete (0x0f) bluetoothd[8656]: Unable to connect Headset Voice gateway: connect: Device or resource busy (16) bluetoothd[8656]: Connecting Headset Voice gateway failed: Input/output error obexd[2645]: CONNECT(0x0), <unknown>(0xff) obexd[2645]: CONNECT(0x0), <unknown>(0x0) obexd[2645]: SETPATH(0x5), <unknown>(0xff) obexd[2645]: stat(/home/nnnnnn/phonebook/): No such file or directory (2) obexd[2645]: SETPATH(0x5), Not Found(0x44) kernel: [16392.668719] input: 50:1A:A5:8D:19:85 as /devices/virtual/input/input32 /usr/lib/gdm3/gdm-x-session[2095]: (II) config/udev: Adding input device 50:1A:A5:8D:19:85 (/dev/input/event21) /usr/lib/gdm3/gdm-x-session[2095]: (**) 50:1A:A5:8D:19:85: Applying InputClass "evdev keyboard catchall" /usr/lib/gdm3/gdm-x-session[2095]: (**) 50:1A:A5:8D:19:85: Applying InputClass "libinput keyboard catchall" /usr/lib/gdm3/gdm-x-session[2095]: (II) Using input driver 'libinput' for '50:1A:A5:8D:19:85' /usr/lib/gdm3/gdm-x-session[2095]: (II) systemd-logind: got fd for /dev/input/event21 13:85 fd 83 paused 0 /usr/lib/gdm3/gdm-x-session[2095]: (**) 50:1A:A5:8D:19:85: always reports core events /usr/lib/gdm3/gdm-x-session[2095]: (**) Option "Device" "/dev/input/event21" /usr/lib/gdm3/gdm-x-session[2095]: (**) Option "_source" "server/udev" /usr/lib/gdm3/gdm-x-session[2095]: (II) event21 - 50:1A:A5:8D:19:85: is tagged by udev as: Keyboard /usr/lib/gdm3/gdm-x-session[2095]: (II) event21 - 50:1A:A5:8D:19:85: device is a keyboard /usr/lib/gdm3/gdm-x-session[2095]: (II) event21 - 50:1A:A5:8D:19:85: device removed /usr/lib/gdm3/gdm-x-session[2095]: (**) Option "config_info" "udev:/sys/devices/virtual/input/input32/event21" /usr/lib/gdm3/gdm-x-session[2095]: (II) XINPUT: Adding extended input device "50:1A:A5:8D:19:85" (type: KEYBOARD, id 21) /usr/lib/gdm3/gdm-x-session[2095]: (**) Option "xkb_model" "pc105" /usr/lib/gdm3/gdm-x-session[2095]: (**) Option "xkb_layout" "us,se" /usr/lib/gdm3/gdm-x-session[2095]: (**) Option "xkb_variant" "," /usr/lib/gdm3/gdm-x-session[2095]: (**) Option "xkb_options" "grp:alt_shift_toggle,grp_led:scroll" /usr/lib/gdm3/gdm-x-session[2095]: (II) event21 - 50:1A:A5:8D:19:85: is tagged by udev as: Keyboard /usr/lib/gdm3/gdm-x-session[2095]: (II) event21 - 50:1A:A5:8D:19:85: device is a keyboard org.gnome.Shell.desktop[2235]: Window manager warning: Overwriting existing binding of keysym ff09 with keysym ff09 (keycode 17). org.gnome.Shell.desktop[2235]: Window manager warning: Overwriting existing binding of keysym 76 with keysym 76 (keycode 37). org.gnome.Shell.desktop[2235]: Window manager warning: Overwriting existing binding of keysym 68 with keysym 68 (keycode 2b). org.gnome.Shell.desktop[2235]: Window manager warning: Overwriting existing binding of keysym ff09 with keysym ff09 (keycode 17). kernel: [16395.108580] Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: [16395.108596] Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: [16395.108603] Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: [16395.108610] Bluetooth: hci0: SCO packet for unknown connection handle 0 gsd-media-keys[1844]: Unable to get default source pulseaudio[2244]: [pulseaudio] module-bluez5-device.c: Profile headset_head_unit has no transport kernel: [16400.178725] Bluetooth: hci0: SCO packet for unknown connection handle 257 Note: I dont have a bluetooth keyboard so this is weird: event21 - 50:1A:A5:8D:19:85: is tagged by udev as: Keyboard 3) Ubuntu control panel, events when activating sound in settings (change device from speakers): bluetoothd[8656]: /org/bluez/hci0/dev_50_1A_A5_8D_19_85/fd1: fd(38) ready 4) Ubuntu control panel, events when trying to switch sound settings: pulseaudio[2244]: [pulseaudio] module-bluez5-device.c: Refused to switch profile to headset_head_unit: Not connected 4) Blueman events, trying to set profile to a2dp: blueman-manager.desktop[8144]: [<blueman.services.SerialPort.SerialPort object at 0x7f03179de860>, <blueman.services.Headset.Headset object at 0x7f03179def98>, <blueman.services.AudioSink.AudioSink object at 0x7f03179de898>, <blueman.services.HandsfreeGateway.HandsfreeGateway object at 0x7f03179deef0>] blueman-manager.desktop[8144]: connect bluetoothd[1228]: /org/bluez/hci0/dev_50_1A_A5_8D_19_85/fd8: fd(38) ready pulseaudio[2244]: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink: Not connected kernel: [14933.055752] Bluetooth: hci0: last event is not cmd complete (0x0f) kernel: [14941.924579] Bluetooth: hci0: SCO packet for unknown connection handle 0 pulseaudio[2244]: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink: Not connected kernel: [14941.934568] Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: [14941.934582] Bluetooth: hci0: SCO packet for unknown connection handle 0 kernel: [14941.934589] Bluetooth: hci0: SCO packet for unknown connection handle 0 gsd-media-keys[2409]: Unable to get default source pulseaudio[2244]: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink: Not connected kernel: [14949.176589] Bluetooth: hci0: last event is not cmd complete (0x0f) kernel: [14965.046640] Bluetooth: hci0: last event is not cmd complete (0x0f) pulseaudio[2244]: [pulseaudio] module-bluez5-device.c: Refused to switch profile to a2dp_sink: Not connected Note on 4) When AD2P actually works you cant switch back to HSP/HFP either. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to alsa-driver in Ubuntu. https://bugs.launchpad.net/bugs/1724919 Title: Bluetooth headphones only use A2DP when connected manually Status in alsa-driver package in Ubuntu: Confirmed Bug description: Issue with Sony MDR-1ABT Bluetooth headphones: Once paired, the headphones will be connected automatically whenever they are switched on. However when connected this way, only the HSP/HFP profile will work and trying to change to A2DP in sound settings does nothing. If the headphones are then manually disconnected and reconnected from Bluetooth settings, they will initially use HSP/HFP but then selecting A2DP in sound settings will successfully make them use A2DP. ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: alsa-base 1.0.25+dfsg-0ubuntu5 ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4 Uname: Linux 4.13.0-16-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia ApportVersion: 2.20.7-0ubuntu3 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: neil 1443 F.... pulseaudio /dev/snd/pcmC0D0c: neil 1443 F...m pulseaudio /dev/snd/controlC0: neil 1443 F.... pulseaudio CurrentDesktop: ubuntu:GNOME Date: Thu Oct 19 19:12:59 2017 InstallationDate: Installed on 2017-10-19 (0 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018) PackageArchitecture: all SourcePackage: alsa-driver Symptom: audio Symptom_Card: MDR-1ABT Symptom_Type: None of the above Title: [MDR-1ABT, playback] Playback problem UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 07/06/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: F5 dmi.board.asset.tag: Default string dmi.board.name: Z270N-WIFI-CF dmi.board.vendor: Gigabyte Technology Co., Ltd. dmi.board.version: x.x dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF5:bd07/06/2017:svnGigabyteTechnologyCo.,Ltd.:pnZ270N-WIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnZ270N-WIFI-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring: dmi.product.family: Default string dmi.product.name: Z270N-WIFI dmi.product.version: Default string dmi.sys.vendor: Gigabyte Technology Co., Ltd. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1724919/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp