Skip to contentSkip to conversation

USB-keyboard not recognized when not connected during startup

DISCUSSION Otto Wyss 3 participants 5 messages Nov 10, 2003 – Nov 15, 2003

lore
Share & tools
lore

Otto Wyss

author
#0 lore raw

Please CC, I'm not subscribed.

I use an USB-keyboard via an USB-switchbox on 2 computers (PC and Mac). When I boot into Windows or MacOS9 it doesn't matter whether my USB is connected, the keyboard gets recognized when the connection happens. Not so on Linux (PC), there the keyboard gets only recognized if it's connected during startup. If I forget to switch the keyboard to the PC before I start Linux, it isn't recognized and unusable. This is mostly annoying because I can't get rid of my AT-keyboard and just use the USB-keyboard, a none working keyboard is identical to a system crash! When the USB-keyboard is connected during startup everything is okay.

I've seen this behavior with my Debian (sarge) system running my own built kernel 2.4.21 with USB input and keyboard drivers compiled in. I also see this problem when running Knoppix live CD, therefore it's common to any Debian based system, probably to any Linux system.

Is this problem, not recognizing an USB-keyboard when not connected during startup, know and is there a solution for it? Is there a solution in the upcoming 2.6 kernel?

If anyone wants to test this and has a desktop system with USB, just disconnect your normal keyboard, start the system and connect an USB-keyboard after the login prompt is shown. You could use the keyboard of a Mac if you don't have any. Also your kernel has to have USB-input/USB-HID and USB-keyboard support compiled in.

O. Wyss

Signature · 1 line
See "http://wxguide.sourceforge.net/" for ideas how to design your app
#1 lore raw

Quoting Otto Wyss <[email protected]>:

Quoted 21 lines

Please CC, I'm not subscribed.

I use an USB-keyboard via an USB-switchbox on 2 computers (PC and Mac). When I boot into Windows or MacOS9 it doesn't matter whether my USB is connected, the keyboard gets recognized when the connection happens. Not so on Linux (PC), there the keyboard gets only recognized if it's connected during startup. If I forget to switch the keyboard to the PC before I start Linux, it isn't recognized and unusable. This is mostly annoying because I can't get rid of my AT-keyboard and just use the USB-keyboard, a none working keyboard is identical to a system crash! When the USB-keyboard is connected during startup everything is okay.

I've seen this behavior with my Debian (sarge) system running my own built kernel 2.4.21 with USB input and keyboard drivers compiled in. I also see this problem when running Knoppix live CD, therefore it's common to any Debian based system, probably to any Linux system.

Is this problem, not recognizing an USB-keyboard when not connected during startup, know and is there a solution for it? Is there a solution in the upcoming 2.6 kernel?

Quoted 7 lines

If anyone wants to test this and has a desktop system with USB, just disconnect your normal keyboard, start the system and connect an USB-keyboard after the login prompt is shown. You could use the keyboard of a Mac if you don't have any. Also your kernel has to have USB-input/USB-HID and USB-keyboard support compiled in.

O. Wyss

Have you tried installing hotplug? That should automatically load the modules/devices needed when you plug it in after boot.

-sandalle

Signature · 17 lines
PGP Key Fingerprint:  FCFF 26A1 BE21 08F4 BB91  FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall                     |  Source Mage GNU/Linux Developer
[email protected]                  |  http://www.sourcemage.org/
http://eric.sandall.us/          |  SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/  #196285  |  http://www.shock.wsu.edu/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
author
#2 lore raw
Quoted 8 lines · Eric Sandall

Quoting Otto Wyss <[email protected]>:

Quoted 2 lines

Please CC, I'm not subscribed.

Have you tried installing hotplug? That should automatically load the modules/devices needed when you plug it in after boot.

Of course I use hotplue and so probably does Knoppix. I'll try Morphix but I'm quiet sure it also shows this problem. This is a worse USB bug in kernel 2.4.21 and I'm not sure if it's fixed in one of the later ones.

O. Wyss

Signature · 1 line
See "http://wxguide.sourceforge.net/" for ideas how to design your app
#3 lore raw
In reply to Otto Wyss
Quoted 11 lines · Otto Wyss

Please CC, I'm not subscribed.

I use an USB-keyboard via an USB-switchbox on 2 computers (PC and Mac). When I boot into Windows or MacOS9 it doesn't matter whether my USB is connected, the keyboard gets recognized when the connection happens. Not so on Linux (PC), there the keyboard gets only recognized if it's connected during startup. If I forget to switch the keyboard to the PC before I start Linux, it isn't recognized and unusable. This is mostly annoying because I can't get rid of my AT-keyboard and just use the USB-keyboard, a none working keyboard is identical to a system crash! When the USB-keyboard is connected during startup everything is okay.

Do you have something like "USB Legacy support" enabled in your BIOS? Or it might be called something else. Try disabling that.

Good luck,

greg k-h

author
#4 lore raw
Quoted 5 lines · Greg KH

Please CC, I'm not subscribed.

Quoted 1 line

Do you have something like "USB Legacy support" enabled in your BIOS? Or it might be called something else. Try disabling that.

No, there is no "USB Legacy support".

O. Wyss

Signature · 1 line
See "http://wxguide.sourceforge.net/" for ideas how to design your app