You are not logged in.

#1 2018-11-03 14:17:23

judd1
Member
Registered: 2015-09-04
Posts: 260

[Solved] - Bluetoothctl stuck in a device.

Hello, as the title says bluetoothctl is stuck in a single device, which does not recognize either in console with bluetoothctl or in graphic mode with Blueman.

I must also say that my Wi-Fi card is a Broadcom-43142 which has worked well bluetooth until a few months ago, now it does not do it anymore.

Here the jammed device has the same result, the bluetooth dock being turned on or off.

# bluetoothctl
Agent registered
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 08:ED:B9:92:D0:24 Discovering: yes
[bluetooth]# pair 08:ED:B9:92:D0:24
Device 08:ED:B9:92:D0:24 not available
# bluetoothctl
Agent registered
[bluetooth]# show
Controller 08:ED:B9:92:D0:24 (public)
	Name: arch
	Alias: Arch Linux
	Class: 0x001c010c
	Powered: yes
	Discoverable: yes
	Pairable: yes
	UUID: Headset AG                (00001112-0000-1000-8000-00805f9b34fb)
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
	UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
	UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
	UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
	Modalias: usb:v1D6Bp0246d0532
	Discovering: no
[bluetooth]# agent on
Agent is already registered
[bluetooth]# scan on
Discovery started
[CHG] Controller 08:ED:B9:92:D0:24 Discovering: yes
[bluetooth]# pair 08:ED:B9:92:D0:24
Device 08:ED:B9:92:D0:24 not available
LANG=C systemctl status bluetooth.service
* bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2018-11-03 11:49:24 -03; 9min ago
     Docs: man:bluetoothd(8)
 Main PID: 454 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   Memory: 3.1M
   CGroup: /system.slice/bluetooth.service
           `-454 /usr/lib/bluetooth/bluetoothd

Nov 03 11:49:25 arch bluetoothd[454]: avrcp-controller: Protocol not supported (93)
Nov 03 11:49:25 arch bluetoothd[454]: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Nov 03 11:49:25 arch bluetoothd[454]: audio-avrcp-target: Protocol not supported (93)
Nov 03 11:49:38 arch bluetoothd[454]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSource
Nov 03 11:49:38 arch bluetoothd[454]: Endpoint registered: sender=:1.29 path=/MediaEndpoint/A2DPSink
Nov 03 11:49:42 arch bluetoothd[454]: L2CAP server failed for Message Notification: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Nov 03 11:49:42 arch bluetoothd[454]: L2CAP server failed for Message Access: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Nov 03 11:49:42 arch bluetoothd[454]: L2CAP server failed for Phone Book Access: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Nov 03 11:49:42 arch bluetoothd[454]: L2CAP server failed for File Transfer: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
Nov 03 11:49:42 arch bluetoothd[454]: L2CAP server failed for Object Push: setsockopt(L2CAP_OPTIONS): Invalid argument (22)
LANG=C systemctl list-units --type=target
UNIT                LOAD   ACTIVE SUB    DESCRIPTION                           
basic.target        loaded active active Basic System                          
bluetooth.target    loaded active active Bluetooth                             
cryptsetup.target   loaded active active Local Encrypted Volumes               
getty.target        loaded active active Login Prompts                         
graphical.target    loaded active active Graphical Interface                   
local-fs-pre.target loaded active active Local File Systems (Pre)              
local-fs.target     loaded active active Local File Systems                    
multi-user.target   loaded active active Multi-User System                     
network.target      loaded active active Network                               
paths.target        loaded active active Paths                                 
remote-fs.target    loaded active active Remote File Systems                   
slices.target       loaded active active Slices                                
sockets.target      loaded active active Sockets                               
sound.target        loaded active active Sound Card                            
swap.target         loaded active active Swap                                  
sysinit.target      loaded active active System Initialization                 
timers.target       loaded active active Timers                                

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
LANG=C systemctl --user status pulseaudio
* pulseaudio.service - Sound Service
   Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; vendor preset: enabled)
   Active: active (running) since Sat 2018-11-03 10:45:06 -03; 16min ago
 Main PID: 23526 (pulseaudio)
   CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
           |-23526 /usr/bin/pulseaudio --daemonize=no
           `-23529 /usr/lib/pulse/gsettings-helper

