Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What would be required for this to work with systemd-boot? #13

Closed
sarvasana opened this issue Jun 21, 2022 · 2 comments
Closed

What would be required for this to work with systemd-boot? #13

sarvasana opened this issue Jun 21, 2022 · 2 comments

Comments

@sarvasana
Copy link

You mentioned your hook will not work with systemd.

Do you happen to know if it is at all possible to have BT working with systemd-boot?
I am having great difficulties finding resources on how to get my BT keyboard working at boot time.
Need to unlock my luks encrypted disk.
For which I can use my laptop keyboard of course, but would really like to use my external keyboard instead.

@irreleph4nt
Copy link
Owner

Hi,
The problem is that systemd unit files are started in a particular order. My previous attempts at making that work all failed because systemd would always start bluetooth right after the luks password prompt - i.e. after one had to enter the passphrase - which rendered the whole thing useless. What may get you on the right path is to review this pull request which added bluetooth connectivity to dracut, a competitor of mkinitcpio. Also have a look at this dicussion which shows how they got around the unit fiile not starting early enough during boot.

@daftaupe
Copy link

Hello,
I would like to give using systemd a try.
@irreleph4nt do you maybe have some remaining work files in a branch or something about it, so that it would be easier to start ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants