From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Fri, 21 Apr 2006 22:24:21 +0000 Subject: Re: serial_cs, setserial and UDEV Message-Id: <20060421222421.GA3354@wonderland.linux.it> 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 Apr 22, Jens Glaser wrote: > The problem seems to be that UDEV creates the device /dev/ttyS1 only AFTER > the whole modprobe command has finished. How can I execute the > setserial command after after device creation? You should use a RUN rule instead: KERNEL="ttyS1", \ RUN+="/bin/sh -c 'setserial /dev/ttyS1 low_latency 2>&1 |logger -p user.info'" -- ciao, Marco ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&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