Hello,
I boot Linux using Grub, an initrd.gz file, and a kernel on CD-ROM. This brings some benefits and also a few troubles. One minor trouble comes when using a USB keyboard.
A USB keyboard works fine for me after the booting finishes. And it seems to work (at least for some hardware) during the initial, Grub execution. The part where I'm currently having trouble is in the middle.
In the middle of the boot process my init script prompts the user for the name of the partition to mount. At this point the user is in the first stage of a two-stage boot. This first stage uses a mini-linux system that I provide on the CD-ROM. I mentioned that the kernel is on the CD-ROM. It also has modules that are needed and loaded by the init script. For example it has usb_storage.ko and ehci-hcd.ko to enable mounting a linux system that is on a USB device.
So the trouble is this: I would like to find some additional kernel modules which the init script would load in order to enable a USB keyboard during the middle part of the booting. It is during this middle part that the user inputs the partition name that he wishes to boot. Currently without the needed modules the user must provide this information by typing on a PS/2 keyboard.
I thought this would be easy. I used lsmod to see what modules were loaded after the booting finishes. I found usbhid. I suspect that module is needed for the USB keyboard. I used rmmod to remove the module and it disables the keyboard. Yet including it on my CD-ROM and invoking it during the first stage of the booting seems to have no effect on the use of the USB keyboard. It still works only after the booting is finished.
Is this the right place to come with questions like this? If not, please direct me to the right place? I'm frustrated, because I haven't yet found a source to answer a question like this. It would be handy if there were a guide that listed the names of the available kernel modules and told what they do. I'm currently using Slackware 12.0 and a 2.6.21.5 kernel.
-Joe