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

feat(kernel-modules): driver support for macbook keyboards #2218

Merged
merged 1 commit into from Feb 21, 2023

Conversation

pvalena
Copy link
Contributor

@pvalena pvalena commented Feb 21, 2023

Discussed in: https://bugzilla.redhat.com/show_bug.cgi?id=2166209

Changes

Add kernel module -driver which is needed for keybord support on macbooks.

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Notes

I will test and report soon. This patch will also land in Fedora rawhide (for testing purposes).

Credit for patch: Hans de Goede

@github-actions github-actions bot added kernel-modules Issues related to the kernel-modules module modules Issue tracker for all modules labels Feb 21, 2023
@LaszloGombos
Copy link
Collaborator

Is the spi_pxa2xx_platform kernel module enough ?

What about applespi ?

See also https://bugzilla.redhat.com/show_bug.cgi?id=1769465 and https://github.com/darkmuggle/fedora-mbp-14.1/blob/patronus/files/macbook.conf

@pvalena
Copy link
Contributor Author

pvalena commented Feb 21, 2023

Is the spi_pxa2xx_platform kernel module enough ?

What about applespi ?

See also https://bugzilla.redhat.com/show_bug.cgi?id=1769465 and https://github.com/darkmuggle/fedora-mbp-14.1/blob/patronus/files/macbook.conf

Hello, thanks for checking!

I don't know about luks / plymouth. It might have other dependencies. Users report adding this driver is sufficient for them (maybe it pulls the dependencies transitively?).

Sorry, I do not have any further insight, but I'll ask and gather feedback.

Drivers can be however added one-by-one for users and their specific cases, right?

@damaestro
Copy link

damaestro commented Feb 21, 2023

Is the spi_pxa2xx_platform kernel module enough ?

What about applespi ?

See also https://bugzilla.redhat.com/show_bug.cgi?id=1769465 and https://github.com/darkmuggle/fedora-mbp-14.1/blob/patronus/files/macbook.conf

On a fresh install of Fedora Rawhide applespi and spi_pxa2xx_platform are loaded post-install.

lsinitrd shows that applespi is already included in the initramfs for kernel-core-6.2.0-[...]

lsinitrd /boot/initramfs-6.2.0-0.rc8.20230217gitec35307e18ba.60.fc39.x86_64.img|grep applespi
-rw-r--r--   1 root     root        20060 Jan 18 19:00 usr/lib/modules/6.2.0-0.rc8.20230217gitec35307e18ba.60.fc39.x86_64/kernel/drivers/input/keyboard/applespi.ko.xz

Copy link
Collaborator

@johannbg johannbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@LaszloGombos LaszloGombos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@LaszloGombos LaszloGombos merged commit df381b7 into dracutdevs:master Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel-modules Issues related to the kernel-modules module modules Issue tracker for all modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants