From: Brad H. <bh...@bi...> - 2002-12-07 04:21:35
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 7 Dec 2002 06:20, Alastair McKinstry wrote: > 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?) Easy on 2.5, you could just parse the /proc/bus/input/devices list. Or do an EVIOCGBIT to test for a partcular event interface. What are you actually trying to accomplish? Brad - -- http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE98XSfW6pHgIdAuOMRAqiMAJ4qw+Cn1FxmUfZWhEdLbszVHhicUQCcDMRy uB37rMfI4+4XCp/iRLRFEhE= =AuHg -----END PGP SIGNATURE----- |