Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB bluetooth (audio) support #30

Open
VasylSamoilov opened this issue Jan 13, 2025 · 2 comments
Open

USB bluetooth (audio) support #30

VasylSamoilov opened this issue Jan 13, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@VasylSamoilov
Copy link

I have (limited) success with usb bluetooth support via otg port.

I have successfully started it on kuiper linux with tezuka kernel, but buildroot is still missing some packages to get it to work.
added to defconfig:

CONFIG_BT_BREDR=y
CONFIG_BT_HS=y
CONFIG_BT_LE=y
CONFIG_BT_BT_MSFTEXT=y

CONFIG_BT_HCIVHCI=y
CONFIG_BT_HCIUART=y
CONFIG_BT_HCIBCM203X=y
CONFIG_BT_HCIBPA10X=y
CONFIG_BT_HCIBFUSB=y
CONFIG_BT_HCIDTL1=y
CONFIG_BT_HCIBT3C=y
CONFIG_BT_HCIBLUECARD=y

CONFIG_BT_HCIBTUSB=y
CONFIG_BT_HCIBTSDIO=y

CONFIG_BT_INTEL=y
CONFIG_BT_ATH3K=y
CONFIG_BT_MRVL=y
CONFIG_BT_MRVL_SDIO=y
CONFIG_BT_MTKSDIO=y
CONFIG_BT_MTKUART=y
CONFIG_BT_QCOMSMD=y
CONFIG_BT_BCM=y
CONFIG_BT_RTL=y
CONFIG_BT_QCA=y
CONFIG_BT_MTK=y

next, packages for bluez are required.
theoretically, this should do it:

select BR2_PACKAGE_BLUEZ5_UTILS
select BR2_USE_MMU
select BR2_USE_WCHAR
select BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_BLUEZ_ALSA
select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS
select BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
select BR2_PACKAGE_BLUEZ5_UTILS_TOOLS

but I end up with "bt-.." tools that kinda work when bluetoothd is started, but bluetoothctl is missing.

to get bluetooth audio working (under kuiper linux) I compiled kernel image with bluetooth support, installed bluez, configured it and installed https://github.com/arkq/bluez-alsa backend.

Then bluetooth device should be paired. aplay -D bluealsa file or mpg123 -a bluealsa file should work.

@F5OEO
Copy link
Owner

F5OEO commented Jan 13, 2025

bluetoothctl should be installed with BR2_PACKAGE_BLUEZ5_UTILS_CLIENT.
Alsa should be configured with ALSA_PLUGIN in order to allow bluez-alsa

@F5OEO F5OEO added the enhancement New feature or request label Jan 13, 2025
@VasylSamoilov
Copy link
Author

Yes, it should be installed, but it doesn't. Seems some kind of build problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants