Find all attached keyboars and mice

Ahmad Syukri bin Abdollah syockit at gmail.com
Fri Jan 23 19:10:41 PST 2009


On Sat, Jan 24, 2009 at 10:31 AM, Yan Seiner <yan at seiner.com> wrote:
> How do I go about finding all keyboards and mice that are attached to a
> system?
>

How about this:
hal-find-by-capability --capability input

It lists all udi for devices found by the daemon, provided they're in
hal's known device list. Then you can use
hal-device [udi]
for the properties.


More information about the hal mailing list