LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-30-2005, 05:43 AM   #1
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
keyboard won't work with newly compiled kernel


i just compiled a kernel and everything booted fine. But when the details were being displayed of the boot kudzu started up and said to hit a button to continue or in 30 seconds normal boot will happen. But i can't hit a key cuz my keyboard is not recognized so i get to the login screen which doesn't help when i can't type. Is there some generic keyboard driver i might have forgotten to compile into the kernel or something? Im not sure of the exact model or hwo to find that out about the keyboard but it is a compaq keyboard with a smart card terminal that came with the compaq presario 7110US. Can i possible fix it by patching the kernel or will i need to scrap it and start over again? thanks for any help in advanced.

edit: i should note it is a usb keyboard. Im switching which port it is plugged into and trying again.

edit: switching ports had no affect.

Last edited by dr_zayus69; 05-30-2005 at 06:12 AM.
 
Old 05-30-2005, 09:36 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I ran into this problem with a 2.6.10 kernel and never could figure it out. However, I just compilied a 2.6.11.9 and the keyboard works fine. As far as I can tell, the configs are the same.
 
Old 05-30-2005, 09:46 AM   #3
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
i forgot to mention my kernel version. The version i compiled was 2.6.11.10
 
Old 05-30-2005, 04:51 PM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
If it is a USB keyboard, are you sure that you have USB support compiled correctly? Also, do you have a non-USB keyboard available so you can check if the system ever sees the USB keyboard?
 
Old 06-01-2005, 11:18 AM   #5
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
well i am able to boot into the kernel with a ps/2 keyboard. Kudzu did come up still and it did mention the Compaq Computer Corp. Internet Keyboard. (it has a credit card terminal as well) Now i have a few questions. When you configure the the kernel where does the config file go as default. I want to check it to see what i did incorrectly (more likely post the usb section here cuz i didn't know i did it incorrectly the first time. lol) Or is there some file, like in /proc i could post that would show how my usb is set up? I'd just keep the ps/2 keyboard and use that but it belongs to my sister's keyboard and was just borrowing it to trouble shoot. thanks for any replies in advance.
 
Old 06-04-2005, 08:09 AM   #6
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
i downloaded new kernel source so i could look thru the usb configuration options. I don't see anything that mentions keyboards specificly. I see one for HIDs Human Interface Devices which sounds like it could refer to a keyboard to me but by default it is built into the kernel and when i configured my kernel i only added options didn't take away stuff.
 
Old 06-04-2005, 09:36 AM   #7
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Quote:
When you configure the the kernel where does the config file go as default.
If you are just configuring the kernel, you can find the config file in the kernel source directory (and it is name .config so it doesn't show up on a normal ls, use ls -a).

If you can boot using the ps/2 keyboard, plug your usb keyboard in and see if the system recognizes it. You should see something in the output of dmesg or in /var/log/messages showing that the USB system has recognized it.

Also, have a look at this how-to that describes how to configure a kernel for USB keyboard support.
 
Old 06-05-2005, 04:53 AM   #8
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
thanks for the howto. I can find the first option they talk about for usb HID full support in the usb section. they say to enable keyboard support in input core support section. I don't see that section but i see a section entitled input device support which im presuming to be the same thing. However in this section i don't see an option for my specific keyboard, usb keyboard option, or a generic keyboard option. Also they say to make sure that USB HIDBP Keyboard support is not enable. I can't find the option to see if it is enabled or not. Has that option become obsolete so it is no longer including in the options? i appreciate your help so far. thanks again.
 
Old 06-05-2005, 08:28 AM   #9
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
D'OH.........

Sorry, I wasn't reading your original post closely enough. You're having trouble using your keyboard in GRUB. Sorry, we might be mucking about in the wrong area. If I'm reading the various stuff from googling correctly, you need to do some hunting around your BIOS to see if there is anything related to keyboard support and enable it (it might not be in a USB section, it might be in a plug&play section). This is one of those things that either your BIOS supports or it doesn't. If it doesn't, it might be a good idea to see if you computer manufacturer has an upgrade.
 
Old 06-05-2005, 09:59 AM   #10
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Rep: Reputation: 15
take a look at usb modules which is the key for usb supporting with the command lsmod. or you can simply attempt to load a usb storge instead to see whether there be the effect occured.
 
Old 06-05-2005, 11:23 AM   #11
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Original Poster
Rep: Reputation: 35
Quote:
Originally posted by Hangdog42
Sorry, I wasn't reading your original post closely enough. You're having trouble using your keyboard in GRUB. .
actually i was able to use the keyboard in grub to select the kernel. It isn't until after the kernel is loaded. I can actually get to the login screen but can't type to log in. Interestingly enough my usb drive works fine with this kernel.

here is the output of /sbin/lsmod

Module Size Used by
snd_ens1371 18016 3
snd_rawmidi 18208 1 snd_ens1371
snd_seq_device 6924 1 snd_rawmidi
snd_ac97_codec 63480 1 snd_ens1371
snd_pcm 70536 2 snd_ens1371,snd_ac97_codec
snd_timer 18692 1 snd_pcm
snd_page_alloc 7428 1 snd_pcm
gameport 3712 1 snd_ens1371
parport_pc 22980 1
lp 9288 0
parport 28744 2 parport_pc,lp
autofs4 14084 0
sunrpc 110788 1
8139too 19328 0
mii 3968 1 8139too
ipt_REJECT 5376 1
ipt_state 1920 7
ip_conntrack 34200 1 ipt_state
iptable_filter 2560 1
ip_tables 17920 3 ipt_REJECT,ipt_state,iptable_filter
binfmt_misc 8456 1
floppy 50256 0
dm_mod 45180 0
uhci_hcd 25872 0
video 13956 0
button 5136 0
battery 7684 0
ac 3588 0
ipv6 203264 8

thanks for your help.
 
  


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
Troubleshooting Newly Compiled Kernel binarybob0001 Linux - General 2 11-20-2005 04:06 AM
Newly compiled kernel behaves as if it was the old one? grayFalcon Linux - Software 4 06-03-2004 04:52 AM
PROBLEM with grub and my newly compiled kernel! maestro52 Linux - Newbie 8 02-02-2004 05:14 PM
Problem with newly compiled 2.4.22 kernel Xero720 Slackware 2 09-06-2003 12:23 PM
cdrom troubles with newly compiled kernel N_A_J_M Linux - General 9 12-09-2002 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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