Bluetooth Debian Testing
#1
Hi there,

I'm using Debian Testing from Unofficial installer and bluetooth doesn't work for me.


Code:
$ blueman-manager
blueman-manager version 2.1.1 starting
blueman-manager 01.50.27 ERROR    Manager:118 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 01.50.27 ERROR    Manager:122 on_dbus_name_appeared: No adapter(s) found, exiting

Code:
$ dmesg | grep bluetooth
[   20.854175] bluetooth hci1: Direct firmware load for brcm/BCM4345C5.hcd failed with error -2
Code:
uname -a
Linux pinebookpro 5.4.2-2-pinebookpro-arm64 #1 SMP PREEMPT Tue Jan 7 09:59:56 UTC 2020 aarch64 GNU/Linux
Code:
/lib/modules/5.4.2-2-pinebookpro-arm64/kernel/drivers/bluetooth$ ls
ath3k.ko    bfusb.ko   btbcm.ko    btmrvl.ko       btqca.ko  btrtl.ko   btusb.ko     hci_vhci.ko
bcm203x.ko  bpa10x.ko  btintel.ko  btmrvl_sdio.ko  btrsi.ko  btsdio.ko  hci_uart.ko


Yes, I need something like ap6256 firmware, but where I can get it? Any repository?
#2
(01-08-2020, 07:01 PM)wasgurd Wrote: Hi there,

I'm using Debian Testing from Unofficial installer and bluetooth doesn't work for me.


Code:
$ blueman-manager
blueman-manager version 2.1.1 starting
blueman-manager 01.50.27 ERROR    Manager:118 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 01.50.27 ERROR    Manager:122 on_dbus_name_appeared: No adapter(s) found, exiting

Code:
$ dmesg | grep bluetooth
[   20.854175] bluetooth hci1: Direct firmware load for brcm/BCM4345C5.hcd failed with error -2
Code:
uname -a
Linux pinebookpro 5.4.2-2-pinebookpro-arm64 #1 SMP PREEMPT Tue Jan 7 09:59:56 UTC 2020 aarch64 GNU/Linux
Code:
/lib/modules/5.4.2-2-pinebookpro-arm64/kernel/drivers/bluetooth$ ls
ath3k.ko    bfusb.ko   btbcm.ko    btmrvl.ko       btqca.ko  btrtl.ko   btusb.ko     hci_vhci.ko
bcm203x.ko  bpa10x.ko  btintel.ko  btmrvl_sdio.ko  btrsi.ko  btsdio.ko  hci_uart.ko


Yes, I need something like ap6256 firmware, but where I can get it? Any repository?

Radxa lists it as available within their repo, but they don't list direct support for Bullseye yet, so you may need to do a little fiddling.
#3
(01-09-2020, 08:27 AM)tophneal Wrote: Radxa lists it as available within their repo, but they don't list direct support for Bullseye yet, so you may need to do a little fiddling.

Well, it doesn't work with Bullseye.

I tried to copy https://github.com/armbian/firmware/tree...4345C5.hcd to /lib/firmware/brcm/ directly but it doesn't work as well.
Could I download any sources to build or how can I solve it?
#4
I'm not too proficiet with this sort of thing,
BUT,  possibly 'Synaptic' as it is supposed to 'resolve dependancies'  ?
IF it does not work,  Then it is easy to remove the added software.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
#5
Usually, dmesg will tell about devices, so just after reboot (and grep to find easily)

dmesg |grep firm  OR    dmesg |grep luetoo

The firmware has to be in the "right " place
#6
Sadly, I am running into this issue as well. Someone must have built / used this firmware with kernel 5.4, right? I mean, the Manjaro guys seem to be doing fine with it...
#7
wow so I found this exact issue last night too. I suspected that the kernel isn't building the right support modules. if you look at the default Debian OS syslog you have different output.

I pulled the hcd file from one of ayufan's repositories.

was going to look at this again tonight...

@danielt

/lib/firmware/brcm/ seems like the right place based on syslog messages. the hcd is picked up fine
#8
default os bluetooth syslog: https://pastebin.com/cV5crntn
default os /lib/firmware/brcm/ folder: https://pastebin.com/BML7PLMY

can anyone with manjaro experience comment on bluetooth support?
#9
On pbp, booted manjaro, only have bt keyboard, connected OK

brcm]$ ls -l *4345* |grep -v berry |grep -v rockpi |grep -v MINIX
-rw-r--r-- 1 root root 39411 Jan 11 07:01 BCM4345C5.hcd
-rw-r--r-- 1 root root 488193 Dec 25 08:09 brcmfmac43455-sdio.bin
-rw-r--r-- 1 root root 482927 Jan 11 07:01 brcmfmac43456-sdio.bin
-rw-r--r-- 1 root root 14036 Jan 11 07:01 brcmfmac43456-sdio.clm_blob
-rw-r--r-- 1 root root 2196 Jan 11 07:01 brcmfmac43456-sdio.pine64,pinebook-pro.txt
[d@manjaroPBP brcm]$
I hope that's helpful ,, don't see how to make attachment, next post contents pinebook-pro.txt,
much config

