[arch-projects] [mkinitcpio][PATCH] hooks: rename usbinput to input

Tom Gundersen teg at jklm.no
Thu Dec 27 12:09:16 EST 2012

On Thu, Dec 27, 2012 at 2:44 AM, Dave Reisner <d at falconindy.com> wrote:
> Does atkbd have modaliases? There seems to be aliases for stuff in
> drivers/input/serio/* and other keyboard drivers in
> drivers/input/keyboard/*, but I see no evidence that atkbd can be
> autoloaded.

I haven't actually tried it (as I don't have the controller), however,
it looks like it should work to me:

% modinfo atkbd
license:        GPL
description:    AT and PS/2 keyboard driver
author:         Vojtech Pavlik <vojtech at suse.cz>
srcversion:     88F58DCA130FB37430C00C5
alias:          serio:ty02pr22id*ex*
alias:          serio:ty06pr*id*ex*
alias:          serio:ty01pr*id*ex*

> 'input' seems like too generic a name, since we aren't adding drivers
> for things like analog joysticks or mice, but at the same time, we're
> adding a bunch of usb HID stuff that might be used for just that. I'm
> okay with the the name 'input', as I don't have any better ideas.

We could call it 'keyboard' as whatever joystick/mouse/... drivers are
not used anyway in the initramfs, and we don't include any of the
non-hid, non-keyboard modules.

>> +help() {
>> +    cat <<HELPEOF
>> +This hook loads the necessary modules for input devices.  Detection
> Maybe change the verbiage here to note that this hook is aimed at
> providing drivers for a keyboard (as we generally take anything else
> added as a side effect).

I'll rephrase and rename to 'keyboard', you can rename back to 'input'
if you prefer.


More information about the arch-projects mailing list