BTHIDD(8)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’– NAME πŸ’–

hiii bestie, welcome to the bthidd(8) page from the System Manager's Manual β€” bthidd is the Bluetooth HID daemon, and she handles remote Bluetooth HID devices. periodt. πŸ’…

✨ SYNOPSIS ✨

bthidd -h
bthidd [-a BD_ADDR] [-c file] [-H file] [-p file] [-t val] [-u]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the bthidd daemon handles remote Bluetooth HID devices. that's the whole vibe. the options are:

  • -a BD_ADDR β€” specify the local address to listen on. by default, the server will listen on ANY address. you can specify the address as BD_ADDR or name; if you use a name, the bthidd daemon will attempt to resolve it via bt_gethostbyname(3). 🫢
  • -c file β€” specify path to the configuration file. the default path is /etc/bluetooth/bthidd.conf.
  • -d β€” do not detach from the controlling terminal, i.e., run in foreground. main character energy, staying right there. ✨
  • -H file β€” specify path to the known HIDs file. the default path is /var/db/bthidd.hids.
  • -h β€” display usage message and exit. short and iconic.
  • -p file β€” specify path to the PID file. the default path is /var/run/bthidd.pid.
  • -t val β€” specify client rescan interval in seconds. the bthidd daemon will periodically scan for newly configured Bluetooth HID devices or disconnected β€œpassive” Bluetooth HID devices and will attempt to establish an outgoing connection. the default rescan interval is 10 seconds. ⏰
  • -u β€” enable support for input event device protocol. requires evdev and uinput drivers to be loaded with kldload(8) or compiled into the kernel. no cap, this one needs the kernel situation handled first. πŸ’€

😭 KNOWN LIMITATIONS 😭

real talk: the bthidd daemon currently does not handle key auto repeat and double click mouse events. those events work under X(7) (ports/x11/xorg-docs) just fine, but not in text console. it's giving β€œworks on my setup” energy, but make it console. πŸ™ˆ

also, this manual page needs more work. a manual page documenting the format of the /etc/bluetooth/bthidd.conf configuration file is needed as well. bestie, the docs are lowkey asking for a glow-up. πŸŽ€

πŸŽ€ FILES πŸŽ€

  • /etc/bluetooth/bthidd.conf
  • /var/db/bthidd.hids
  • /var/run/bthidd.pid

πŸ”₯ SEE ALSO πŸ”₯

πŸ‘‘ AUTHORS πŸ‘‘

Maksim Yevmenkin <m_evmenkin@yahoo.com> 🫢

⚠️ CAVEATS ⚠️

any Bluetooth HID device that has HUP_KEYBOARD or HUP_CONSUMER entries in its descriptor is considered as β€œkeyboard”. for each β€œkeyboard” Bluetooth HID device, the bthidd daemon will use a separate instance of the virtual keyboard interface vkbd(4). therefore the kbdmux(4) driver must be used to properly multiplex input from multiple keyboards. that's not a maybe, bestie β€” that's a must. πŸ’…


okay bye bestie β€” this bthidd(8) page is coming at you from the Debian source/version situation, dated April 30, 2018, and it signs off as BTHIDD(8). stay Bluetooth-y. πŸ’–βœ¨

πŸ“¦ where this page comes from