On Fri, Feb 27, 2009 at 08:35:03PM -0800, Alessio Sangalli wrote: > Hi, what is the easiest way to get somewhat notified when a device is > added or removed from the system? I know /proc/bus/input/devices reports > the devices list, can I make use of that? I am in an embedded > environment where I prefer not having to bringup all the hotplug + udev > infrastructure. > You should be able to poll (select) /proc/bus/input/devices. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html