* Finding keyboards and mice and other devices
@ 2009-01-21 14:53 Yan Seiner
0 siblings, 0 replies; only message in thread
From: Yan Seiner @ 2009-01-21 14:53 UTC (permalink / raw)
To: linux-hotplug
This is probably not a udev questin, but I hope someone can direct to a
better place....
I am trying to scan the system to find all of the mice, keyboards, dvd
drives, etc connected via usb.
I need to enumerate all of the devices connected to any USB hub by
type. I can find devices in /sys but I don't know what they are....
Ideally I need a script that will tell me
2-4:1.0 keyboard
2-4:2.0 mouse
2-4:3.0 dvd player
Is there any way I can pull this from sysfs? Or set it up via udev?
Thanks,
--Yan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-21 14:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 14:53 Finding keyboards and mice and other devices Yan Seiner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.