From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jon Smirl Date: Fri, 25 Feb 2005 16:18:33 +0000 Subject: event sequencing Message-Id: <9e473391050225081838f673c7@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I working on adding hotplug monitor change detection code to some framebuffer drivers. I having trouble with event sequencing. In my probe function I do a class_simple_device_add() to create the class entry. Later in the probe function I do kobject_hotplug(&info->class_device->kobj, KOBJ_MOUNT); to indicate a monitor change. I'm receiving the MOUNT event before the ADD one. How can I control the order? Even in cases where MOUNT comes after ADD udev has not built my device nodes yet. My MOUNT app needs to use the device node. This is my bigger problem. I'm using RH FC3 but this needs to work on all distributions when finished. -- Jon Smirl jonsmirl@gmail.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel