View previous topic :: View next topic |
Author |
Message |
joshua_neil n00b
Joined: 20 May 2004 Posts: 7
|
Posted: Thu May 20, 2004 7:24 am Post subject: HOWTO How I got my USB Keyboard to work in Kernel 2.6.6-rc1 |
|
|
My keyboard worked but not like it is supposed to. It would not release keys properly and other strange things, and sometimes not work at all. Here is how I got it to work.
First do:
Code: | lspci -v | grep USB |
Look for 'OHCI' 'EHCI' or 'UHCI'. "EHCI" is for USB 2.0 and should be added to the kernel if you have it (it should show up if you do). Either "OHCI" or "UHCI" should also show up. Make a note of which one that does.
Now go to your kernel source and do make menuconfig (xconfig, etc)
Code: | cd /usr/src/linux
make menuconfig |
Now go to "Device Drivers" and hit enter. Then go to "USB support" and hit enter. If not already selected hit "Y" on "Support for Host-side USB". There should be the following lines:
Code: | EHCI HCD (USB 2.0) support
OHCI HCD support
UHCI HCD (most Intel and VIA) support |
Select the ones that apply to you (you should remember from earlier) and unselect those that don't, by hitting "Y" and "N" respectively.
Now go down to "USB Human Interface Device (full HID) support" and select it by hitting "Y" then select "HID input layer support" by hitting "Y".
Now hit "ESC" till it asks you to save the configuration. Select "yes", and then run the following commands:
Code: | make && make modules_install |
This could take awhile but not too awful long. After it is finished, do the following commands (those who wish to change the image name may do so, but should also change grub.conf accordingly):
Code: | mount /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernel-2.6.6-rc1
|
Now edit grub.conf by typing:
Code: | nano -w /boot/grub/grub.conf |
and add the following lines somewhere after 'splash' (change the partitions according to your setup):
Code: | title=Gentoo Linux 2.6.6-rc1
root (hd0,0)
kernel /kernel-2.6.6-rc1 root=/dev/hda3
|
Now just reboot, and see if the problem is solved.
Good luck,
-Josh "Schmalls" Thompson _________________ Are you pondering what I'm pondering?
Yeah, Brain, but where would we get all that cheese? |
|
Back to top |
|
|
joshua_neil n00b
Joined: 20 May 2004 Posts: 7
|
Posted: Sun May 23, 2004 2:24 pm Post subject: |
|
|
I'd love to know if this helped anybody. Because I saw several people with keyboard problems on the Gentoo forums and elsewhere, but almost none of them were resolved it seemed. So if this worked or if it didn't I'd love to hear about it.
Thanks,
Josh "Schmalls" Thompson _________________ Are you pondering what I'm pondering?
Yeah, Brain, but where would we get all that cheese? |
|
Back to top |
|
|
MarkusR n00b
Joined: 14 Dec 2004 Posts: 2
|
Posted: Sun Jan 23, 2005 12:43 pm Post subject: |
|
|
Hi Josh, I just wanted to let you know that your article helped me.
Markus
joshua_neil wrote: | I'd love to know if this helped anybody. Because I saw several people with keyboard problems on the Gentoo forums and elsewhere, but almost none of them were resolved it seemed. So if this worked or if it didn't I'd love to hear about it. |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|