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 08-26-2017, 01:48 PM   #1
notadoc
Member
 
Registered: Jan 2015
Posts: 113

Rep: Reputation: Disabled
When during boot does a USB keyboard become available?


I have a PS/2 keyboard that is showing symptoms of cable failure. From time to time I need to access my BIOS with an F2 press very early in the boot process. Almost all wired keyboards I see (Amazon) are now USB. Will I lose access to the BIOS if the keyboard is active only when the USB drivers are started?
 
Old 08-26-2017, 02:05 PM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by notadoc View Post
I have a PS/2 keyboard that is showing symptoms of cable failure. From time to time I need to access my BIOS with an F2 press very early in the boot process. Almost all wired keyboards I see (Amazon) are now USB. Will I lose access to the BIOS if the keyboard is active only when the USB drivers are started?
My BIOS allows USB keyboard access to change BIOS settings, after that the OS takes over and loads the necessary drivers for it. My BIOS is dated 2011.
 
1 members found this post helpful.
Old 08-26-2017, 06:40 PM   #3
af7567
Member
 
Registered: Nov 2012
Posts: 295

Rep: Reputation: 106Reputation: 106
Any relatively modern BIOS should work with a USB keyboard, as long as the USB keyboard support isn't disabled in BIOS somehow. You could have problems with some USB keyboards though if you use grub. I had to replace my PS2 keyboard with a USB one and the BIOS works fine with it, Linux works fine with it, but grub just refuses to work with it even after trying all the legacy keyboard settings in the BIOS and all the grub settings I could find on google.

This doesn't really cause much of a problem for me though since I just need to wait for the grub countdown until it boots the default OS
 
Old 08-26-2017, 08:11 PM   #4
André7785
LQ Newbie
 
Registered: Mar 2009
Distribution: Open SuSE 13.2, Leap 42.1
Posts: 19

Rep: Reputation: 0
Arrow @notadoc: Check it out with a borrowed USB keyboard.

And also look onto BIOS settings might be helpful. Even if they don't provide boot options from USB-HDs or -DVDs, there are sometimes items like "Enable USB legacy support", indicating BIOS adressing of USB bus. I checked boot menu access with such a PC by inserting an USB RF stick for a wireless keyboard successfully.

One only might encounter inaccessibility during chainloading some non-UNIX-OSes until switchover to their own USB-drivers is done.
 
Old 08-26-2017, 08:25 PM   #5
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,133

Rep: Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299Reputation: 7299
I've never had a problem with a keyboard, USB or otherwise, being able to access the BIOS.
 
1 members found this post helpful.
Old 08-27-2017, 03:03 AM   #6
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
I had a board once that set usb-legacy "off" by default, and when the battery ended it cleared CMOS so I had to plug a PS2 keyboard to access it again.
 
Old 08-27-2017, 04:01 AM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
There's technically 3 stages where the usb keyboard will become available. When the bios / uefi does its thing. When the bootloader does its thing. And when the linux kernel gets around to the usb-hid part plus turning on usb. You can disable usb in the bios / uefi. And you can not include the usb modules in the kernel, so it's not foolproof. Plus the bootloader has to load the usb module (usb.mod), which it does by default most of the time.

GRUB> insmod usb

Not really needed these days, more of a thing when you had to choose between UHCI and OHCI as the usb type. It just kind of works out of the box these days. Although you might need to load part_gpt if dealing with newer drives. Mostly handled by default with update-grub.
 
1 members found this post helpful.
Old 08-27-2017, 04:16 AM   #8
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Mine works as soon as I switch on. As per what Shadow 7 says.

Quote:
Originally Posted by Shadow_7 View Post
There's technically 3 stages where the usb keyboard will become available. When the bios / uefi does its thing. When the bootloader does its thing.
 
Old 08-29-2017, 12:23 PM   #9
notadoc
Member
 
Registered: Jan 2015
Posts: 113

Original Poster
Rep: Reputation: Disabled
Thanks everyone! Turns out my BIOS has a setting to use USB at boot. I think I'm gonna be OK.
 
Old 08-29-2017, 04:41 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,001

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
You should be OK with most modern wireless usb keyboards also. I use a logitech K400. So far on many machines it hasn't failed.
 
  


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
USB mouse/keyboard not recognised after boot Countess_Isolde Linux - Newbie 1 07-16-2015 05:20 AM
Slackware64 14.1 on UEFI - no USB keyboard during boot flokofcgulls Slackware 8 03-11-2014 07:49 AM
[SOLVED] USB keyboard not recognized at boot alexjohnson Slackware 8 10-14-2011 07:09 PM
USB keyboard boot problems on Fedora 14 hscast Fedora 1 12-04-2010 09:59 AM
[SOLVED] CAN'T BOOT ANY LINUX so far because of my USB keyboard jnmrule2010 Linux - Newbie 7 04-27-2010 01:23 AM

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

All times are GMT -5. The time now is 08:57 PM.

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