[d@manjaroPBP brcm]$ cat *pro.txt
# SPDX-License-Identifier: GPL-2.0+
# © Copyright 2018 Linaro Ltd
# NVRAM config file for the Ampak AP6210 43362 WiFi/BT module found on the
# Cubietech Cubietruck board
aa2g=1
ag0=2
boardflags2=0x80
boardflags=0x80201
boardnum=777
boardrev=0x1307
boardtype=0x0598
btc_flags=0x6
btc_params0=5000
btc_params1=1000
btc_params6=63
cck2gpo=0x2222
cckPwrOffset=5
ccode=0
devid=0x4343
macaddr=00:90:4c:c5:12:38
manfid=0x2d0
maxp2ga0=74
mcs2gpo0=0x6666
mcs2gpo1=0x6666
noise_cal_enable_2g=0
noise_cal_po_2g=0
ofdm2gpo=0x44444444
pa0b0=5447
pa0b1=-607
pa0b2=-160
pa0itssit=62
pa0maxpwr=56
pa1itssit=62
prodid=0x492
rssisav2g=0x7
rssismc2g=0x3
rssismf2g=0xa
sromrev=3
swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff
temp_add=29767
temp_mult=425
triso2g=0
vendid=0x14e4
wl0id=0x431b
xtalfreq=26000
#AP6256_NVRAM_V1.1_08252017
# Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $
sromrev=11
vendid=0x14e4
devid=0x43ab
manfid=0x2d0
prodid=0x06e4
macaddr=00:90:4c:c5:12:38
nocrc=1
boardtype=0x6e4
boardrev=0x1304
xtalfreq=37400
#boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default
# bit1 for btcoex
boardflags=0x00480201
boardflags2=0x40800000
boardflags3=0x48200100
#phycal_tempdelta=15
rxchain=1
txchain=1
aa2g=1
aa5g=1
tssipos5g=1
tssipos2g=1
femctrl=0
AvVmid_c0=0,157,1,126,1,126,1,126,1,126
pa2ga0=-164,5427,-623
pa2ga1=-165,3699,-515
#pa5ga0=-146,5304,-612,-140,5341,-613,-166,5326,-633,-154,5272,-621
#pa5ga0=-134,5385,-609,-132,5359,-605,-154,5360,-621,-140,5288,-604
pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498
itrsw=1
pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa
pdoffset80ma0=0xaaaa
extpagain5g=2
extpagain2g=2
tworangetssi2g=0
tworangetssi5g=0
# LTECX flags
# WCI2
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x22
ltecxgcigpio=0x32

pacalshift5g=0,0,3

maxp2ga0=70
cckbw202gpo=0x1000
cckbw20ul2gpo=0x1000
ofdmlrbw202gpo=0x0033
dot11agofdmhrbw202gpo=0x2222
mcsbw202gpo=0x99333322

cckdigfilttype=5

#maxp5ga0=82,82,82,82
#mcsbw205glpo=0x99555000
#mcsbw205gmpo=0x99555000
#mcsbw205ghpo=0x99555000
#mcsbw405glpo=0x99555000
#mcsbw405gmpo=0x99555000
#mcsbw405ghpo=0x99555000
#mcsbw805glpo=0x99555000
#mcsbw805gmpo=0x99555000
#mcsbw805ghpo=0x99555000

maxp5ga0=73,74,73,73
mcsbw205glpo=0x8a875444
mcsbw205gmpo=0x8a875444
mcsbw205ghpo=0x8a875444

mcsbw405glpo=0xda844333
mcsbw405gmpo=0xdb844333
mcsbw405ghpo=0xda844333

mcsbw805glpo=0xdb555444
mcsbw805gmpo=0xda555444
mcsbw805ghpo=0xda555444


swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3

vcodivmode=1
deadman_to=481500000
ed_thresh2g=-54
ed_thresh5g=-54
eu_edthresh2g=-54
eu_edthresh5g=-54
#10
placing these here for later:

https://gitlab.manjaro.org/manjaro-arm/p...6-firmware
https://gitlab.manjaro.org/manjaro-arm/p...st-install


Possibly Related Threads…
Thread Author Replies Views Last Post
  Official Debian support moonwalkers 64 65,603 07-08-2024, 01:40 PM
Last Post: Humid Stylus
  Debian on Pinebook Pro u974615 7 3,023 03-31-2024, 10:11 AM
Last Post: u974615
  install debian on pbp jsch 7 5,532 11-22-2023, 04:22 PM
Last Post: TRS-80
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 10,060 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  Unable to install Debian Bullseye because of missing wifi firmware Pino64 7 5,529 07-15-2023, 02:58 PM
Last Post: u974615
  Big bluetooth problems ColoBill 2 1,731 12-15-2022, 01:38 PM
Last Post: ColoBill
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 1 1,699 12-09-2022, 12:43 PM
Last Post: as365n4
  Unsuccessful using danielt's unofficial Debian installer on the PBP joeDoe 2 2,999 12-09-2022, 05:04 AM
Last Post: ndp
  How can I install Debian? ImmyChan 1 2,822 10-19-2022, 03:09 AM
Last Post: alpopa
  Testing a broken Vulkan driver LivingLinux 0 1,277 09-26-2022, 05:08 AM
Last Post: LivingLinux

Forum Jump:


Users browsing this thread: 11 Guest(s)