Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT]: "Reset" of USB when switching to console and back to X?
Date: Wed, 17 Aug 2011 19:06:34
Message-Id: CAEH5T2MZ7sv3WyX=0drDBH_FOXgpJzwx8A9XZU5xgBwty_OT=A@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT]: "Reset" of USB when switching to console and back to X? by meino.cramer@gmx.de
1 On Wed, Aug 17, 2011 at 1:42 PM, <meino.cramer@×××.de> wrote:
2 > Paul Hartman <paul.hartman+gentoo@×××××.com> [11-08-17 18:02]:
3 >> On Tue, Aug 16, 2011 at 10:01 PM,  <meino.cramer@×××.de> wrote:
4 >> > Hi,
5 >> >
6 >> > I have attached an old keyboard (PS/2-connector) via an
7 >> > USB-PS/2-adaptor to my PC.
8 >> >
9 >> > When typing too fast (...) the three LEDs of the keyboard flashes
10 >> > and everything typed then is typed as if the CTRL-Key constantly
11 >> > locked (I am using the X-window-system with openbox as windowmanager.
12 >> > There is no session management.)
13 >> >
14 >> > It is possible to revert back to normal when I switch
15 >> > from X-windows to the Linux console (CTRL-ALT-F1) and back
16 >> > to X (CTRL-ALT-F7).
17 >> >
18 >> > My question is:
19 >> > What part (PC? Adapator? Keyboard?) gets out of sync here is
20 >> > "resetted" (somehow), while switching between console and
21 >> > X-windows?
22 >> >
23 >> > How can I reset the behaviour without switching? How can I
24 >> > prevent the behaviour completly?
25 >>
26 >> FWIW I have experienced that same behavior with several PS/2 to USB
27 >> adapters, in Windows, in Linux, etc. I think it's a common problem
28 >> with those adapters in general. I've never used one that didn't "go
29 >> crazy" a few times a day.
30 >>
31 > Hi Paul,
32 >
33 > after some recursive investigations :) via internet I found some
34 > interesting things:
35 > 1) Yes, your are completly right: It is the USB-PS2-adapter, which
36 > goes crazy.
37 > 2) No, you are wrong, the reason is different.
38 > ;) :)
39 > 3) The answer is 41.999998 (calculated by a P90). ;)
40 >
41 > The reason for stuck CTRL/SHIFT keys is a missing pull-up
42 > resistor from the clock and the data line to the +5V line
43 > of the PS2 connection. Or in other words: Adding these resistors
44 > seem to fix the problem in most cases.
45 > See the link below (which describes the process for a IBM Model M keyboard. Seems true
46 > for other old PS2 keyboards as mine, too):
47 > http://ps-2.kev009.com:8081/ohlandl/keyboard/modify_keyboard/Model_M_Modifications.html
48 >
49 > The PS2 goes crazy because the high level gets too low without the
50 > additonal pull up resistors. But the "origin of the reason" is not
51 > the adapter, but the low high levels of the old PS2 line as such.
52 >
53 > I did find these information that late (after posting to this list)
54 > by searching for informations about certain different usb-PS/2-adapter.
55 > Sorry, when answering the other half of my own question.... :)
56
57 Very interesting info, it's good to know the real reason why it always
58 seems like a "universal" problem with those adapters.
59
60 In the end, to solve my own problem, I bought two Unicomp keyboards
61 which are the same as the old heavy IBM keyboards but with USB
62 built-in. ;)

Replies