summaryrefslogtreecommitdiffstats
path: root/install/usbinput
AgeCommit message (Collapse)AuthorFilesLines
2012-11-24usbinput: use autodetection on newer kernelsDave Reisner1-2/+13
This is a partial "revert" of 822a88700e since kernels as of 3.5 add module aliases for hid devices. Fixes FS#32575. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2012-05-18use new API for install hooksDave Reisner1-2/+3
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-09-27functions: allow ignoring errors on module additionDave Reisner1-3/+1
We conditionally, but naively, add modules in some of our install hooks, but the kernel may not have these. Note that these modules can fail silently by detecting a '?' suffix on the module name. In conjunction with this, the add_module function now takes a flag, -t or --try, which will ignore module not found errors from modinfo. The config file will also support this syntax. Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-09-27cleanup and bashify install hooksDave Reisner1-18/+12
No logical code changes -- this is purely a syntactical cleanup and standardization across the build hooks along with ensuring that help messages are wrapped to 80 columns or less. All hooks get the same treatment, adhering to the following style: #!/bin/bash build() { COMMANDS } help() { cat <<HELPEOF This is a help message. HELPEOF } # vim: set ft=sh ts=4 sw=4 et: Signed-off-by: Dave Reisner <dreisner@archlinux.org>
2011-06-25Fix some install hooks due recent change in all_modules()Gerardo Exequiel Pozzi1-1/+1
[fw] Avoid inclusion of kernel/sound/firewire [pcmcia] Avoid inclusion of kernel/sound/pcmcia [usb] and [usbinput] Avoid inclusion of ignored modules (via grep cmd) Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-06-16mkinitcpio: deprecate install() in install hooksDave Reisner1-1/+1
This is an unfortunate name clash with a common utility and should be avoided. Rename the install function to 'build' and warn the user when we discover a hook using an 'install' function. Signed-off-by: Dave Reisner <d@falconindy.com>
2010-02-12Fix module name in usb/usbinput install hookGerardo Exequiel Pozzi1-1/+1
There is no module named sl1811-hcd, must be sl811-hcd Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2009-06-06Add all hid modules for now, as we cannot autodetect them using sysfsThomas Bächler1-1/+1
2009-01-27Add extra hid modules when appropriateThomas Bächler1-0/+1
2007-08-11Coding style change, use -n and -z for variable testsAaron Griffin1-1/+1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com> git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@209 880c04e9-e011-0410-abf7-b926e227c9cd
2006-05-04'added net and usbinput'Tobias Powalowski1-0/+23
git-svn-id: http://projects.archlinux.org/svn/initramfs/mkinitcpio@59 880c04e9-e011-0410-abf7-b926e227c9cd