From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Fri, 19 Oct 2007 04:20:03 +0000 Subject: Re: Unable to run a user program on usb device connection Message-Id: <741303.76717.qm@web51604.mail.re2.yahoo.com> List-Id: References: <527409.71590.qm@web51603.mail.re2.yahoo.com> In-Reply-To: <527409.71590.qm@web51603.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi All, Finally I was able to find the fix. Wanted to post the solution also to the group so that some one facing the same problem can be helped. The mistake was in my script file. I was told that the first line in a script file should always be #!/sbin/sh which was not the case with mine. Once I added this line things started working for me. Warm Regards, Shankar --- Greg KH wrote: > On Tue, Oct 09, 2007 at 10:38:52PM -0700, > shankoo77@yahoo.com wrote: > > Hi Nazim, > > Thank you for the suggestion. Yes I'm using > > montavista kernel, so tried whatever you suggested > but > > I really suggest asking montavista, as they are the > ones who support > their "odd" hotplug-like setup, not anyone in the > community. > > Ah the joys of doing things different from the rest > of the Linux > world... > > good luck, > > greg k-h > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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