From: Brad H. <bh...@bi...> - 2002-09-12 07:32:42
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The proc interface for the input subsystem current provides entries like this in /proc/bus/input/devices: I: Bus=0003 Vendor=046d Product=c002 Version=0120 N: Name="Logitech USB-PS/2 Mouse M-BA47" P: Phys=usb-00:01.2-2.2/input0 D: Drivers=mouse0 event2 B: EV=7 B: KEY=f0000 0 0 0 0 0 0 0 0 B: REL=103 I think that the D: line is wrong. Those aren't really drivers, they are the handlers. Driver is a concept associated with the input_register_device() call (so it'd be more like hid or atkbd or whatever). I guess knowing the drivers might be useful eventually, although you can normally deduce it from a combination of the P: and N: lines. The attached patch does the trivial relabelling. Please apply to your tree and send to Linus if OK. BTW: I thought about doing a Handler/Handlers test based on the number of handlers, but that might make parsing the /proc entries harder. So not this time. Brad - -- http://conf.linux.org.au. 22-25Jan2003. Perth, Australia. Birds in Black. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9gEG7W6pHgIdAuOMRAprOAKC5Ce0Xf8eWel9LUCIAAP7oTKDoKwCdFvyC Bj8mHFI1IViAOrIW7Nx3Fqg= =AzYI -----END PGP SIGNATURE----- |