Rock 4 SE: bluetooth rfcomm not available (Debian 11 Bullseye)

Bluetooth is working but only with the Audio playback profile. The rfcomm or other network related services aren’t available. Here is the output of “sudo systemctl status bluetooth”:

Blockquote

● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-03-21 12:24:22 CET; 4h 40min ago
Docs: man:bluetoothd(8)
Main PID: 68522 (bluetoothd)
Status: “Running”
Tasks: 1 (limit: 4599)
Memory: 1.6M
CPU: 201ms
CGroup: /system.slice/bluetooth.service
└─68522 /usr/libexec/bluetooth/bluetoothd

mar 21 12:24:22 rock-4se bluetoothd[68522]: Endpoint registered: sender=:1.57 path=/MediaEndpoint/A2DPSink/sbc
mar 21 12:24:22 rock-4se bluetoothd[68522]: Endpoint registered: sender=:1.57 path=/MediaEndpoint/A2DPSource/sbc
mar 21 12:24:22 rock-4se bluetoothd[68522]: src/profile.c:ext_start_servers() RFCOMM server failed for Headset Voice gateway: socket(STREAM, RFCOMM): Protocol not supported (93)
mar 21 12:24:22 rock-4se bluetoothd[68522]: src/profile.c:ext_start_servers() RFCOMM server failed for Headset unit: socket(STREAM, RFCOMM): Protocol not supported (93)
mar 21 12:45:46 rock-4se bluetoothd[68522]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 0C:8B:FD:27:C3:46: Connection refused (111)
mar 21 12:45:46 rock-4se bluetoothd[68522]: src/service.c:btd_service_connect() a2dp-source profile connect failed for 0C:8B:FD:27:C3:46: Device or resource busy
mar 21 12:45:48 rock-4se bluetoothd[68522]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 0C:8B:FD:27:C3:46: Connection refused (111)
mar 21 12:46:01 rock-4se bluetoothd[68522]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 0C:8B:FD:27:C3:46: Invalid exchange (52)
mar 21 12:46:01 rock-4se bluetoothd[68522]: src/service.c:btd_service_connect() a2dp-source profile connect failed for 0C:8B:FD:27:C3:46: Device or resource busy
mar 21 12:46:03 rock-4se bluetoothd[68522]: profiles/audio/avdtp.c:avdtp_connect_cb() connect to 0C:8B:FD:27:C3:46: Invalid exchange (52)

Blockquote

I tried every suggestion found in wiki or specialized sites (enable programmaticali SDB profile, restart bluetooth service in compatibility mode etc. etc.)in wiki or specialized sites with no success. The serial profile SDP (or encapsulated in L2CAP profile) is a very old BT service that survived through years and I’m very surprised that’s isn’t supported.
From the kernel point of view it seems that the hardware has the capabilities needed for the serial profiles. Here it is the output of “sudo dmesg| grep tooth” command:

Blockquote
[ 25.383010] Bluetooth: Core ver 2.22
[ 25.383140] Bluetooth: HCI device and connection manager initialized
[ 25.383167] Bluetooth: HCI socket layer initialized
[ 25.383188] Bluetooth: L2CAP socket layer initialized
[ 25.383219] Bluetooth: SCO socket layer initialized
[ 25.477737] Bluetooth: HCI UART driver ver 2.3
[ 25.477749] Bluetooth: HCI UART protocol H4 registered
[ 25.477756] Bluetooth: HCI UART protocol ATH3K registered
[ 25.478029] Bluetooth: HCI UART protocol Intel registered
[ 25.479189] Bluetooth: HCI UART protocol Broadcom registered
[ 25.479249] Bluetooth: HCI UART protocol QCA registered
[ 25.835528] Bluetooth: hci0: BCM: chip id 107
[ 25.836020] Bluetooth: hci0: BCM: features 0x2f
[ 25.838331] Bluetooth: hci0: BCM4345C0
[ 25.838356] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[ 25.853493] Bluetooth: hci0: BCM4345C0 ‘brcm/BCM4345C0.hcd’ Patch
[ 26.851309] Bluetooth: hci0: BCM4345C0 UART 37.4 MHz wlbga_ref_iLNA_iTR_eLG 0162
[ 26.851335] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000

