LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-28-2007, 11:35 AM   #1
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
After rebuilding kernel, No keyboard present


Hello,

I have been fidgeting with the configuration of the Linux Kernel source (version 2.6.20.1) in the attempts to generate a smaller footprint.

I have now lost keyboard support.

I have the following Kernel "Input Device Driver" options set as follows:

PHP Code:
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD
=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2
=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_PCSPKR is not set
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_UINPUT is not set 
I am using a US PS2-style keyboard. I obviously haven't configured everything correct with respect to the Keyboard. Is there another section within the Kernel configuration I should enable (or define to be built as a module) to get my keyboard working again?

BTW, this is not an X11 thing. The problem occurs when I boot directly into a busybox ash shell after startup. The keyboard works fine during the Grub stage.

Here's the only kernel message I have been able to collect:

serio: i8042 KBD port at 0x60,0x64 irq 1
 
Old 09-28-2007, 01:58 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
USB keyboard is a USB Human Interaction Device (CONFIG_USB_HID)..
 
Old 09-28-2007, 02:31 PM   #3
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by raskin View Post
USB keyboard is a USB Human Interaction Device (CONFIG_USB_HID)..
Is this configuration option applicable when my keyboard is not a USB keyboard? My keyboard has the PS2 connector and is connected to the PS2 serial port on the computer.

Are there any serial port options that I may have missed? I am also having problems with the other serial ports (/dev/ttyS4 and /dev/ttyS5).


P.S. I suppose it doesn't hurt to enable the CONFIG_USB_HID.

Last edited by dwhitney67; 09-28-2007 at 04:22 PM.
 
Old 09-28-2007, 02:53 PM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Sorry, misread US as USB - didn't expect first at all (it nearly never does any difference). CONFIG_SERIO_I8042, CONFIG_SERIO_SERPORT, CONFIG_SERIO_PCIPS2, CONFIG_SERIO_LIBPS2 ?
 
Old 09-28-2007, 06:42 PM   #5
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Thanks raskin! I adjusted my config file accordingly and now I once again have keyboard support.
 
  


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
Rebuilding a kernel overlook1977 Slackware 13 06-02-2007 01:55 PM
keyboard fails in x if no mouse present jlarsen Linux - Hardware 0 05-24-2005 12:43 PM
Keyboard not working when mouse not present. Doomhammer Linux - Software 0 10-04-2004 02:25 PM
rebuilding kernel jmarsh Linux - Software 2 04-04-2003 08:09 PM
Rebuilding the kernel decster Linux - General 9 09-23-2002 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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