Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-12-2013, 07:43 AM
|
#1
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,161
|
Non-working USB keyboard at LUKS prompt, 14.1
Hi all,
I'm finally able to type this message from my desktop computer at work. I struggled for a while to get my USB keyboard working at the LUKS prompt for password. What follows below will hopefully help someone:
In the older kernels it was enough to include the usbhid and ehci-hcd (or ohci-hcd or uhci-hcd) modules in the initrd. Apparently there have been some changes (and the Linux documentation in the source tree is terribly out-of-date):
First of all, there is a new "hid-generic" module that has to be included now. The mkinitrd_command_generator.sh script already suggests this module. Unfortunately, it wasn't enough in my case.
It turned out that I also had to include the new "ehci-pci" module as well. With a Google search I encountered people with a 3.11 kernel requiring an "ohci-pci" module but 3.10 doesn't have it, so I went for ehci-pci and it worked.
|
|
|
11-14-2013, 01:48 AM
|
#2
|
Member
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 208
Rep:
|
This is definitely good information. Thanks!
|
|
|
11-14-2013, 03:34 AM
|
#3
|
Member
Registered: Aug 2012
Location: Portugal
Distribution: Slackware, Salix OS
Posts: 55
Rep:
|
mkinitrd-1.4.8-x86_64-2.txz: Rebuilt
I guess you just need hid_generic and usbhid for usb keyboard. You may not need anymore those you mention for using usb keyboard at boot: ehci-hcd, ehci-pci, ohci-hcd or uhci-hcd.
You have upgraded to 14.1? run again /usr/share/mkinitrd/mkinitrd_command_generator.sh in 14.1 should clarify the modules you need.
Check the changelog in days before version Slackware 14.1 was been released:
Quote:
Tue Oct 29 05:03:04 UTC 2013
a/mkinitrd-1.4.8-x86_64-2.txz: Rebuilt.
In mkinitrd_command_generator.sh, if a USB keyboard is detected add the
hid_generic module (in addition to usbhid). Recent kernels need this.
Thanks to mario.
|
|
|
1 members found this post helpful.
|
11-15-2013, 01:01 AM
|
#4
|
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,161
Original Poster
|
@sardinha: As I mentioned in my original post, I am already aware that mkinitrd_command_generator.sh suggests hid-generic and of course I tried it (and many other combinations). One *does* need ehci-pci (and/or ohci-pci with 3.11 kernels) in my case. This is due to the restructuring of the Linux kernel code. You can find relevant discussions about this with a Google search.
|
|
1 members found this post helpful.
|
11-15-2013, 11:25 AM
|
#5
|
Member
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Rep: 
|
Thanks for this http://www.linuxquestions.org/questi...rd-4175429742/ result of "Google search no keyboard " and this thread, just for furture reference for problem with no usb keyboard:
for kernel 3.10.17, it might need modules of follow: ehci_hcd ehci_pci hid_generic usbhid ohci_hcd ssb_hcd for mkinitrd ram disk.
for kernel 2.6.37.6 (13.37) only just following: ehci_hcd ohci_hcde hid usbhid
however both of them will auto load extra related modules pcmcia_core, ssb and mmc_core etc. modules.
Last edited by number22; 11-15-2013 at 11:27 AM.
|
|
1 members found this post helpful.
|
05-18-2014, 11:48 AM
|
#6
|
Member
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Rep: 
|
for kernel: 3.14.4: you might need add ehci-platform ohci-platform
|
|
|
All times are GMT -5. The time now is 06:46 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|