Blockquote

And this is the output of “sudo lsmod” command:

Blockquote
Module Size Used by
vfat 20480 1
fat 65536 1 vfat
zstd 16384 6
zstd_compress 167936 1 zstd
zram 24576 1
uas 20480 1
usb_storage 61440 1 uas
hci_uart 69632 0
btqca 16384 1 hci_uart
snd_soc_simple_card 20480 0
snd_soc_hdmi_codec 20480 1
btbcm 16384 1 hci_uart
snd_soc_es8316 36864 1
snd_soc_rockchip_i2s 16384 4
snd_soc_simple_card_utils 20480 1 snd_soc_simple_card
snd_soc_rockchip_hdmi 16384 0
btintel 20480 1 hci_uart
brcmfmac 233472 0
brcmutil 16384 1 brcmfmac
snd_soc_core 172032 6 snd_soc_hdmi_codec,snd_soc_simple_card_utils,snd_soc_rockchip_i2s,snd_soc_simple_card,snd_soc_es8316,snd_soc_rockchip_hdmi
snd_pcm_dmaengine 16384 1 snd_soc_core
bluetooth 450560 27 btqca,btintel,hci_uart,btbcm
midgard_kbase 552960 2
snd_pcm 94208 3 snd_soc_hdmi_codec,snd_soc_core,snd_pcm_dmaengine
snd_timer 28672 1 snd_pcm
ecdh_generic 16384 2 bluetooth
ecc 24576 1 ecdh_generic
snd 61440 4 snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm
io_domain 16384 0
nvmem_rockchip_efuse 16384 0
soundcore 16384 1 snd
pwm_rockchip 16384 1
nf_tables 163840 0
nfnetlink 16384 1 nf_tables
extcon_pd_virtual 16384 0
ledtrig_pattern 16384 0
ledtrig_heartbeat 16384 0
ledtrig_default_on 16384 0
fuse 106496 5
ip_tables 24576 0
x_tables 28672 1 ip_tables
ipv6 413696 89
dw_hdmi_cec 16384 0
dw_hdmi_i2s_audio 16384 0
rockchipdrm 425984 2
panel_simple 77824 1 rockchipdrm
analogix_dp 45056 1 rockchipdrm
dw_mipi_dsi 20480 1 rockchipdrm
dw_hdmi_qp 36864 1 rockchipdrm
dw_hdmi 53248 3 dw_hdmi_cec,dw_hdmi_i2s_audio,rockchipdrm
drm_kms_helper 167936 5 dw_mipi_dsi,rockchipdrm,dw_hdmi,analogix_dp,dw_hdmi_qp
cfbfillrect 16384 1 drm_kms_helper
syscopyarea 16384 1 drm_kms_helper
cfbimgblt 16384 1 drm_kms_helper
phy_rockchip_emmc 16384 1
phy_rockchip_pcie 16384 0
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
phy_rockchip_inno_usb2 57344 9
fb_sys_fops 16384 1 drm_kms_helper
cfbcopyarea 16384 1 drm_kms_helper
phy_rockchip_typec 24576 3
drm 385024 9 drm_kms_helper,dw_mipi_dsi,panel_simple,rockchipdrm,dw_hdmi,analogix_dp,dw_hdmi_qp
dw_mmc_rockchip 16384 0
drm_panel_orientation_quirks 24576 1 drm
rockchip_cpuinfo 16384 4 io_domain,phy_rockchip_inno_usb2,rockchipdrm,dw_mmc_rockchip

Blockquote

My suspects fall around kernel not properly bound to bluetooth or firmware.
Many thanks in advance for your support and please be patient to my inexperience in using quoting in this environment.