Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

RFCOMM TTY support not available

Featured Replies

Dear all,

 

I'm looking for help on having  RFCOMM TTY working on a Tinker Board S. Any help will be welcome !!

 

Using : Ubuntu Bionic with Armbian Linux 4.19.69-rockchip

# uname -a
Linux astrotinker 4.19.69-rockchip #5.95 SMP PREEMPT Mon Sep 2 07:34:36 CEST 2019 armv7l armv7l armv7l GNU/Linux


I'm trying to have rfcomm tty working with a bt HC-05 dongle, but RFCOMM TTY seems not to be available. The BT HC-05 is well reconized and connected:

 # bluetoothctl
[NEW] Controller 80:C5:F2:46:E2:C2 astrotinker [default]
[NEW] Device 00:14:03:06:04:ED HC-05_TIC
Agent registered

 

# systemctl restart bluetooth.service

# systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-11-25 22:23:51 CET; 3min 30s ago
     Docs: man:bluetoothd(8)
  Process: 5198 ExecStartPost=/usr/bin/rfcomm bind rfcomm1 00:14:03:06:04:ED (code=exited, status=0/SUCCESS)
 Main PID: 5196 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4784)
   CGroup: /system.slice/bluetooth.service
           └─5196 /usr/lib/bluetooth/bluetoothd -E

Nov 25 22:23:51 astrotinker bluetoothd[5196]: System does not support network plugin
Nov 25 22:23:51 astrotinker bluetoothd[5196]: Bluetooth management interface 1.14 initialized
Nov 25 22:23:51 astrotinker bluetoothd[5196]: Endpoint registered: sender=:1.129 path=/MediaEndpoint/A2DPSource
Nov 25 22:23:51 astrotinker bluetoothd[5196]: Endpoint registered: sender=:1.129 path=/MediaEndpoint/A2DPSink
Nov 25 22:23:51 astrotinker bluetoothd[5196]: Endpoint registered: sender=:1.73 path=/MediaEndpoint/A2DPSource
Nov 25 22:23:51 astrotinker bluetoothd[5196]: Endpoint registered: sender=:1.73 path=/MediaEndpoint/A2DPSink
Nov 25 22:23:51 astrotinker bluetoothd[5196]: RFCOMM server failed for Headset Voice gateway: rfcomm_bind: Address already in use (98)
Nov 25 22:23:51 astrotinker bluetoothd[5196]: RFCOMM server failed for :1.73/Profile/HSPHSProfile/00001108-0000-1000-8000-00805f9b34fb:
Nov 25 22:23:51 astrotinker rfcomm[5198]: RFCOMM TTY support not available
Nov 25 22:23:51 astrotinker systemd[1]: Started Bluetooth service.
 

# journalctl -u bluetooth.service
-- Logs begin at Mon 2019-11-25 00:30:28 CET, end at Mon 2019-11-25 22:23:52 CET. --
Nov 25 00:30:35 astrotinker systemd[1]: Starting Bluetooth service...
Nov 25 00:30:35 astrotinker bluetoothd[1466]: Bluetooth daemon 5.48
Nov 25 00:30:35 astrotinker bluetoothd[1466]: Starting SDP server
Nov 25 00:30:35 astrotinker bluetoothd[1466]: kernel lacks bnep-protocol support
Nov 25 00:30:35 astrotinker bluetoothd[1466]: System does not support network plugin
Nov 25 00:30:35 astrotinker bluetoothd[1466]: Bluetooth management interface 1.14 initialized
Nov 25 00:30:35 astrotinker rfcomm[1467]: RFCOMM TTY support not available


Regards

Franck

 

 

  • Author
2 minutes ago, TonyMac32 said:

What is this kernel, self-compiled?

Sent from my Pixel using Tapatalk
 

Well, no, I did not compile the kernel. I think last update (apt upgrade) is from 13/11/19

  • Author

Hi,

 

It seems I'm not the only one : https://forum.radxa.com/t/rfcomm-failures-in-ubuntu-server-image-and-debian-desktop-image/375

 

If linux-rockchip64-current.config is the right configuration for my Tinker Board, then RFCOMM is set to  # CONFIG_BT_RFCOMM is not set

 

Trying to buil da new kernel 

 

root@armbuild:~/build# ./compile.sh
[ o.k. ] Create example config file using template [ config-default.conf ]
[ o.k. ] Using config file [ /root/build/userpatches/config-example.conf ]
/root/build/lib/main.sh: line 136: dialog: command not found
[ error ] ERROR in function source [ main.sh:138 ]
[ error ] No option selected
[ o.k. ] Process terminated

 

  • Author

root@astrotinker:~# cat /boot/config-4.19.69-rockchip |grep -i rfcomm
CONFIG_BT_RFCOMM=y
# CONFIG_BT_RFCOMM_TTY is not set
 

Please can you enable this module ?

  • Author
3 hours ago, martinayotte said:

This seems to be clear : "dialog" tool isn't present on your machine...

Obvious, indeed :-)

  • Author


Hi 

Replying to myself to keeping trace and maybe help someone. So after building a new kernel with CONFIG_BT_RFCOMM_TTY=Y (using a VM), I installed the new packages using build debs :

 

dpkg -i armbian-config_19.11.4_all.deb
dpkg -i armbian-firmware_19.11.4_all.deb
dpkg -i linux-dtb-current-rockchip_19.11.4_armhf.deb
dpkg -i linux-image-current-rockchip_19.11.4_armhf.deb

 

So now my tinker uses : Ubuntu Bionic with Armbian Linux 5.3.18-rockchip

 

and RFCOMM TTY is working
 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.