LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   macbook pro 2015 - keyboard not responding after install (https://www.linuxquestions.org/questions/slackware-14/macbook-pro-2015-keyboard-not-responding-after-install-4175553896/)

exeighty 09-18-2015 05:23 PM

macbook pro 2015 - keyboard not responding after install
 
Hi guys,

I (almost) have a new installation of Slackware64-14.1 on a 15 inch retina Macbook pro 2015.

I was able to use cryptsetup and LVM to install onto an encrypted root partition. Swap is encrypted too thanks to LVM. After installing, my laptop rebooted to the LUKS passphrase prompt. The problem is that the neither the integrated keyboard nor usb keyboard are detected.

Since both keyboards were detected by the Slackware installer, I used the installation media to decrypt the root and chroot into the installation to attempt to repair it.

I rebuilt the initrd.gz many times, omitting various extraneous options one at a time, such as -h /dev/cryptvg/swap, -l dvorak, -K LABEL:/path/keyfile.luks, etc.

I've done this both before and after building 4.2.0, basing it on the config from generic-3.10.17.

Since I had no luck getting the keyboard to respond, I then ran lsmod from the installer and included _all_ of them in the init ramdisk. I can see the modules load at boot but I still have no keyboard response.

Did any of you have this problem when you installed to your 2015 macbook pros?

Here's the mkinitrd command I began with:
mkinitrd -c -k 4.2.0 -m ext3:ext4 -f ext4 -r /dev/cryptvg/root -C /dev/sda7 -L -l dvorak -h /dev/cryptvg/swap -K LABEL:/path/keyfile.luks

I've read and followed README.lvm, README.initrd, and README.crypt on ftp.slackware.com.

I should mention that I've used Slackware in a similar LVM + LUKS setup many times over the past 10+ years without trouble.

I have also read these two threads, as well as few on arch linux:
http://www.linuxquestions.org/questi...rt-4175552477/
http://www.linuxquestions.org/questi...6/#post5409238

I really appreciate everybody's posts on UEFI and running Slackware on macbooks.

If you have any idea what I'm doing wrong, please share!

--exeighty

dugan 09-21-2015 02:25 PM

I really have no idea why you're having this problem, but have you tried installing -current instead of 14.1?

I don't think it's usually advised to use Linux distributions that are older than the hardware. :)

meja 11-02-2015 12:37 AM

I ran into this exact issue and finally resolved it today by running:

mkinitrd -c -k 4.2.5 -f ext4 -r /dev/cryptvg/root -m usb-storage:xhci-hcd:usbhid:hid_generic:mbcache:hid:jbd2:ext4:i915:hid_apple:ohci-hcd:evdev:uas:xhci_pci:xhci_hcd -C /dev/sda5 -L -u -o /boot/initrd-4.2.5.gz

My set up is a 2015 rMbp running Slackware current + 4.2.5 kernel + LVM + LUKS.
HTH

Long time lurker, first time poster


All times are GMT -5. The time now is 08:36 PM.