LinuxQuestions.org
Visit Jeremy's Blog.
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 07-03-2018, 05:27 PM   #1
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184
No keyboard on luks prompt, initrd missing module?


Asus ROG 17 with US kb.

The boot process gets to the luks password prompt but the laptop keyboard is non-functional. If I connect a separate USB keyboard, it is recognized and I can enter the password and boot into Slackware. Once booted, the laptop keyboard is fully functional.

I'm guess I lack the correct module when making my initrd.

The one generated by mkinitrd_command is:

Code:
mkinitrd -c -k 4.14.51 -f ext4 -r /dev/ROGVolGrp/slackroot -m usb-storage:xhci-hcd:xhci-pci:ohci-pci:ehci-pci:uhci-hcd:ehci-hcd:hid:usbhid:i2c-hid:hid_generic:hid-cherry:hid-logitech:hid-logitech-dj:hid:logitech-hidpp:hid-lenovo:hid-microsoft:hid_multitouch:jbd2:mbcache:crc32c-intel:ext4 -C /dev/sda7 -L -u -o /boot/initrd.gz
I've seen other threads about this, but solved by either (a) using the default mkinitrd_command script output, or (b) using hid_generic. In this case, I'm using the exact output of the script and it appears to already contain the generic module.

Any thoughts on what module I can add to get this keyboard going?
 
Old 07-03-2018, 05:48 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
If you have the opportunity to run Linux on that computer (for instance, using a Live CD) you should check the output of "lsmod" and try to determine what specific modules are being loaded there that are not present in the output of the "mkinitrd_command_generator.sh" script. Perhaps the script was unable to detect a custom keyboard, it happens sometimes. When you find keyboard, hid or usb related drivers that you would require in your initrd, you can add them manually to the above mkinitrd commandline and thus create a working initrd with keyboard support for your laptop type.
 
Old 07-03-2018, 05:58 PM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
If all else fails, you might also want to check your bios/firmware settings. Some of them have a "Legacy Keyboard" setting that will make the keyboard show up as a PC/AT device.
 
Old 07-03-2018, 07:49 PM   #4
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Original Poster
Rep: Reputation: 184Reputation: 184
Yessir, success.

Found in lsmod a module called hid-asus. Added that to the output string of the mkinitrd_command_generator.sh script. On reboot the internal keyboard was functional for the luks prompt.

Thank you for the guidance.
 
  


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
custom kernel initrd for LVM on LUKS MEC75 Slackware 16 11-11-2014 10:42 AM
[SOLVED] Non-working USB keyboard at LUKS prompt, 14.1 Ilgar Slackware 5 05-18-2014 11:48 AM
[SOLVED] Slackware 14.1 with luks crypt and initrd - what are the latest correct commands? xj25vm Slackware 24 11-20-2013 04:16 PM
[SOLVED] I can't enter my LUKS encrypted hd after creating new initrd PreguntoYo Slackware 2 06-16-2013 06:45 AM
Fedora 16 luks prompt Q.. Fedora 3 11-13-2011 10:25 PM

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

All times are GMT -5. The time now is 08:11 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