[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#515866: MacBook Pro keyboard unresponsive at LUKS prompt with kernels >= 2.6.27



On Tue, Feb 17, 2009 at 04:07:15PM -0800, Matt Kraai wrote:
> Package: initramfs-tools
> Version: 0.92o
> 
> When I boot a 2.6.27 or later kernel on my MacBook Pro and try to
> enter my passphrase at the LUKS prompt, nothing happens.  This appears
> to be
> 
>  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/310460
> 
> The attached script, when put in /etc/initramfs-tools/hooks, includes
> the hid-apple module in the initrd if it's available, which fixes the
> problem.
> 
> It would be helpful to have something like this included in the
> standard initramfs-tools package.  I have a couple questions about how
> it should behave, though:
> 
>  * Should it only include the module if LUKS is in use?
>  * Should it only include the module if the module is needed for
>     * this computer model (i.e., a MacBook Pro)
>     * any of the attached keyboards (what about keyboards that are
>       attached later?)
>    ?
>  * What about other the hid-* modules?

thanks a lot for submitting your bug report,
this is fixed in latest initramfs-tools by syncing the Ubuntu fix
to add all the hid-* modules to initramfs.
see http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary
or git clone 	git://git.debian.org/kernel/initramfs-tools.git

plan to upload soonest current master as 0.93.
 
> -- 
> Matt                                                 http://ftbfs.org/

> #!/bin/sh
> 
> PREREQ=""
> 
> prereqs()
> {
> 	echo "$PREREQ"
> }
> 
> case $1 in
> # get pre-requisites
> prereqs)
> 	prereqs
> 	exit 0
> 	;;
> esac
> 
> # Hooks for loading Apple keyboard quirks into the initramfs
> 
> . /usr/share/initramfs-tools/hook-functions
> 
> if [ -f "$MODULESDIR/kernel/drivers/hid/hid-apple.ko" ]; then
>    manual_add_modules hid-apple
> fi

irc the check is not needed as manual_add_modules should take care?
but just a side remark.

snowy greeting from vienna

-- 
maks




Reply to: