From: Alastair M. <mck...@de...> - 2002-12-06 19:19:32
|
Hello, I am trying to detect, under Linux (2.4 or 2.5) if a keyboard is _present_ (attached to a PS/2 or other connector). (Similarly, same ges for any non-PC architecture. I know about USB, but PPC? Sparc? Acorn/Amiga/Atari?) This is the nearest thing I find to a console-experts list, so does anyone know how to do it ? (The point being, if I'm at, eg. a PC, and there is are USB & PS2 connectors, and I can detect a keyboard on USB, is that the only keyboard attached ?) - Alastair --=20 Alastair McKinstry <mck...@de...> GPG Key fingerprint =3D 9E64 E714 8E08 81F9 F3DC 1020 FA8E 3790 9051 38F4 He that would make his own liberty secure must guard even his enemy from oppression; for if he violates this duty he establishes a precedent that will reach to himself. - --Thomas Paine |