It looks like the HID/keyboard modules were reorganized as MAcBook3,1
pointed out.  /lib/modules/2.6.27-9-generic/kernel/drivers/hid/ has the
following modules: hid usbhid usbkbd usbmouse of which hid and usbhid
are added to the initrd under the default configuration.  In addition to
these, /lib/modules/2.6.28-3-generic/kernel/drivers/hid/ has a number of
hid-<vendor> modules which I assume are vendor-specific code split from
the 2.6.27 hid module.  A workaround is to add hid_apple to /etc
/initramfs-tools/modules and run update-initramfs to rebuild the initrd.
The built-in keyboard now works early in boot on my Macbook Pro 2,2 with
kernel 2.6.28-3-generic.

To fix this issue, we could modify the initramfs-tools package to
automatically add the necessary hid-<vendor> module or add them all.
mkinitramfs (which is called by the update-initramfs wrapper) adds the
usbhid module by calling auto_add_modules() from /usr/share/initramfs-
tools/hook-functions.  So the vendor-specific modules could be added
either to auto_add_modules() or to a file in /usr/share/initramfs-
tools/conf.d/.  Or, if adding all vendor-specific modules is not
desirable, perhaps auto_add_modules() could pick the one currently
loaded e.g. lsmod | grep -E '^hid_' | awk '{ print $1 }'.  This, of
course, won't work if you're building a 2.6.28 initrd while running
under 2.6.27, which is likely to be the case for most users upgrading to
Jaunty.

-- 
On MacBook Pro laptop with 2.6.28 kernel, keyboard does not work during boot 
(password entry for encrypted root)
https://bugs.launchpad.net/bugs/310460
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to