You are not logged in.

#1 2015-10-09 11:33:30

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 103

Can't bring up bluetooth controller

I bought a card reader with built-in bluetooth adapter (Broadcom BCM2045) last month. It worked out of the box, and it was working fine until Oct 3rd. There was a kernel update the day before and a -ck kernel update that day. The ck patched kernel had a bug and produced some freezes on my computer and I had to power it off using the button. Bluetooth hasn't worked on Arch since then.
I tried downgrading packages to Oct 1st with Arch Rollback Machine with no luck. I thought it was a hardware problem but today I booted Windows and discovered it works fine there.

This is the output of hciconfig

hci0:	Type: BR/EDR  Bus: USB
	BD Address: 21:7B:43:51:28:D3  ACL MTU: 1017:8  SCO MTU: 64:0
	DOWN 
	RX bytes:958 acl:0 sco:0 events:38 errors:0
	TX bytes:158 acl:0 sco:0 commands:38 errors:0

We can see the device is down, but this is what happens when I try to bring it up:

sudo hciconfig hci0 up
Can't init device hci0: Operation not supported (95)

I have tried running different Linux distros on VirtualBox and I have the same issue, but it works with Windows guest machines.

This is the journalctl output when connecting the device (remember that it has card readers too)

oct 09 13:24:27 julio-arch kernel: usb 4-1.3: new full-speed USB device number 4 using ehci-pci
oct 09 13:24:27 julio-arch kernel: Bluetooth: Core ver 2.20
oct 09 13:24:27 julio-arch kernel: NET: Registered protocol family 31
oct 09 13:24:27 julio-arch kernel: Bluetooth: HCI device and connection manager initialized
oct 09 13:24:27 julio-arch kernel: Bluetooth: HCI socket layer initialized
oct 09 13:24:27 julio-arch kernel: Bluetooth: L2CAP socket layer initialized
oct 09 13:24:27 julio-arch kernel: Bluetooth: SCO socket layer initialized
oct 09 13:24:27 julio-arch kernel: usbcore: registered new interface driver btusb
oct 09 13:24:27 julio-arch systemd-udevd[944]: Process '/usr/bin/hciconfig hci0 up' failed with exit code 1.
oct 09 13:24:27 julio-arch systemd[1]: Starting Load/Save RF Kill Switch Status of rfkill1...
oct 09 13:24:27 julio-arch systemd[1]: Reached target Bluetooth.
oct 09 13:24:27 julio-arch systemd[1]: Started Load/Save RF Kill Switch Status of rfkill1.
oct 09 13:24:27 julio-arch kernel: usb 4-1.4: new high-speed USB device number 5 using ehci-pci
oct 09 13:24:28 julio-arch mtp-probe[961]: checking bus 4, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.4"
oct 09 13:24:28 julio-arch mtp-probe[961]: bus: 4, device: 5 was not an MTP device
oct 09 13:24:28 julio-arch kernel: usb-storage 4-1.4:1.0: USB Mass Storage device detected
oct 09 13:24:28 julio-arch kernel: scsi host4: usb-storage 4-1.4:1.0
oct 09 13:24:28 julio-arch kernel: usbcore: registered new interface driver usb-storage
oct 09 13:24:28 julio-arch kernel: usbcore: registered new interface driver uas
oct 09 13:24:29 julio-arch kernel: scsi 4:0:0:0: Direct-Access     Generic  Storage Device   0.00 PQ: 0 ANSI: 2
oct 09 13:24:29 julio-arch kernel: sd 4:0:0:0: [sdc] Attached SCSI removable disk

This is the dmesg output:

[   70.984675] usb 4-1.3: new full-speed USB device number 4 using ehci-pci
[   71.190269] Bluetooth: Core ver 2.20
[   71.190291] NET: Registered protocol family 31
[   71.190293] Bluetooth: HCI device and connection manager initialized
[   71.190297] Bluetooth: HCI socket layer initialized
[   71.190300] Bluetooth: L2CAP socket layer initialized
[   71.190306] Bluetooth: SCO socket layer initialized
[   71.204376] usbcore: registered new interface driver btusb
[   71.497319] usb 4-1.4: new high-speed USB device number 5 using ehci-pci
[   72.075457] usb-storage 4-1.4:1.0: USB Mass Storage device detected
[   72.075537] scsi host4: usb-storage 4-1.4:1.0
[   72.075645] usbcore: registered new interface driver usb-storage
[   72.077271] usbcore: registered new interface driver uas
[   73.175747] scsi 4:0:0:0: Direct-Access     Generic  Storage Device   0.00 PQ: 0 ANSI: 2
[   73.177702] sd 4:0:0:0: [sdc] Attached SCSI removable disk

I didn't have rfkill installed but I installed it and everything is ok:

rfkill list
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

This is the lsusb -v output of the Bluetooth controller:

Bus 004 Device 003: ID 0a5c:2045 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          0x2045 Bluetooth Controller
  bcdDevice            1.12
  iManufacturer           1 Broadcom Corp
  iProduct                2 BCM2045A
  iSerial                 3 000000000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          216
    bNumInterfaces          4
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    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     0x0019  1x 25 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     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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        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     0x83  EP 3 IN
        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     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 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
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

I'm lost here, I don't know if it is some bug or hardware issue, any help will be appreciated!
Thanks in advance smile

Offline

Board footer

Powered by FluxBB