LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-12-2013, 07:43 AM   #1
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
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.
 
Old 11-14-2013, 01:48 AM   #2
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Rep: Reputation: 44
This is definitely good information. Thanks!
 
Old 11-14-2013, 03:34 AM   #3
sardinha
Member
 
Registered: Aug 2012
Location: Portugal
Distribution: Slackware, Salix OS
Posts: 55

Rep: Reputation: 10
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.
Old 11-15-2013, 01:01 AM   #4
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Original Poster
Rep: Reputation: 237Reputation: 237Reputation: 237
@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.
Old 11-15-2013, 11:25 AM   #5
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
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.
Old 05-18-2014, 11:48 AM   #6
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Blog Entries: 7

Rep: Reputation: Disabled
for kernel: 3.14.4: you might need add ehci-platform ohci-platform
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB keyboard and LUKS slackwareuser5000 Slackware 1 06-26-2012 12:37 PM
Fedora 16 luks prompt Q.. Fedora 3 11-13-2011 10:25 PM
[SOLVED] USB keyboard won't respond on luks login Lethys Slackware 3 05-09-2011 04:17 PM
USB keyboard not working at all Fredrik992 Linux - Hardware 2 06-23-2005 03:21 PM
USB Keyboard not working xbaez Linux - Hardware 5 07-02-2004 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration