FS#37320 - [linux] 3.11.x Bluetooth broken after resuming from suspend

Attached to Project: Arch Linux
Opened by akhenaton (aky) - Sunday, 13 October 2013, 16:33 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 14 October 2013, 07:45 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I have a Dell Inspiron 5323 with integrated Intel WIFI and Bluetooth.
After suspending the system (close the laptop lid), resuming it back (open the lid back) doesn't restore the connection to my Logitech bluetooth mouse.
The mouse used to work right after opening the laptop lid back with no intervention.

Additional info:
* package version(s)
linux 3.11.4-1
bluez 5.9-1
bluez-libs 5.9-1
bluez-utils 5.9-1
gnome-bluetooth 3.10.0-1
* additional info to follow (various pasted screen outputs)

Steps to reproduce:
1) Close lid and wait for sleep mode to complete.
2) Open lid back.
Actual results: Mouse doesn't work.
Expected results: Mouse should reconnect and work.

[arch] forum thread: https://bbs.archlinux.org/viewtopic.php?id=170970

[possible] related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1010410
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 14 October 2013, 07:45 GMT
Reason for closing:  Upstream
Comment by akhenaton (aky) - Sunday, 13 October 2013, 16:36 GMT
Hardware info (bluetooth adapter):

Bus 004 Device 008: ID 8087:07da Intel Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x8087 Intel Corp.
idProduct 0x07da
bcdDevice 78.69
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 177
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Comment by akhenaton (aky) - Sunday, 13 October 2013, 16:37 GMT
Before suspending:

[aky@3axis ~]$ bluetoothctl -a
[NEW] Controller 68:XX:XX:XX:XX:53 3axis [default]
[NEW] Device 00:XX:XX:XX:XX:FB Razer Orochi
[NEW] Device 00:XX:XX:XX:XX:53 E2530
[NEW] Device 68:XX:XX:XX:XX:94 Radu’s Mac mini
[NEW] Device F0:XX:XX:XX:XX:81 PLT_BB903+
[NEW] Device 00:XX:XX:XX:XX:05 Bluetooth Laser Travel Mouse
Agent registered
[bluetooth]# quit
[DEL] Controller 68:XX:XX:XX:XX:53 3axis [default]
[aky@3axis ~]$
Comment by akhenaton (aky) - Sunday, 13 October 2013, 16:39 GMT
After resuming:

[root@3axis ~]# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
4: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
[root@3axis ~]#

[aky@3axis ~]$ bluetoothctl -a
[NEW] Controller 68:XX:XX:XX:XX:53 3axis [default]
[NEW] Device 00:XX:XX:XX:XX:FB Razer Orochi
[NEW] Device 00:XX:XX:XX:XX:53 E2530
[NEW] Device 68:XX:XX:XX:XX:94 Radu’s Mac mini
[NEW] Device F0:XX:XX:XX:XX:81 PLT_BB903+
[NEW] Device 00:XX:XX:XX:XX:05 Bluetooth Laser Travel Mouse
Agent registered
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on
Discovery started
[CHG] Controller 68:XX:XX:XX:XX:53 Discovering: yes
[bluetooth]# info 00:XX:XX:XX:XX:05
Device 00:XX:XX:XX:XX:05
Name: Bluetooth Laser Travel Mouse
Alias: Bluetooth Laser Travel Mouse
Class: 0x002580
Icon: input-mouse
Paired: no
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: Human Interface Device... (00001124-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
Modalias: usb:v046DpB008d0313
[bluetooth]# pair 00:XX:XX:XX:XX:05
Attempting to pair with 00:XX:XX:XX:XX:05
[bluetooth]# connect 00:XX:XX:XX:XX:05
Attempting to connect to 00:XX:XX:XX:XX:05
Failed to connect: org.bluez.Error.Failed
Failed to pair: org.bluez.Error.AuthenticationCanceled
[CHG] Device 00:XX:XX:XX:XX:05 Connected: no
[DEL] Device 00:XX:XX:XX:XX:05 Bluetooth Laser Travel Mouse
[DEL] Device F0:XX:XX:XX:XX:81 PLT_BB903+
[DEL] Device 68:XX:XX:XX:XX:94 Radu’s Mac mini
[DEL] Device 00:XX:XX:XX:XX:53 E2530
[DEL] Device 00:XX:XX:XX:XX:FB Razer Orochi
[CHG] Controller 68:XX:XX:XX:XX:53 Class: 0x000000
[CHG] Controller 68:XX:XX:XX:XX:53 Powered: no
[CHG] Controller 68:XX:XX:XX:XX:53 Discovering: no
[DEL] Controller 68:XX:XX:XX:XX:53 3axis [default]
[NEW] Controller 68:XX:XX:XX:XX:53 3axis [default]
[NEW] Device 00:XX:XX:XX:XX:05 Bluetooth Laser Travel Mouse
[NEW] Device F0:XX:XX:XX:XX:81 PLT_BB903+
[NEW] Device 68:XX:XX:XX:XX:94 Radu’s Mac mini
[NEW] Device 00:XX:XX:XX:XX:53 E2530
[NEW] Device 00:XX:XX:XX:XX:FB Razer Orochi
[CHG] Controller 68:XX:XX:XX:XX:53 Class: 0x00010c
[CHG] Controller 68:XX:XX:XX:XX:53 Powered: yes
[CHG] Device 00:XX:XX:XX:XX:05 Connected: yes
[bluetooth]#
Comment by akhenaton (aky) - Sunday, 13 October 2013, 16:45 GMT
Even if, as you can see above, bluetooth is visible and appears to be working after resume, the mouse won't reconnect/work.

Trying to restart the bluetooth service and even powering the mouse off and back on doesn't help.

It's only after the last bluetoothctl command - "connect 00:XX:XX:XX:XX:05" - when I get the mouse back working.

Downgrading the kernel back to linux-3.10.10-1-x86_64 solves the issue.
The mouse will auto-reconnect everytime when the laptop resumes from suspend/standby.
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 14 October 2013, 04:53 GMT
  • Field changed: Status (Unconfirmed → Waiting on Response)
  • Field changed: Category (Packages: Core → Upstream Bugs)
Please report to upstream. There is nothing to do here. Thanks.

Loading...