Size: 5956
Comment:
|
Size: 7041
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
== Install a USB keyboard == | #title Install a USB keyboard ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents]]|| = Introduction = |
Line 6: | Line 11: |
What we try here is to ensure that once connected a USB keyboard to a USB port, you are enabled to use it to access to the BIOS setup and to the bootloader's menu' (be it Grub, LiLo or whatever...) and to select the operating system you expect to boot. | What we try here is to ensure that once connected a USB keyboard to a USB port, you are enabled to use it to access to the BIOS setup and to the bootloader's menu' (be it Grub, LiLo or whatever...) and to select and start the operating system you need to boot. = Background information = We have to distinguish three specific situations where a USB keyboard is used: 1. to enter and optimise the BIOS setup; 2. to select the operating system to boot, by the use of Grub or LiLo; 3. during and after log-in (both in the character terminal as in graphic mode). Coherently with what we have stated before, only the first two options are covered on this document. |
Line 9: | Line 22: |
'''Reccomendations''' '''---------------''' Any connection/disconnection of USB devices during the procedures described in this document, has to be made with the PC powered off. |
= Preparation = Any connection/disconnection of USB devices during the procedures described in this document, has to be made with the PC powered OFF. |
Line 17: | Line 28: |
'''Starting the procedure''' --- As first check, connect your USB keyboard directly to a USB port on the PC and not to an external USB HUB! This because some HUBs are only partially compatible to the USB standard, may interfere with normal messaging between the system and the attached devices inducing you to think your USB keyboard is stuck. |
= Hardware checkset = Hardware issues are often the cause of USB keyboards as other devices' malfunction, so let we check the state of the art. |
Line 21: | Line 31: |
Switch power ON and | If you are using an external USB-HUB it is recommended to disconnect it and plug the USB keyboard directly to one of the PC's USB ports.[[BR]] This because some USB-HUBs are only partially compatible to the USB standard, so they may interfere with normal messaging between the system and the attached USB devices inducing you, in some cases, to think your USB keyboard is stuck. [[BR]] Additionally USB-HUBs are the devices at most failure risk due to rough handling, low hardware quality or environmental injuries. So a check will help you avoiding the first problem source you may meet during this ongoing procedure. |
Line 23: | Line 36: |
olve the problem. If yes, take in account to seriously suspect your USB HUB or another USB device is creating the problem. Check them singularly and place the culprit directly in the trash as it may seriously damage further USB devices if not your PC's USB ports. |
If your USB now works take in account to seriously suspect your USB HUB or another USB device is creating the problem. Check them singularly and place the culprit directly in the trash as it may seriously damage further USB devices if not your PC's USB ports. |
Line 29: | Line 40: |
We have to distinguish three moments where a USB keyboard is used, during: 1. BIOS setup; 2. Linux boot (by the use of Grub or LiLo); 3. during and after log-in (both in terminal as Xwindow mode). |
= Software checkset = (Situation 1.) During the POST (Power On Self Test), when the PC is running up for a power-on or a reset, the USB keyboard input is managed by the BIOS routines if it is set up to do so. [[BR]] If not, there is no way the USB keyboard can be recognised and a PS/2 type keyboard is expected connected to its port by default instead. As long as your USB keyboard isn't recognised, you aren't able to access the BIOS so you can't do anything else as to connect a PS/2 type keyboard, access the BIOS [[BR]] attachment:USB-KBRDInstall-POST01.jpg by the use of [Del], [F1], [F2], [F9] or whatever key is indicated at the early stages of the start-up process of the PC |
Line 35: | Line 55: |
'''Case 1.'''[[BR]] At the initial POST (Power On Self Test) stage, when the PC is running up for a power-up or a restart, the USB keyboard input is managed by the BIOS routines if the option "USB keyboard support" is set to "on" in the BIOS. If that option is set to "off", there is no way the USB keyboard can be recognised and a PS/2 type keyboard is supposed by default instead. As your USB keyboard isn't recognised, you aren't able to access the BIOS so you can't do anything else as to connect a PS/2 type keyboard, access the BIOS (by the use of [Del], [F1], [F2], [F9] or whatever key is indicated at the early stages of the start-up process of the PC) and set the "USB keyboard support" opion to "on". |
|
Line 44: | Line 57: |
If the USB keyboard doesn't react (e.g. you can't go into the BIOS by pressing the correct key) and you are sure the "USB keyboard support" option is set correctly, your problem is probably the keyboard itself (e.g. a hardware incompatibility (rare) or a broken keyboard). | attachment:USBKBRDInstall-BIOS-USBKBDON.jpg |
Line 46: | Line 59: |
Test the USB keyboard with another computer and/or operating system and you know what you are dealing with. | and enable the "USB keyboard support" option that can be found in the BIOS. |
Line 48: | Line 61: |
-- | |
Line 50: | Line 62: |
If so far nothing helped (and you are sure your keyboard is OK), then you have to use a PS/2 keyboard to enter the BIOS and look at the "PnP mode" option. PnP is the procedure to set-up extension cards (and some on-board chips) connected to the PCI bus. |
[[BR]] Save, exit and reset. If, in spite of the precedent set-up, the BIOS continue to refuse to recognise the USB keyboard (e.g. you can't go into the BIOS by pressing the correct key on the USB keyboard) you have a second chance to convince it to. |
Line 53: | Line 65: |
There are mostly two PnP modes available: | Use the PS/2 keyboard to enter the BIOS again, attachment:USBKBRDInstall-BIOS-PnPBIOSon.jpg and look at the "PnP mode" option. PnP is the procedure to set-up extension cards and some on-board chips connected to the PCI bus. As USB controllers in your computer (both on-board as added expansion cards) are connected to the PCI bus they have to be set-up by the BIOS to have the USB keyboard working at the early POST phase. There are two configuration modes available for PnP: |
Line 56: | Line 77: |
[[BR]] | |
Line 59: | Line 80: |
On some mother boards, and USB interface cards (if you already added any), you have to explicitly specify the BIOS has to manage PnP to obtain the USB keyboard recognised during this phase. | So you have to explicitly specify the BIOS has to manage the PnP mode (and not the operating system), to obtain the USB keyboard recognised during this phase. |
Line 61: | Line 82: |
So you have to verify this and, on change, reset the PC and control if the USB keyboard is now alive. | Verify this and, on change, reset the PC and control if the USB keyboard is now alive. |
Line 101: | Line 122: |
[[BR]] ||<tablestyle="float:right; font-size: 0.6em; width:20%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.6em;">Started 19-06-2008 and supervised by Andreas Troschka|| -## |
ContentsBRTableOfContents |
Introduction
Recurrent posts in the community forums cover problems connected with the installation of USB keyboards. This document shows a simple step-by-step procedure to gain access to this kind of USB devices.
Please notice that this help document covers problems appearing up to (and not included) the Linux log-in phase. Further explanations regarding USB keyboards problems during and after the log-in phase are strictly related to configuration issues of the Linux installation thus out of scope to this document.
What we try here is to ensure that once connected a USB keyboard to a USB port, you are enabled to use it to access to the BIOS setup and to the bootloader's menu' (be it Grub, LiLo or whatever...) and to select and start the operating system you need to boot.
Background information
We have to distinguish three specific situations where a USB keyboard is used:
- to enter and optimise the BIOS setup;
to select the operating system to boot, by the use of Grub or LiLo;
- during and after log-in (both in the character terminal as in graphic mode).
Coherently with what we have stated before, only the first two options are covered on this document.
Preparation
Any connection/disconnection of USB devices during the procedures described in this document, has to be made with the PC powered OFF.
To have no interference and to simplify the operations, please, preventively detach any other USB device from the computer. This will also avoid them to be stressed by the probably required repetitive reboot activities.
Hardware checkset
Hardware issues are often the cause of USB keyboards as other devices' malfunction, so let we check the state of the art.
If you are using an external USB-HUB it is recommended to disconnect it and plug the USB keyboard directly to one of the PC's USB ports.BR This because some USB-HUBs are only partially compatible to the USB standard, so they may interfere with normal messaging between the system and the attached USB devices inducing you, in some cases, to think your USB keyboard is stuck. BR Additionally USB-HUBs are the devices at most failure risk due to rough handling, low hardware quality or environmental injuries. So a check will help you avoiding the first problem source you may meet during this ongoing procedure.
If your USB now works take in account to seriously suspect your USB HUB or another USB device is creating the problem. Check them singularly and place the culprit directly in the trash as it may seriously damage further USB devices if not your PC's USB ports.
If this doesn't help, go on reading the following steps. Don't forget to reset the PC to check any modification made!
Software checkset
(Situation 1.) During the POST (Power On Self Test), when the PC is running up for a power-on or a reset, the USB keyboard input is managed by the BIOS routines if it is set up to do so. BR If not, there is no way the USB keyboard can be recognised and a PS/2 type keyboard is expected connected to its port by default instead.
As long as your USB keyboard isn't recognised, you aren't able to access the BIOS so you can't do anything else as to connect a PS/2 type keyboard, access the BIOS
BR attachment:USB-KBRDInstall-POST01.jpg
by the use of [Del], [F1], [F2], [F9] or whatever key is indicated at the early stages of the start-up process of the PC
attachment:USBKBRDInstall-BIOS-USBKBDON.jpg
and enable the "USB keyboard support" option that can be found in the BIOS.
BR Save, exit and reset. If, in spite of the precedent set-up, the BIOS continue to refuse to recognise the USB keyboard (e.g. you can't go into the BIOS by pressing the correct key on the USB keyboard) you have a second chance to convince it to.
Use the PS/2 keyboard to enter the BIOS again,
attachment:USBKBRDInstall-BIOS-PnPBIOSon.jpg
and look at the "PnP mode" option. PnP is the procedure to set-up extension cards and some on-board chips connected to the PCI bus. As USB controllers in your computer (both on-board as added expansion cards) are connected to the PCI bus they have to be set-up by the BIOS to have the USB keyboard working at the early POST phase.
There are two configuration modes available for PnP:
. the BIOS has to manage the PnP setup; BR . the operating system deals with the PnP setup.
So you have to explicitly specify the BIOS has to manage the PnP mode (and not the operating system), to obtain the USB keyboard recognised during this phase.
Verify this and, on change, reset the PC and control if the USB keyboard is now alive.
You can access the BIOS with your USB keyboard but when Grub's menu' appears on the screen either pressing [Arrow-up] or [Arrow-down] you aren't able to move the selection to one different from the default one.
This means you haven't correctly tested the case 1.!
It must be clear that Grub doesn't manage to load any keyboard device-driver so it expects the BIOS to manage the keyboard correctly.
During this stage Linux hasn't been already loaded so any change to the o.s. will not solve the problem!
You have no choice, go back to Case 1., and work to solve the situation from there.
So you have managed to get the USB keyboard recognised by the BIOS, and in Grub (or LiLo) you are able to select a choice different from the default by the use of the up/down arrows keys.
After a not so long time (we hope), the log-in screen appears but you discover to be unable to write any character into the user/password fields, or if you started from a live CD-R/DVD and you aren't able to write with your keyboard to any application you run from the desktop.
From this point on, problems related to the USB keyboard have to be conducted, in some way, to the Linux operating system configuration issues (and in rare cases to bugs).
In this case, the principal sources of the problem to be searched in are:
- incorrect o.s. setup files for character mode terminal emulation (e.g. the recovery mode in [x]ubuntu);
- incorrect Xserver setup files for graphic windowing environment (when the windowing mode is run);
- missing, wrong, bugged device drivers;
- unsupported USB devices.
As stated before this case isn't covered in this how-to. This because the verifications/operations to be made to get the USB keyboard working are so many and depending from e.g. the window manager used, to justify separate how-to documents.
Started 19-06-2008 and supervised by Andreas Troschka |
-##