Package Details: mkinitcpio-bluetooth 1.4-1

Git Clone URL: https://aur.archlinux.org/mkinitcpio-bluetooth.git (read-only, click to copy)
Package Base: mkinitcpio-bluetooth
Description: This is an initcpio hook for bluetooth connectivity during boot / in initramfs.
Upstream URL: https://github.com/irreleph4nt/mkinitcpio-bluetooth/
Keywords: bluetooth hook mkinitcpio
Licenses: GPLv2
Replaces: mkinitcpio-btinput
Submitter: irreleph4nt
Maintainer: irreleph4nt
Last Packager: irreleph4nt
Votes: 14
Popularity: 0.21
First Submitted: 2019-02-24 02:32 (UTC)
Last Updated: 2020-05-23 18:09 (UTC)

Pinned Comments

Eyenseo commented on 2021-05-26 19:59 (UTC)

To save other people some time; I needed the uhid module. My mainboard is a ROG STRIX B450-I GAMING with onboard BT (I think it's a RTL8822BE).

irreleph4nt commented on 2019-02-24 02:44 (UTC)

The short version of what you need to do so this hook works (detailed version on Github):

  • install this package
  • make sure AutoEnable=true exists and is enabled in /etc/bluetooth/main.conf
  • pair, connect and trust your bluetooth keyboard (instructions exist on the wiki)
  • add 'bluetooth' to your HOOKS array in /etc/mkinitcpio.conf after 'keyboard' and before 'encrypt'
  • if your bluetooth adapter does not identify as USB device or needs additional modules / files, add these to mkinicpio.conf as required
  • recreate your initramfs with mkinitcpio

Latest Comments

petaramesh commented on 2023-11-23 20:36 (UTC)

Hello, I'm glad to report that mkinitcpio-bluetooth works on a RaspberryPi. so could you please be so kind to add "aarch64" in the list of supported architectures in PKGBUILD ? Thanks in advance.

traysh commented on 2022-01-11 19:46 (UTC)

hm, after some hours trying to get this working, I realized it does not work with systemd based initramfs, as systemd won't call runtime hooks (it would require unit files instead) =(

jbodhorn commented on 2021-12-31 22:03 (UTC)

Irreleph4ant, you said "if your bluetooth adapter does not identify as USB device or needs additional modules / files, add these to mkinicpio.conf as required"

rEFInd gives errors at luks unlock and I can't type via Bluetooth: Bluetooth: hci0: failed to open intel fw file: intel/ibt-hw-37.8.10-fw-1.10.11-3.11-e.bseq

And:

Bluetooth: hci0: failed to open default fw file: intel/ibt-hw-37.8.bseq

I've found both files on my file root and tried adding them to the files section of mkinitcpio.conf

I'm not sure if it's not adding them at all due to format or typo, or if I'm only getting those errors bc something else is also needed

I had added to FILES=(/path/to/file.bseq /path/to/file.bseq)

Is that proper format, or do I copy the files elsewhere and just add to mkinicpio.conf FILES=(file.ext file.ext)

Feel like I'm missing something, my Bluetooth no longer works at DE login, running gnome, have to use another keyboard and mouse to log in, run systemctl restart Bluetooth, then I can open gnome settings and tell it to reconnect to my mouse and keyboard.

And to think, at least logging into gnome with the Bluetooth keyboard worked, before trying to "fix" unlocking my luks encrypted root via Bluetooth ....

jbodhorn commented on 2021-12-31 21:45 (UTC)

if your bluetooth adapter does not identify as USB device or needs additional modules / files, add these to mkinicpio.conf as required

rEFInd gives an error: Bluetooth: hci0: failed to open default fw file: intel/ibt-hw-37.8.10-fw-1.10.11-3.11-e.bseq

And:

Bluetooth: hci0: failed to open default fw file: intel/ibt-hw-37.8.10-fw-1.10.11-3.11-e.bseq

h3x4d3c1m4l commented on 2021-11-03 00:26 (UTC)

I needed these for my Dell XPS15 (which has a Qualcomm AX500 attached directly to the UART) and Logitech K380 keyboard:

MODULES=(intel_lpss_pci 8250_dw hci_uart hidp)
FILES=(/lib/firmware/qca/htbtfw20.tlv /lib/firmware/qca/htnv20.bin)

The intel_lpss_pci and 8250_dw modules were needed to enable the UART.

Eyenseo commented on 2021-05-26 19:59 (UTC)

To save other people some time; I needed the uhid module. My mainboard is a ROG STRIX B450-I GAMING with onboard BT (I think it's a RTL8822BE).

aviallon commented on 2020-05-08 17:04 (UTC)

Golden value package... could a TU build it into community ? This is sooo useful ! (especially on Macs...)

truongan commented on 2020-03-24 09:18 (UTC)

Damn, I can believe this package got no vote yet. You are the man!! You saved my day man.

irreleph4nt commented on 2019-02-24 02:44 (UTC)

The short version of what you need to do so this hook works (detailed version on Github):

  • install this package
  • make sure AutoEnable=true exists and is enabled in /etc/bluetooth/main.conf
  • pair, connect and trust your bluetooth keyboard (instructions exist on the wiki)
  • add 'bluetooth' to your HOOKS array in /etc/mkinitcpio.conf after 'keyboard' and before 'encrypt'
  • if your bluetooth adapter does not identify as USB device or needs additional modules / files, add these to mkinicpio.conf as required
  • recreate your initramfs with mkinitcpio