Keyboard

Dan Nicholson dbn.lists at gmail.com
Fri Nov 10 14:35:04 PST 2006


On 11/10/06, veritosproject at gmail.com <veritosproject at gmail.com> wrote:
> > I have recompiled the kernel several time and have enabled as USB support
> > SCSI and USB Human interface devices. I have read thru the config file.
> > file and enabled anything about anykeyboard. No luck.
> > System boots fine to the login prompt but I get no reaction from my keyboard.
> > Any other thoughts?
>
> Different computers have different USB hub controller options, like
> UHCD and EHCD.  On your first big compile, install all of these in
> (Device Drivers / USB Support / USB Host Controller Drivers).  Once
> that's done, you can pull some off and see what works.

This is true. Try looking through dmesg to see if it says anything
about uhci/ohci/ehci. My two USB controllers enable all three.

$ dmesg | grep '[eou]hci'
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:0e.0: OHCI Host Controller
ohci_hcd 0000:00:0e.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:0e.0: irq 3, io mem 0xe0008000
ohci_hcd 0000:00:0e.1: OHCI Host Controller
ohci_hcd 0000:00:0e.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0e.1: irq 10, io mem 0xe0009000
usb 1-3: new full speed USB device using ohci_hcd and address 2
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:07.2: irq 9, io base 0x00001080
ehci_hcd 0000:00:0e.2: EHCI Host Controller
ehci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:0e.2: irq 9, io mem 0xe000a000
ehci_hcd 0000:00:0e.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb 3-1: new low speed USB device using uhci_hcd and address 2
usb 3-2: new low speed USB device using uhci_hcd and address 3
ohci_hcd 0000:00:0e.1: wakeup
ohci_hcd 0000:00:0e.0: wakeup
usb 2-2: new low speed USB device using ohci_hcd and address 2
usb 1-3: new full speed USB device using ohci_hcd and address 3

Also, if you can get another system booted (live cd maybe), you can
try to run lspci (from PCI Utils). Here's some sample output from my
system:

$ lspci -v
...
00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog
-if 00 [UHCI])
        Flags: bus master, medium devsel, latency 64, IRQ 9
        I/O ports at 1080 [size=32]
...
00:0e.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
        Subsystem: Unknown device 1631:0035
        Flags: bus master, medium devsel, latency 64, IRQ 3
        Memory at e0008000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:0e.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
        Subsystem: Unknown device 1631:0035
        Flags: bus master, medium devsel, latency 64, IRQ 10
        Memory at e0009000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>

00:0e.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Unknown device 1631:1600
        Flags: bus master, medium devsel, latency 132, IRQ 9
        Memory at e000a000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

Good luck. Figuring out kernel modules is a tough game when you're
just getting started.

--
Dan



More information about the lfs-support mailing list