Nov 03 10:45:06 arch systemd[1877]: Starting Sound Service...
Nov 03 10:45:06 arch systemd[1877]: Started Sound Service.
Nov 03 10:45:06 arch pulseaudio[23526]: E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnk>
Nov 03 10:45:18 arch pulseaudio[23526]: E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnk>
lsusb
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 1bcf:2982 Sunplus Innovation Technology Inc. 
Bus 001 Device 004: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0458:0186 KYE Systems Corp. (Mouse Systems) 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
rfkill list
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
cat /etc/bluetooth/main.conf:
[General]

# Default adapter name
# Defaults to 'BlueZ X.YZ'
#Name = BlueZ

# Default device class. Only the major and minor device class bits are
# considered. Defaults to '0x000000'.
#Class = 0x000100

# How long to stay in discoverable mode before going back to non-discoverable
# The value is in seconds. Default is 180, i.e. 3 minutes.
# 0 = disable timer, i.e. stay discoverable forever
#DiscoverableTimeout = 0

# How long to stay in pairable mode before going back to non-discoverable
# The value is in seconds. Default is 0.
# 0 = disable timer, i.e. stay pairable forever
#PairableTimeout = 0

# Use vendor id source (assigner), vendor, product and version information for
# DID profile support. The values are separated by ":" and assigner, VID, PID
# and version.
# Possible vendor id source values: bluetooth, usb (defaults to usb)
#DeviceID = bluetooth:1234:5678:abcd

# Do reverse service discovery for previously unknown devices that connect to
# us. This option is really only needed for qualification since the BITE tester
# doesn't like us doing reverse SDP for some test cases (though there could in
# theory be other useful purposes for this too). Defaults to 'true'.
#ReverseServiceDiscovery = true

# Enable name resolving after inquiry. Set it to 'false' if you don't need
# remote devices name and want shorter discovery cycle. Defaults to 'true'.
#NameResolving = true

# Enable runtime persistency of debug link keys. Default is false which
# makes debug link keys valid only for the duration of the connection
# that they were created for.
#DebugKeys = false

# Restricts all controllers to the specified transport. Default value
# is "dual", i.e. both BR/EDR and LE enabled (when supported by the HW).
# Possible values: "dual", "bredr", "le"
#ControllerMode = dual

# Enables Multi Profile Specification support. This allows to specify if
# system supports only Multiple Profiles Single Device (MPSD) configuration
# or both Multiple Profiles Single Device (MPSD) and Multiple Profiles Multiple
# Devices (MPMD) configurations.
# Possible values: "off", "single", "multiple"
#MultiProfile = off

# Permanently enables the Fast Connectable setting for adapters that
# support it. When enabled other devices can connect faster to us,
# however the tradeoff is increased power consumptions. This feature
# will fully work only on kernel version 4.1 and newer. Defaults to
# 'false'.
#FastConnectable = false

# Default privacy setting.
# Enables use of private address.
# Possible values: "off", "device", "network"
# "network" option not supported currently
# Defaults to "off"
# Privacy = off

[GATT]
# GATT attribute cache.
# Possible values:
# always: Always cache attributes even for devices not paired, this is
# recommended as it is best for interoperability, with more consistent
# reconnection times and enables proper tracking of notifications for all
# devices.
# yes: Only cache attributes of paired devices.
# no: Never cache attributes
# Default: always
#Cache = always

# Minimum required Encryption Key Size for accessing secured characteristics.
# Possible values: 0 and 7-16. 0 means don't care.
# Defaults to 0
# MinEncKeySize = 0

[Policy]
#
# The ReconnectUUIDs defines the set of remote services that should try
# to be reconnected to in case of a link loss (link supervision
# timeout). The policy plugin should contain a sane set of values by
# default, but this list can be overridden here. By setting the list to
# empty the reconnection feature gets disabled.
#ReconnectUUIDs=00001112-0000-1000-8000-00805f9b34fb,0000111f-0000-1000-8000-00805f9b34fb,0000110a-0000-1000-8000-00805f9b34fb

# ReconnectAttempts define the number of attempts to reconnect after a link
# lost. Setting the value to 0 disables reconnecting feature.
#ReconnectAttempts=7

# ReconnectIntervals define the set of intervals in seconds to use in between
# attempts.
# If the number of attempts defined in ReconnectAttempts is bigger than the
# set of intervals the last interval is repeated until the last attempt.
#ReconnectIntervals=1,2,4,8,16,32,64

