Skip to content

Commit ccfbbe2

Browse files
committed
rtlbtfw: Firmware loader for Realtek 87XX/88XX bluetooth USB adaptors
Firmware files are available in the comms/rtlbt-firmware port. Sponsored by: Future Crew LLC MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D46739 (cherry picked from commit 5036d96)
1 parent 5ce844d commit ccfbbe2

File tree

12 files changed

+1875
-0
lines changed

12 files changed

+1875
-0
lines changed

targets/pseudo/userland/Makefile.depend

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ DIRDEPS+= \
432432
usr.sbin/bluetooth/l2control \
433433
usr.sbin/bluetooth/l2ping \
434434
usr.sbin/bluetooth/rfcomm_pppd \
435+
usr.sbin/bluetooth/rtlbtfw \
435436
usr.sbin/bluetooth/sdpcontrol \
436437
usr.sbin/bluetooth/sdpd \
437438
usr.sbin/bootparamd/bootparamd \

tools/build/mk/OptionalObsoleteFiles.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ OLD_FILES+=etc/bluetooth/hosts
197197
OLD_FILES+=etc/bluetooth/protocols
198198
OLD_FILES+=etc/defaults/bluetooth.device.conf
199199
OLD_FILES+=etc/devd/iwmbtfw.conf
200+
OLD_FILES+=etc/devd/rtlbtfw.conf
200201
OLD_DIRS+=etc/bluetooth
201202
OLD_FILES+=etc/rc.d/bluetooth
202203
OLD_FILES+=etc/rc.d/bthidd
@@ -244,6 +245,7 @@ OLD_FILES+=usr/sbin/iwmbtfw
244245
OLD_FILES+=usr/sbin/l2control
245246
OLD_FILES+=usr/sbin/l2ping
246247
OLD_FILES+=usr/sbin/rfcomm_pppd
248+
OLD_FILES+=usr/sbin/rtlbtfw
247249
OLD_FILES+=usr/sbin/sdpcontrol
248250
OLD_FILES+=usr/sbin/sdpd
249251
OLD_FILES+=usr/share/examples/etc/defaults/bluetooth.device.conf
@@ -322,6 +324,7 @@ OLD_FILES+=usr/share/man/man8/iwmbtfw.8.gz
322324
OLD_FILES+=usr/share/man/man8/l2control.8.gz
323325
OLD_FILES+=usr/share/man/man8/l2ping.8.gz
324326
OLD_FILES+=usr/share/man/man8/rfcomm_pppd.8.gz
327+
OLD_FILES+=usr/share/man/man8/rtlbtfw.8.gz
325328
OLD_FILES+=usr/share/man/man8/sdpcontrol.8.gz
326329
OLD_FILES+=usr/share/man/man8/sdpd.8.gz
327330
.endif

usr.sbin/bluetooth/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ SUBDIR+= bcmfw
1919
SUBDIR+= bthidcontrol
2020
SUBDIR+= bthidd
2121
SUBDIR+= iwmbtfw
22+
SUBDIR+= rtlbtfw
2223
.endif
2324

2425
.include <bsd.subdir.mk>

usr.sbin/bluetooth/rtlbtfw/Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
PACKAGE= bluetooth
2+
CONFS= rtlbtfw.conf
3+
CONFSDIR= /etc/devd
4+
PROG= rtlbtfw
5+
MAN= rtlbtfw.8
6+
LIBADD+= usb
7+
SRCS= main.c rtlbt_fw.c rtlbt_hw.c
8+
9+
.include <bsd.prog.mk>

0 commit comments

Comments
 (0)