From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 17 Feb 2006 03:40:13 +0000 Subject: Re: ENV{MODALIAS}=="?*"->ONLY modprobe????,how to trap kernel events during boot Message-Id: <20060217034013.GA9749@kroah.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Feb 16, 2006 at 08:29:58AM -0500, janusz borowski wrote: > Hi, > I have changed the original line (in z55_hotplug.rules): > ENV{MODALIAS}="?*", RUN+="/sbin/modprobe $env{MODALIAS}" > to "my line": > ENV{MODALIAS}="?*", RUN+="/usr/local/lib/udev/t52.sh" > and the t52.sh is: > #!/bin/sh > echo "********t2********">>/usr/local/lib/udev/wyn52 > set>>/usr/local/lib/udev/wyn52 > echo "********end t2********">>/usr/local/lib/udev/wyn52 > However, > 1)after booting with "my line" the wyn52 is empty (and of course > modules are not loaded) > 2)after booting with "original line" modules are loaded (so the rule > ENV{MODALIAS}="?*" "detects" events) > 3)when the boot process is ended "my rule" works ok (eg.: I have > information in wyn52 after plugging a usb-modem). > My question is: > WHY MY "DIAGNOSTIC TOOL" DOES NOT WORK DURING BOOT? Is /usr/local/lib/udev mounted at this time? thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ 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