Re: USB-keyboard not recognized when not connected during startup

From: Eric Sandall
Date: Tue Nov 11 2003 - 22:01:53 EST


Quoting Otto Wyss <otto.wyss@xxxxxxxxxx>:
> 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

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

-sandalle

--
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
eric@xxxxxxxxxx | 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/