[systemd-devel] bluetooth keyboard support at boot, before cryptsetup?

Mantas Mikulėnas grawity at gmail.com
Thu Feb 27 12:56:11 UTC 2025


On Thu, Feb 27, 2025 at 12:29 PM Lennart Poettering <lennart at poettering.net>
wrote:

> On So, 16.02.25 18:30, Alexis Hallebarde (hallebarde at gmx.com) wrote:
>
> >    Hello,
> >
> >    I have the impression that everything for this support, is integrated
> but
> >    that it is not active by default.
> >
> >    I want to talk about the bluetooth keyboard support at the very
> beginning
> >    of the system boot, just before entering the cryptsetup password of
> our
> >    hardrive.
>
> This would require support for bluez to run in the initrd. This is not
> an easy ask though, since at that point there is no D-Bus, and there
> is no persistency. BT pairing generally requires some kind of storage
> though.
>
> Bluez would have to learn special support for this, i.e. store such
> pairings in an EFI variable or so.
>

Might as well just import /var/lib/bluetooth/*/linkkeys into the initramfs
then.

I think many BT controllers support storing link keys on the controller
itself though? Specifically for early boot (I kind of recall that being
mentioned in BitLocker context).

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250227/00c7f4e5/attachment.htm>


More information about the systemd-devel mailing list