LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-26-2020, 10:52 AM   #1
dilbert_uk
Member
 
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 83

Rep: Reputation: 4
Bluetooth issue: No default controller available


Using the command line tool bluetoothctl on Debian 10.04, I am getting this:

Code:
root@debian:~# bluetoothctl
Agent registered
[bluetooth]# power on
No default controller available
[bluetooth]# list
[bluetooth]# scan on
No default controller available
[bluetooth]#
I am using this laptop:

Code:
debian:~$ inxi -Fn
System:
  Host: debian Kernel: 4.19.0-9-686-pae i686 bits: 32 Desktop: Xfce 4.12.4 
  Distro: Debian GNU/Linux 10 (buster) 
Machine:
  Type: Laptop System: Acer product: Aspire ES1-411 v: V1.01 
  serial: <root required> 
  Mobo: Acer model: EA42_BM v: Type2 - A01 Board Version 
  serial: <root required> UEFI [Legacy]: Insyde v: 1.01 date: 07/29/2014 
Network:
  Device-1: Broadcom Limited BCM43142 802.11b/g/n driver: wl 
  IF: wlp2s0 state: dormant mac: 3c:77:e6:f5:c2:3d 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp3s0f1 state: up speed: 100 Mbps duplex: full mac: c4:54:44:bf:d9:e2
For some reason, I am getting this, too:

Code:
root@debian:~# service bluetooth start
root@debian:~# hciconfig hci0 piscan
Can't set scan mode on hci0: Network is down (100)
root@debian:~# hciconfig hci0 
hci0:	Type: Primary  Bus: USB
	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
	DOWN 
	RX bytes:328 acl:0 sco:0 events:9 errors:0
	TX bytes:46 acl:0 sco:0 commands:12 errors:0

root@debian:~# hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
root@debian:~#
What I am getting, too, is this from dmesg:

Code:
debian:~$ sudo dmesg | grep -i hci0
[   16.436189] Bluetooth: hci0: BCM: chip id 70
[   16.437149] Bluetooth: hci0: BCM: features 0x06
[   16.453175] Bluetooth: hci0: BCM43142A
[   16.454192] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000
[   16.567994] bluetooth hci0: firmware: direct-loading firmware brcm/BCM43142A0-0489-e055.hcd
[   18.658328] Bluetooth: hci0: command 0x0a0a tx timeout
[   26.722300] Bluetooth: hci0: BCM: Patch command 0a0a failed (-110)
[   28.962438] Bluetooth: hci0: command 0x1001 tx timeout
[   36.962199] Bluetooth: hci0: BCM: Reading local version info failed (-110)
[  126.987566] Bluetooth: hci0: command 0x1001 tx timeout
[  135.019614] Bluetooth: hci0: BCM: Reading local version info failed (-110)
debian:~$
Looking at the drivers, I got this output from lsusb:

Code:
debian:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04f2:b47f Chicony Electronics Co., Ltd 
Bus 001 Device 003: ID 0489:e055 Foxconn / Hon Hai BCM43142A0 broadcom bluetooth
Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
debian:~$
With this ID 0489:e055 from the Foxconn device, I got those files among others, and apart from the wl.ko driver:

Code:
root@debian:/lib/firmware/brcm# ls -al
-rw-r--r--  1 root root   70663 may 26 09:48 BCM43142A0-0489-e055.hcd
-rw-r--r--  1 root root   70663 may 23 17:28 BCM.hcd
Some people say, the two names for the same file would be essential and I tried both on their own, too.

The basic stuff seems to look alright.

Code:
root@debian:~# rfkill list
0: acer-wireless: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: acer-bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no
root@debian:~# 

root@debian:/etc/bluetooth# systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: active (running) since Tue 2020-05-26 08:53:24 -05; 1min 53s ago
     Docs: man:bluetoothd(8)
 Main PID: 1381 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   Memory: 616.0K
   CGroup: /system.slice/bluetooth.service
           └─1381 /usr/lib/bluetooth/bluetoothd
But the hci0 device keeps DOWN and I am unable to bring it up:

Code:
debian:~$ sudo hciconfig scan
hci0:	Type: Primary  Bus: USB
	BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0
	DOWN 
	RX bytes:322 acl:0 sco:0 events:8 errors:0
	TX bytes:40 acl:0 sco:0 commands:10 errors:0
 
Old 05-26-2020, 06:54 PM   #2
dilbert_uk
Member
 
Registered: Aug 2011
Location: Lima, Peru
Distribution: Debian 10.4, xubuntu 20.04, Ubuntu 20.04 LTS
Posts: 83

Original Poster
Rep: Reputation: 4
The problem has been a wget command to fetch the patch file from the Internet repository. I downloaded with wget an html file with the extension *.hcd and I didn't notice it. Before, I downloaded a patch file with a different version number, too, and when I compared those two patch files, I noticed that the file with the other version number was a binary patch file, but the *.hcd file in the /firmware/brcm directory was only an html file ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Bluetooth adapter not found in Manjaro XFCE with Ralink corp. RT3290 Bluetooth controller dhatwalia Linux - Newbie 2 10-13-2018 05:57 AM
[SOLVED] [Current] Bluetooth controller not accessible by user (default groups) Freaksta Slackware 4 07-09-2018 10:05 PM
[SOLVED] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 09:53 AM
SCSI controller - Add extra controller & add a disc to the extra controller raj100 Linux - Hardware 1 11-01-2015 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration