Bug 576762 - Bluetooth mouse frequently loses connection
Summary: Bluetooth mouse frequently loses connection
Keywords:
Status: CLOSED DUPLICATE of bug 570291
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 12
Hardware: i686
OS: Linux
low
high
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-25 04:23 UTC by Robert Nichols
Modified: 2010-04-29 17:54 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-29 17:54:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Nichols 2010-03-25 04:23:47 UTC
Description of problem:
After a brief period of inactivity, my bluetooth mouse often loses its connection. If I move the mouse and keep pressing buttons, eventually the mouse resets itself internally and re-establishes the connection, but that can take 30 seconds or so.

Version-Release number of selected component (if applicable):
kernel-2.6.32.9-70.fc12.i686

How reproducible:
Always occurs eventually, but might take 10 or 20 minutes of normal use before the disconnect occurs.  Sometimes occurs maddeningly often, though, enough to make the bluetooth mouse essentially useless.

Steps to Reproduce:
1. Just boot into the normal Gnome desktop and use the system and mouse normally.
  
Actual results:
On occasion, when you stop using the mouse for a few seconds it loses its connection and becomes unresponsive until the connection is re-established.

Expected results:
The connection should not be lost, certainly not unless the mouse has been idle for quite a long time.

Additional info:
Bluetooth adapter: ID 0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth
Mouse: Microsoft Bluetooth Notebook Mouse 500
bluez-4.58-1.fc12.i686
bluez-libs-4.58-1.fc12.i686
bluez-compat-4.58-1.fc12.i686

With the 2.6.32.9-67 or 2.6.32.9-70 kernels, the light on the bluetooth adapter stop flashing whenever I stop moving the mouse and 3 messages are logged immediately:

   kernel: btusb_intr_complete: hci0 urb f19d0500 failed to resubmit (1)
   kernel: btusb_bulk_complete: hci0 urb f19d0c00 failed to resubmit (1)
   kernel: btusb_bulk_complete: hci0 urb f19d0000 failed to resubmit (1)
(The hex number varies.)

When the connection actually drops, these messages are logged:
   bluetoothd[1378]: HCI dev 0 down
   kernel: btusb 7-1:1.0: no reset_resume for driver btusb?
   bluetoothd[1378]: Adapter /org/bluez/1370/hci0 has been disabled
   bluetoothd[1378]: Stopping security manager 0
   kernel: btusb 7-1:1.1: no reset_resume for driver btusb?
   bluetoothd[1378]: HCI dev 0 unregistered
   bluetoothd[1378]: Unregister path: /org/bluez/1370/hci0
   bluetoothd[1378]: HCI dev 0 registered
   bluetoothd[1378]: HCI dev 0 up
   bluetoothd[1378]: Starting security manager 0
   bluetoothd[1378]: Parsing /etc/bluetooth/serial.conf failed: No such file or directory
   bluetoothd[1378]: Adapter /org/bluez/1370/hci0 has been enabled


With kernel-2.6.31.12-174.2.22.fc12.i686, I do not get those "failed to resubmit" messages, the light on the bluetooth adapter continues to flash slowly while the mouse is inactive, and the connection is not lost.  The failure occurs only with the 2.6.32 kernels.

Bug #572763 looks similar, but I am seeing messages logged whereas that report indicated no system messages logged.

Comment 1 Josh Bressers 2010-03-25 12:26:40 UTC
I see this behavior as well. This problem does not exist in 2.6.31

I'm using a Thinkpad T60. Here is my lsusb -v output for the bluetooth


Bus 005 Device 002: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0a5c Broadcom Corp.
  idProduct          0x2110 Bluetooth Controller
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          216
    bNumInterfaces          4
    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     0x82  EP 2 IN
        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     0x02  EP 2 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 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     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 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     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       254 Application Specific Interface
      bInterfaceSubClass      1 Device Firmware Update
      bInterfaceProtocol      0 
      iInterface              0 
      Device Firmware Upgrade Interface Descriptor:
        bLength                             7
        bDescriptorType                    33
        bmAttributes                        7
          Will Not Detach
          Manifestation Tolerant
          Upload Supported
          Download Supported
        wDetachTimeout                   5000 milliseconds
        wTransferSize                      64 bytes

