[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installation problem



Power-ON step, BIOS screens:

  USB keyboard worked regardless of bios setting

Lilo prompt:

  Needed USB keyboard support in the bios, else no input chars.

  From here down, USB keyboard support enabled in the bios.

Kernel loading:

  I have made a kernel with USB keyboard support compiled in
  I don't know the difference between CONFIG_USB_UHCI{,_ALT}, but they
  are possible interchangable, UHCI* is for some usb controllers,
  OHCI is for some other.

  $ diff config-2.2.19-[23]
  541c541
  < CONFIG_USB=m
  ---
  > CONFIG_USB=y
  545,547c545,546
  < CONFIG_USB_UHCI=m
  < CONFIG_USB_UHCI_ALT=m
  < CONFIG_USB_OHCI=m
  ---
  > CONFIG_USB_UHCI=y
  > CONFIG_USB_OHCI=y
  554,558c553,555
  < CONFIG_USB_HID=m
  < CONFIG_USB_KBD=m
  < CONFIG_USB_MOUSE=m
  < CONFIG_INPUT_KEYBDEV=m
  < CONFIG_INPUT_MOUSEDEV=m
  ---
  > CONFIG_USB_HID=y
  > CONFIG_INPUT_KEYBDEV=y
  > CONFIG_INPUT_MOUSEDEV=y

  The USB support is initialized late in the kernel startup.
  I have not tested ^S or ^Q, but they are possible unavilable till USB
  is initialized.

System running:

  Kernel-2.2.19-2:

    No reaction from USB keyboard (no PS/2 keyboard connected, I did
    not test what happens when both connected).

  Kernel-2.2.19-3:

    I had no problem using it with a USB keyboard, or a PS/2 keyboard.
    When both USB and PS/2 keyboard was connected I could use both.
    The downside with using a USB keyboard is that USB steals an
    intterupt (the PS/2 keyboard does that to, but it seems hardwired
    to irq 1 and unavailable for other use).

Regards,
/Karl

  PS.
    With two keyboards/mice/monitors, the computer can serve two users
    i X, some minor patching was needed (I have not tested this
    myself), ref. http://cambuca.ldhs.cetuc.puc-rio.br/multiuser.

-----------------------------------------------------------------------
Karl Hammar                    Aspö Data           karl@kalle.csb.ki.se
Lilla Aspö 2340             +46  173 140 57                    Networks
S-742 94 Östhammar         +46  10 270 26 67                  Computers
Sweden                                                       Consulting
-----------------------------------------------------------------------

From: Adam Di Carlo <adam@onshore.com>
Subject: Re: installation problem
Date: 01 Jun 2001 14:32:35 -0400

> Karl Hammar <karl@kalle.csb.ki.se> writes:
> 
> >   The other issue is if the boot-floppies should be able to use a
> >   usb-keyboard.
> 
> I think the answer here is "yes, if possible".
> 
> I have CC'd Herbert Xu, the i386 kernel images maintainer.
> 
> >   According to kernel_source/Documentation/usb/input.txt:
> > 
> >     2. Simple Usage
> >     ~~~~~~~~~~~~~~~
> >       For the most usual configuration, with one USB mouse and one
> >     USB keyboard, you'll have to load the following modules (or have
> >     them built in to the kernel):
> > 
> > 	    input.o                                                                                                                                             
> > 	    mousedev.o                                                                                                                                          
> > 	    keybdev.o                                                                                                                                           
> > 	    usbcore.o                                                                                                                                           
> > 	    usb-[uo]hci.o                                                                                                                                       
> > 	    hid.o                                                                                                                                               
> > 
> >       After this, the USB keyboard will work straight away, and the USB mouse                                                                                   
> >     will be available as a character device on major 13, minor 63:                                                                                              
> 
> >   To be able to use it at boot we will need to compile thoose in, or
> >   load them without user intervention.
> 
> Can't we compile in just enough for the keyboard?
> 
> Is this kernel 2.2 or 2.4?  We're still using 2.2 on i386.
> 
> > 
> >   Keyboard support seems to be built as a module
> > 
> >   $ grep USB_KBD 2.2.25-2001-05-12/kernel-config 
> >   CONFIG_USB_KBD=m
> > 
> >   I don't know what will happen if it is compiled in and you have a
> >   standard keyboard, but I might be able to test it in the weekend.
> 
> A very good question.
> 
> -- 
> .....Adam Di Carlo....adam@onshore.com.....<URL:http://www.onshored.com/>



Reply to: