Hi, I have a USB Bluetooth Dongle from Mercusys, it's model is MA530 and i believe it uses a Realtek 8761BU chipset, however, I am unable to use rtlbtfw utility to get it to work. I also noticed that my adapter identifier name has a typo: "Meucusys" where it should be "Mercusys". I'll attach required logs. Thanks in advance. I am on 15.0-CURRENT-b71d3043c38.
Created attachment 259895 [details] dump_device_desc usbconfig # pkg info -x rtlbt rtlbt-firmware-20240909 root@freebsd /usr/src # rtlbtfw -D -d ugen0.5 -f /usr/local/share/rtlbt-firmware/ -I main: opening dev 0.5 rtlbtfw: main: device not found rtlbtfw: main: Firmware download failed!
Created attachment 259896 [details] dmesg log I might be wrong about wrong identifier name because it can also show up normally "Mercusys" in dmesg.
rtlbtfw knows nothing about device with idVendor = 0x2c4e idProduct = 0x0115. You should manually add them to VID/PID lists in usr.sbin/bluetooth/rtlbtfw/main.c and sys/netgraph/bluetooth/drivers/ubt/ng_ubt_rtl.c. Than rebuild and reinstall both rtlbtfw and kernel.
Created attachment 259993 [details] 0001-rtlbtfw-8-Add-Mercusys-MA530-VID-PID-for-Realtek-876.patch I created a patch. Test it
(In reply to Vladimir Kondratyev from comment #3) (In reply to Vladimir Kondratyev from comment #4) Thanks, it worked this time. main: opening dev 0.5 rtlbt_is_realtek: found USB Realtek main: Firmware has already been downloaded main: Firmware download is successful! However, i am not that skilled much to use my bluetooth earbuds on FreeBSD. I think we can close this report. Thanks for your work.
> I think we can close this report. It should be committed before.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7a7ab347fc6535a8c91d458dda76a61019163869 commit 7a7ab347fc6535a8c91d458dda76a61019163869 Author: Vladimir Kondratyev <wulf@FreeBSD.org> AuthorDate: 2025-04-29 20:28:53 +0000 Commit: Vladimir Kondratyev <wulf@FreeBSD.org> CommitDate: 2025-04-29 20:28:53 +0000 rtlbtfw(8): Add Mercusys MA530 VID/PID for Realtek 8761BUV Tested by: Yusuf Yaman <nxjoseph@protonmail.com> PR: 286369 MFC after: 1 week sys/netgraph/bluetooth/drivers/ubt/ng_ubt_rtl.c | 1 + usr.sbin/bluetooth/rtlbtfw/main.c | 1 + usr.sbin/bluetooth/rtlbtfw/rtlbtfw.conf | 8 ++++++++ 3 files changed, 10 insertions(+)
(In reply to Vladimir Kondratyev from comment #6) Oh, yes. Thanks.