LinuxQuestions.org
Visit Jeremy's Blog.
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 10-10-2011, 04:18 PM   #1
alexjohnson
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Rep: Reputation: Disabled
Question USB keyboard not recognized at boot


I have Slackware64 13.37 installed with RAID1, LVM2 and LUKS.

When I reboot the machine I get asked to enter the LUKS password but when I try to use a USB keyboard it doesn't respond, I have to connect a PS/2 keyboard to get it to work.

After I enter the password and get to the console login the USB keyboard works and it keeps working until I reboot the machine.

It seems as if the USB keyboard module isn't loaded when I get asked for the LUKS password, I searched and haven't found any solution for it.

Does anyone know how to solve this?

Thanks.
 
Old 10-10-2011, 04:22 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Do you have an option in the BIOS for usb keyboards? I know mine has but afair it is on by default. Worth checking though.
 
Old 10-10-2011, 04:23 PM   #3
alexjohnson
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Yes, I have USB keyboard support enabled in the BIOS. It was one of the first things I checked.

Thanks though.
 
Old 10-10-2011, 04:25 PM   #4
beder
Member
 
Registered: Apr 2011
Posts: 82

Rep: Reputation: 28
Never faced this problem myself (I don't even use LUKS), but found a thread here that indicates you have to include other modules on your initrd:
http://www.linuxquestions.org/questi...-login-879598/

There's also a few others if that one doesn't help (although it looks like it's your exact same issue, so it will probably help you)
http://www.google.com/search?client=...w=1280&bih=621
 
Old 10-10-2011, 04:27 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Yeah sounds like you need to rebuild initrd
 
Old 10-10-2011, 04:29 PM   #6
alexjohnson
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
OK, I'll try that.

Thanks.
 
Old 10-12-2011, 01:13 PM   #7
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,156

Rep: Reputation: 234Reputation: 234Reputation: 234
You should include usbhid in your initrd (all its dependencies will automatically be added by mkinitrd).
 
Old 10-13-2011, 07:32 PM   #8
alexjohnson
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thumbs up

I ran mkinitrd with the extra modules and it worked.

The command I ran was:
Code:
mkinitrd -c -k 2.6.37.6 -m ext4:usbhid:usb:ehci_hcd:ohci-hcd:uhci-hcd:hid -f ext4 -r /dev/vg/root -C /dev/md1 -L -R
And then lilo to apply the configuration.
 
Old 10-14-2011, 07:09 PM   #9
beder
Member
 
Registered: Apr 2011
Posts: 82

Rep: Reputation: 28
That's great news :-)

Perhaps you could set the topic as "Solved" so that future searchers know they'll find an answer for this issue here

Kind Rgds, Felipe Weber.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need to get control of an usb bar code scanner recognized as a usb keyboard osvaldomarques Linux - Software 5 11-22-2008 11:15 PM
USB keyboard and printer not recognized c4onastick Slackware 19 09-01-2006 11:27 AM
USB Keyboard not recognized on boot screen using fedora 3 rebel penguin Linux - Newbie 2 05-24-2005 04:55 AM
USB keyboard recognized but not working on 2.6.8 joyman555 Linux - Hardware 4 04-08-2005 10:41 PM
USB keyboard not recognized in mandrake FrankZappa17_4 Linux - Hardware 0 08-18-2004 03:32 PM

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

All times are GMT -5. The time now is 09:20 AM.

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