# AutoEnable defines option to enable all controllers when they are found.
# This includes adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'false'.
#AutoEnable=false
lsmod | grep btusb
btusb                  53248  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                24576  1 btusb
bluetooth             638976  27 btrtl,btintel,btbcm,bnep,btusb,rfcomm
rfkill list
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
dmesg | grep Blue
[    2.817093] Bluetooth: Core ver 2.22
[    2.817119] Bluetooth: HCI device and connection manager initialized
[    2.817124] Bluetooth: HCI socket layer initialized
[    2.817126] Bluetooth: L2CAP socket layer initialized
[    2.817134] Bluetooth: SCO socket layer initialized
[    2.995811] Bluetooth: hci0: BCM: chip id 70
[    2.996810] Bluetooth: hci0: BCM: features 0x06
[    3.012817] Bluetooth: hci0: BCM43142A
[    3.013814] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[    3.014163] Bluetooth: hci0: BCM: Patch brcm/BCM43142A0-0a5c-21d7.hcd not found
[    3.368363] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.368365] Bluetooth: BNEP filters: protocol multicast
[    3.368369] Bluetooth: BNEP socket layer initialized
[    5.173356] Bluetooth: hci0: command 0x1003 tx timeout
[   18.775603] Bluetooth: RFCOMM TTY layer initialized
[   18.775609] Bluetooth: RFCOMM socket layer initialized
[   18.775616] Bluetooth: RFCOMM ver 1.11
[   40.380640] Bluetooth: hci0: last event is not cmd complete (0x0f)
[   61.287565] Bluetooth: hci0: last event is not cmd complete (0x0f)
[   78.353426] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  122.301161] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  138.301068] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  154.300962] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  170.300869] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  186.300773] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  202.300638] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  218.301561] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  234.301429] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  250.301350] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  275.261087] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  704.274229] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  720.274199] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  736.274105] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  752.273990] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  768.273876] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  790.460707] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  817.340421] Bluetooth: hci0: last event is not cmd complete (0x0f)

$ dmesg
https://privatebin.net/?9982fae4ef68c81 … FznjifzFc=

lspci -nnk | grep -iA2 net; lsusb; rfkill list all; dmesg | egrep -i 'blue|firm'

07:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Dell Wireless 1704 802.11n + BT 4.0 [1028:0016]
	Kernel driver in use: wl
--
09:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8162 Fast Ethernet [1969:1090] (rev 10)
	Subsystem: Dell AR8162 Fast Ethernet [1028:057e]
	Kernel driver in use: alx
	Kernel modules: alx
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 1bcf:2982 Sunplus Innovation Technology Inc. 
Bus 001 Device 004: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 0458:0186 KYE Systems Corp. (Mouse Systems) 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=df548a45-26e2-448c-8c6a-964a8bcd1b6b rw bluetooth.disable_ertm=1 quiet btusb.enable_autosuspend=n loglevel=3
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=df548a45-26e2-448c-8c6a-964a8bcd1b6b rw bluetooth.disable_ertm=1 quiet btusb.enable_autosuspend=n loglevel=3
[    0.023534] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.232609] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    2.817093] Bluetooth: Core ver 2.22
[    2.817119] Bluetooth: HCI device and connection manager initialized
[    2.817124] Bluetooth: HCI socket layer initialized
[    2.817126] Bluetooth: L2CAP socket layer initialized
[    2.817134] Bluetooth: SCO socket layer initialized
[    2.995811] Bluetooth: hci0: BCM: chip id 70
[    2.996810] Bluetooth: hci0: BCM: features 0x06
[    3.012817] Bluetooth: hci0: BCM43142A
[    3.013814] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[    3.014160] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-0a5c-21d7.hcd failed with error -2
[    3.014163] Bluetooth: hci0: BCM: Patch brcm/BCM43142A0-0a5c-21d7.hcd not found
[    3.271867] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS
[    3.368363] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.368365] Bluetooth: BNEP filters: protocol multicast
[    3.368369] Bluetooth: BNEP socket layer initialized
[    5.173356] Bluetooth: hci0: command 0x1003 tx timeout
[   18.775603] Bluetooth: RFCOMM TTY layer initialized
[   18.775609] Bluetooth: RFCOMM socket layer initialized
[   18.775616] Bluetooth: RFCOMM ver 1.11
[   40.380640] Bluetooth: hci0: last event is not cmd complete (0x0f)
[   61.287565] Bluetooth: hci0: last event is not cmd complete (0x0f)
[   78.353426] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  122.301161] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  138.301068] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  154.300962] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  170.300869] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  186.300773] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  202.300638] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  218.301561] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  234.301429] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  250.301350] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  275.261087] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  704.274229] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  720.274199] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  736.274105] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  752.273990] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  768.273876] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  790.460707] Bluetooth: hci0: last event is not cmd complete (0x0f)
[  817.340421] Bluetooth: hci0: last event is not cmd complete (0x0f)
bluetoothctl
Agent registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 08:ED:B9:92:D0:24 Discovering: yes
[bluetooth]# pair 08:ED:B9:92:D0:24
Device 08:ED:B9:92:D0:24 not available
LANG=C pactl load-module module-bluetooth-discover
Failure: Module initialization failed
pactl list cards short
0	alsa_card.pci-0000_00_1b.0	module-alsa-card.c
aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
    HDA Intel PCH, 92HD91BXX Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, 92HD91BXX Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD91BXX Analog [92HD91BXX Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
sudo fuser -v /dev/snd/*
[sudo] password for judd: 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  judd       3177 F.... volumeicon
                     judd      11634 F.... pulseaudio
pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 41034 /  63% / -12,20 dB,   front-right: 41034 /  63% / -12,20 dB
	        balance 0,00
	base volume: 65536 / 100% / 0,00 dB
	volume steps: 65537
	muted: no
	current latency: 0,00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Estéreo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "92HD91BXX Analog"
		alsa.id = "92HD91BXX Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7f10000 irq 35"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "1e20"
		device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Estéreo Analógico"
		device.description = "Audio Interno Estéreo Analógico"
		alsa.mixer_name = "IDT 92HD91BXX"
		alsa.components = "HDA:111d76e0,1028057e,00100102 HDA:80862806,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Auriculares analógicos (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 111 [87%] [-12.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 0 [0%] [-99999.99dB] [off]
  Front Right: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 254 [100%] [-0.20dB]
  Front Right: Playback 254 [100%] [-0.20dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 38 [83%] [22.00dB] [on]
  Front Right: Capture 38 [83%] [22.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
LANG=C stat /home/judd/.config/pulse/
  File: /home/judd/.config/pulse/
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 801h/2049d	Inode: 511174      Links: 2
Access: (0700/drwx------)  Uid: ( 1000/    judd)   Gid: (  100/   users)
Access: 2018-06-25 09:52:20.967305742 -0300
Modify: 2018-08-06 07:38:00.676737949 -0300
Change: 2018-08-06 07:38:00.676737949 -0300
uname -rs
Linux 4.18.16-arch1-1-ARCH

Thanks, as always!

Last edited by judd1 (2018-11-04 13:02:32)


This isn't right. This isn't even wrong.
-- Wolfgang Pauli --

Offline

#2 2018-11-04 13:00:56

judd1
Member
Registered: 2015-09-04
Posts: 260

Re: [Solved] - Bluetoothctl stuck in a device.

Source: Source: https://bugs.launchpad.net/ubuntu/+sour … ug/1743336



This is caused due to missing Broadcom Bluetooth proprietary firmware image file:

Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found

This is apparently shipped in the Windows driver package and has to be manually extracted by the user since the licence makes it problematic for Ubuntu redistribute the files.

I understand you may be able to locate and download the correct file that matches the device in the PC and rename it to:

/lib/firmware/brcm/BCM.hcd

From this github repository:

https://github.com/winterheart/broadcom-bt-firmware

I should add that 'lsusb' shows the device is:

Bus 001 Device 004: ID 0a5c:21d7 Broadcom Corp. BCM43142 Bluetooth 4.0

The USB vendor:device ID is 0a5c:21d7

and I see in the github repository the file:

brcm/BCM43142A0-0a5c-21d7.hcd

so you should be able to install it using:

sudo wget -O /lib/firmware/brcm/BCM.hcd https://github.com/winterheart/broadcom … c-21d7.hcd

After a reboot the Bluetooth device should work.

Source: https://bugs.launchpad.net/ubuntu/+sour … ug/1743336

Bug fixer:https://launchpad.net/~tj

Last edited by judd1 (2018-11-04 13:32:06)


This isn't right. This isn't even wrong.
-- Wolfgang Pauli --

Offline

Board footer

Powered by FluxBB