Comment 2 Robert Nichols 2010-04-09 00:13:52 UTC
FWIW, the problem is still the same in kernel-2.6.32.10-90.fc12.i686 as well as in the 2.6.33 kernels in FC-13.  Looks like I'll be staying on FC-12 and the 2.6.31 kernel for quite some time.

Comment 3 Andy Lawrence 2010-04-24 12:01:11 UTC
I have exactly the same as the OP, kernel 2.6.33.2-57.fc13.x86_64.

Bus 006 Device 002: ID 0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth

This happens repeatably:

Apr 24 07:54:59 localhost kernel: btusb_intr_complete: hci0 urb ffff8800785236b0 failed to resubmit (1)
Apr 24 07:54:59 localhost kernel: btusb_bulk_complete: hci0 urb ffff880078522f78 failed to resubmit (1)
Apr 24 07:54:59 localhost kernel: btusb_bulk_complete: hci0 urb ffff8800439f38c0 failed to resubmit (1)
Apr 24 07:55:22 localhost kernel: btusb_intr_complete: hci0 urb ffff8800439d3ad0 failed to resubmit (1)
Apr 24 07:55:22 localhost kernel: btusb_bulk_complete: hci0 urb ffff8800439d3188 failed to resubmit (1)
Apr 24 07:55:22 localhost kernel: btusb_bulk_complete: hci0 urb ffff8800439d3de8 failed to resubmit (1)
Apr 24 07:55:35 localhost kernel: input: Microsoft Bluetooth Notebook Mouse 5000 as /devices/pci0000:00/0000:00:1d.2/usb6/6-2/6-2:1.0/bluetooth/hci0/hci0:11/input31
Apr 24 07:55:35 localhost kernel: generic-bluetooth 0005:045E:0700.0017: input,hidraw0: BLUETOOTH HID v1.00 Mouse [Microsoft Bluetooth Notebook Mouse 5000] on 00:14:A4:FC:19:3A
Apr 24 07:55:40 localhost kernel: btusb_intr_complete: hci0 urb ffff8800a98a96b0 failed to resubmit (1)
Apr 24 07:55:40 localhost kernel: btusb_bulk_complete: hci0 urb ffff8800b5b516b0 failed to resubmit (1)
Apr 24 07:55:40 localhost kernel: btusb_bulk_complete: hci0 urb ffff8800a98a99c8 failed to resubmit (1)
Apr 24 07:56:04 localhost kernel: btusb_intr_complete: hci0 urb ffff88004ab80000 failed to resubmit (1)
Apr 24 07:56:04 localhost kernel: btusb_bulk_complete: hci0 urb ffff88004ab80840 failed to resubmit (1)
Apr 24 07:56:04 localhost kernel: btusb_bulk_complete: hci0 urb ffff88004ab80318 failed to resubmit (1)
Apr 24 07:57:56 localhost kernel: input: Microsoft Bluetooth Notebook Mouse 5000 as /devices/pci0000:00/0000:00:1d.2/usb6/6-2/6-2:1.0/bluetooth/hci0/hci0:11/input32
Apr 24 07:57:56 localhost kernel: generic-bluetooth 0005:045E:0700.0018: input,hidraw0: BLUETOOTH HID v1.00 Mouse [Microsoft Bluetooth Notebook Mouse 5000] on 00:14:A4:FC:19:3A

Comment 4 Kevin Russell 2010-04-29 01:38:07 UTC
I have the same problem with a Toshiba Satellite P100 and a Microsoft Bluetooth Notebook Mouse 5000 under kernel-2.6.32.11-99.fc12.i686.PAE.  The mouse periodically "disappears", perhaps an autosuspend action.

I have temporarily fixed the problem using the steps found in Comment #13 of Bug 570291 (https://bugzilla.redhat.com/show_bug.cgi?id=570291#c13)

Comment 5 Robert Nichols 2010-04-29 17:54:25 UTC
Yes, disabling autosuspend fixes the problem for me too.  I've closed this bug as a duplicate of Bug 570291.

*** This bug has been marked as a duplicate of bug 570291 ***


Note You need to log in before you can comment on or make changes to this bug.